Speed
Output tokens / second
Custom pricing for production workloads
Meta's Muse Spark 1.2: multimodal chat model with 1M-token context, vision input, reasoning and tool calling.
Muse Spark 1.2 is a multimodal chat model from Meta for text and image inputs, combining vision, reasoning and tool use for long-context tasks.
meta/muse-spark-1.2https://api.aimlapi.com/v1Muse Spark 1.2 is a multimodal chat model from Meta, accepting text and image input and returning text output. It supports a 1,048,576-token context window, suitable for long documents, codebases and multi-turn conversations that need to retain a large amount of context.
The model supports reasoning, streaming responses, structured outputs, function/tool calling, vision (image understanding), file input and web search, making it suitable for agentic and research-oriented applications.
Muse Spark 1.2 is documented as suited for real coding workflows, including code generation, complex debugging, codebase understanding, and end-to-end developer workflows.
It is also documented as suited for long-running tasks that can run start to finish in one session.
The model is documented for multimodal tasks, including turning visuals into working code and translating perception into physical action.
It is also documented for robust audio-visual understanding, including video-heavy workflows common in real-world enterprise use.
See how Muse Spark 1.2 compares in generation speed and latency. Data retrieved Nov 3, 2026.
Output tokens / second
Compare 6 models available on AI/ML API across 5 independent benchmarks.
Expert-written questions across academic subjects.
Graduate-level science questions written to resist web search.
Agentic tasks completed in a command-line environment.
Reasoning across long documents of about 100k tokens.
Python coding tasks drawn from scientific research.
| Usage | Price | Unit |
|---|---|---|
| Input | $1.32 | 1M tokens |
| Output | $4.5 | 1M tokens |
| Cached input | $0.1587 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $1.32 | $4.5 | |
| $0.3703 | $1.59 | |
| $1.32 | $4.5 | |
| $1.32 | $4.5 | |
| $4.23 | $21.16 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "meta/muse-spark-1.2",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "meta/muse-spark-1.2",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "meta/muse-spark-1.2",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Muse Spark 1.2 has a 1,048,576 tokens context window.
Muse Spark 1.2 takes image, text as input and returns text.
Use meta/muse-spark-1.2 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Muse Spark 1.2 became available on August 5, 2026.
Muse Spark 1.2 costs $1.32 input and $4.5 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, Muse Spark 1.2 can stream responses as they are generated.
Yes, Muse Spark 1.2 accepts image input alongside text.
Muse Spark 1.2 was built by Meta.
Yes, it supports tool calling, including parallel tool calls and function calling.
Yes, web search is listed among its supported features and capabilities.