Skip to content

Meta Muse Spark Open

Muse Spark Open is Meta's open-weight mixture-of-experts (MoE) reasoning model: 816 billion parameters in total, about 42 billion active per token. It is trained for agentic coding: reading a codebase, writing and debugging code, and calling tools in multi-step agent loops. On LLMTR it is called through /v1/chat/completions.

Model Context Input / Cache Read / Output ($/1M)
meta/muse-spark-open 1,048,576 1.25 / 0.15 / 4.25
Terminal window
curl "$LLMTR_BASE_URL/v1/chat/completions" \
-H "Authorization: Bearer llmtr-your_key" \
-H "Content-Type: application/json" \
-d '{
"model": "meta/muse-spark-open",
"messages": [
{ "role": "system", "content": "You are a senior software engineer." },
{ "role": "user", "content": "Find the bug in this function." }
],
"reasoning_effort": "medium",
"max_tokens": 4096
}'
from openai import OpenAI
client = OpenAI(base_url="https://llmtr.com/v1", api_key="llmtr-your_key")
response = client.chat.completions.create(
model="meta/muse-spark-open",
messages=[{"role": "user", "content": "Find the bug in this function."}],
reasoning_effort="medium",
max_tokens=4096,
)
print(response.choices[0].message.content)

The model reasons before every answer, and reasoning cannot be turned off. Set the effort with the reasoning_effort field to one of four levels: low, medium, high, xhigh. Without the field the model reasons at a high effort. Send low or medium for shorter, cheaper replies.

The effort can also be given as a suffix on the model id:

meta/muse-spark-open -> default (high effort)
meta/muse-spark-open:low -> least reasoning
meta/muse-spark-open:medium
meta/muse-spark-open:high
meta/muse-spark-open:xhigh -> most reasoning
  • none, minimal and invalid values are rejected with 400; the error message lists the supported levels. max is applied as the highest level, xhigh.
  • "reasoning": { "enabled": false } and "reasoning": false also return 400. For the least reasoning, send "reasoning_effort": "low".
  • The reasoning trace arrives in choices[].message.reasoning_content, or choices[].delta.reasoning_content when streaming. The include_reasoning field does not hide it.

Reasoning tokens are counted inside completion_tokens and billed at the output price. For the same reason they use up the max_tokens budget: leave room for reasoning even when you expect a short answer. If you get finish_reason: "length" with an empty content, raise max_tokens or pick a lower level.

See the reasoning effort page for the general behaviour.

The model supports tool/function calling and accepts every form of tool_choice: the default (auto), required, none and a named function. Return the tool's result in a role: "tool" message and the model completes its answer.

Terminal window
curl "$LLMTR_BASE_URL/v1/chat/completions" \
-H "Authorization: Bearer llmtr-your_key" \
-H "Content-Type: application/json" \
-d '{
"model": "meta/muse-spark-open",
"messages": [{ "role": "user", "content": "What is the weather in Istanbul?" }],
"tools": [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the current weather for a city",
"parameters": {
"type": "object",
"properties": { "city": { "type": "string" } },
"required": ["city"]
}
}
}
],
"tool_choice": "auto",
"reasoning_effort": "low"
}'

The model accepts image, video and audio input alongside text.

  • Image: an image_url part; a base64 data URL or a remote https URL.
  • Video: a video_url part.
  • Audio: an input_audio part, base64-encoded WAV.

File parts such as PDF (file) are not supported; add the document's text to the request instead.

Terminal window
curl "$LLMTR_BASE_URL/v1/chat/completions" \
-H "Authorization: Bearer llmtr-your_key" \
-H "Content-Type: application/json" \
-d '{
"model": "meta/muse-spark-open",
"messages": [
{
"role": "user",
"content": [
{ "type": "text", "text": "What colour is the garment the person is wearing?" },
{ "type": "image_url", "image_url": { "url": "data:image/png;base64,iVBORw0KGgo..." } }
]
}
],
"reasoning_effort": "low"
}'

Video and audio parts:

[
{ "type": "video_url", "video_url": { "url": "data:video/mp4;base64,AAAAIGZ0eXA..." } },
{ "type": "input_audio", "input_audio": { "data": "UklGRiQAAABXQVZF...", "format": "wav" } }
]

Image, video and audio tokens are counted inside prompt_tokens and billed at the input price.

The model supports both json_object and schema-conforming json_schema output.

Terminal window
curl "$LLMTR_BASE_URL/v1/chat/completions" \
-H "Authorization: Bearer llmtr-your_key" \
-H "Content-Type: application/json" \
-d '{
"model": "meta/muse-spark-open",
"messages": [{ "role": "user", "content": "What is the capital of Turkey and its population?" }],
"response_format": {
"type": "json_schema",
"json_schema": {
"name": "capital",
"strict": true,
"schema": {
"type": "object",
"properties": {
"capital": { "type": "string" },
"population_millions": { "type": "number" }
},
"required": ["capital", "population_millions"],
"additionalProperties": false
}
}
}
}'

When you resend the same prompt prefix, the tokens read from cache are billed at 0.15 $/1M. The number of cached tokens comes back in the prompt_tokens_details.cached_tokens field of the response. The cache is a discount, not a guarantee; putting a long, unchanging system prompt or document at the start of the messages improves the hit rate.

stream: true is supported. If you send stream_options: { "include_usage": true }, usage arrives in the last chunk.

The context window is 1,048,576 tokens, and the prompt and max_tokens both count against it. Requests whose total exceeds the window are rejected; with a large prompt, do not set max_tokens to the whole window.

This model is served through a third-party provider.

Built with Muse Spark Open. The model is released by Meta under the Muse Model License.