
meta-models/muse-spark-open
Meta's 816B open-weight MoE model for coding agents, with hybrid attention for high throughput and long context.
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.
| Attribute | Value |
|---|---|
| Parameter Size | 816B-A42B |
| Context Length | 1M |
| Input Modalities | Text, Image, Video, Audio |
| Output Modalities | Text |
| Supported Features | Tool Use Structured Outputs Reasoning |
Input
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))