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 |
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)Reasoning effort
Section titled “Reasoning effort”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 reasoningmeta/muse-spark-open:mediummeta/muse-spark-open:highmeta/muse-spark-open:xhigh -> most reasoningnone,minimaland invalid values are rejected with400; the error message lists the supported levels.maxis applied as the highest level,xhigh."reasoning": { "enabled": false }and"reasoning": falsealso return400. For the least reasoning, send"reasoning_effort": "low".- The reasoning trace arrives in
choices[].message.reasoning_content, orchoices[].delta.reasoning_contentwhen streaming. Theinclude_reasoningfield 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.
Tool calling
Section titled “Tool calling”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.
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" }'Image, video and audio input
Section titled “Image, video and audio input”The model accepts image, video and audio input alongside text.
- Image: an
image_urlpart; a base64 data URL or a remote https URL. - Video: a
video_urlpart. - Audio: an
input_audiopart, base64-encoded WAV.
File parts such as PDF (file) are not supported; add the document's text to the request instead.
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.
JSON and structured output
Section titled “JSON and structured output”The model supports both json_object and schema-conforming json_schema output.
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 } } } }'Prompt cache
Section titled “Prompt cache”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.
Streaming
Section titled “Streaming”stream: true is supported. If you send stream_options: { "include_usage": true }, usage arrives in the last chunk.
Context window
Section titled “Context window”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.