Please rotate your device

To continue exploring this website, please rotate your device to a vertical orientation

Muse Spark Open

meta-models/muse-spark-open

Meta's 816B open-weight MoE model for coding agents, with hybrid attention for high throughput and long context.

Model APIlarge languageimage processing

Muse Spark Open is a model designed specifically for coding agents. It combines strong code generation and reasoning with reliable tool use, helping agents understand repositories, plan changes, write code, and complete complex software-engineering tasks.

Built to be served efficiently in production, Muse Spark Open supports responsive, high-throughput agentic workflows without sacrificing capability. It gives teams a practical foundation for building fast, reliable coding experiences at scale.

AttributeValue
Parameter Size816B-A42B
Context Length1M
Input ModalitiesText, Image, Video, Audio
Output ModalitiesText
Supported Features Tool Use Structured Outputs Reasoning

Input

python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://inference.baseten.co/v1",
    api_key=os.environ["BASETEN_API_KEY"],
)

response = client.chat.completions.create(
    model="meta-models/muse-spark-open",
    messages=[
        {
            "role": "developer",
            "content": "You are a senior backend engineer reviewing pull requests. For each code snippet the user shares, respond with: 1) a one-line summary of what the code does, 2) any bugs or issues, 3) one concrete improvement suggestion. Be direct. Do not repeat the code back.",
        },
        {
            "role": "user",
            "content": "def div(a, b):\n    return a / b",
        },
    ],
)

print(response.model_dump_json(indent=2))