Meta Muse Ember (meta/muse-ember ) API Pricing, Context Window, OpenRouter Setup
Meta Muse Ember (meta/muse-ember) costs $0.10/1M input and $0.50/1M output tokens as of 2026-11-11, with a 1M context window and 512K max output.
Summary
- Meta Muse Ember (meta/muse-ember on OpenRouter, muse-ember-1.0 on Meta Model API) costs $0.10/1M input and $0.50/1M output tokens as of 2026-11-11.
- Crossing 200,000 input tokens triples the rate across the entire request ($0.30/1M input, $1.50/1M output as of 2026-11-11), unlike Muse Spark 1.3.
- The model offers a 1,048,576-token context window, a 512,000-token maximum output limit, and native multimodal inputs (text, image, audio, video, PDF).
- Prevent 400 and 429 errors by keeping max_tokens above 2,000 for shared reasoning budgets and disabling EU-only routing on OpenRouter.
Meta released Muse Ember on November 9, 2026 as the smallest, lowest-cost proprietary model in the Muse family. If you are calling it through OpenRouter's meta/muse-ember endpoint or directly on the Meta Model API as muse-ember-1.0, the base rate is $0.10 per 1M input tokens, $0.50 per 1M output tokens, and $0.004 per 1M cached input tokens.
Despite sitting in the same $0.10/$0.50 price bracket as Claude Haiku 5.5 and GPT-6 Luna, Muse Ember ships with an unusually large 512,000-token maximum output limit inside a 1,048,576-token (1M) context window, plus native audio, video, image, and PDF ingestion. Below is the complete breakdown of its pricing tiers, how it compares to Muse Spark Open, working Python and TypeScript setup code, and how I prevent the 400 and 429 errors that show up in high-concurrency agent loops.
On this page
meta/muse-ember Specifications and Pricing Breakdown
Prices in this section are as of 2026-11-11.
On OpenRouter, meta/muse-ember is hosted directly by Meta with zero platform markup, delivering a median throughput of 255 tokens per second and a round-trip latency of roughly 2.02 seconds. It supports standard OpenAI function calling (tools and tool_choice), structured JSON outputs via response_format, and extended reasoning (reasoning effort controls).
| Specification / Billing Metric | OpenRouter (meta/muse-ember) |
Meta Model API (muse-ember-1.0) |
|---|---|---|
| Release Date | November 9, 2026 | November 9, 2026 |
| Model Weights | Proprietary (Hosted API only) | Proprietary (Hosted API only) |
| Context Window | 1,048,576 tokens (~1M) | 1,048,576 tokens (~1M) |
| Max Output Tokens | 512,000 tokens | 512,000 tokens |
| Input Modalities | Text, Image, Video, Audio (WAV), PDF | Text, Image, Video, Audio (WAV), PDF |
| Output Modality | Text (with reasoning tokens) | Text (with reasoning tokens) |
| Input Price (<= 200K context) | $0.10 / 1M tokens | $0.10 / 1M tokens |
| Input Price (> 200K context) | $0.30 / 1M tokens (full request) | $0.30 / 1M tokens (full request) |
| Output Price (<= 200K context) | $0.50 / 1M tokens | $0.50 / 1M tokens |
| Output Price (> 200K context) | $1.50 / 1M tokens (full request) | $1.50 / 1M tokens (full request) |
| Prompt Cache Read | $0.004 / 1M ($0.012 over 200K) | $0.004 / 1M ($0.012 over 200K) |
| Prompt Cache Write | $0.125 / 1M tokens | $0.125 / 1M tokens |
| Web Search Add-on | $2.50 / 1,000 searches | N/A |
While the headline $0.10/$0.50 rate looks identical to other lightweight models in our recent LLM models and API changes, three billing mechanics change what you actually pay at the end of the month.
1. The 200,000-Token Full-Request Price Cliff
According to Meta's official pricing and rate limits documentation, the $0.10 input and $0.50 output rates only apply when your total input is 200,000 tokens or fewer. The moment a single request crosses 200,000 input tokens, the price triples to $0.30 per 1M input tokens, $0.012 per 1M cached input tokens, and $1.50 per 1M output tokens.
The critical detail is that this 3x multiplier applies to the entire request, not just the tokens above 200,000. Furthermore, cached tokens and prior conversation turns linked via previous_response_id count toward that 200,000-token threshold. Sending a 210,000-token prompt costs $0.063 in input alone, whereas a 195,000-token prompt costs $0.0195. (Meta does not bill you for its own internal system-injected scaffolding tokens, nor do they count against your quota.)
When comparing long-context tiers across providers, Muse Ember hits its price cliff later than Claude Haiku 5.5 (which jumps 5x at 100,000 tokens) but earlier than GPT-6 Luna (which jumps at 272,000 tokens). That makes Ember 5x cheaper than Haiku 5.5 for prompts between 100K and 200K tokens, while Luna becomes cheaper if your uncached prompts routinely sit between 200K and 270K tokens.
2. Why Cache Reads Cut Agent Task Costs by Two-Thirds
In multi-step agent loops where the system prompt, tool definitions, and repository context stay fixed across dozens of turns, input cache reads dominate the bill. Muse Ember charges $0.004 per 1M tokens for cache reads—60% less than the $0.01 per 1M rate on both Claude Haiku 5.5 and GPT-6 Luna.
On OpenRouter, where production traffic on meta/muse-ember averages a 79.7% cache hit rate, the weighted effective input cost drops from $0.10 to $0.0235 per 1M tokens (if you are unfamiliar with how OpenRouter passes through upstream cache discounts, see our guide on how much OpenRouter costs compared to direct APIs). Combined with tighter output token generation, an end-to-end evaluation task on the Artificial Analysis Intelligence Index (where both Muse Ember max and Claude Haiku 5.5 max score 36) costs $0.14 on Muse Ember versus $0.41 on Haiku 5.5. Dialing Ember's reasoning effort down from max to xhigh drops the score slightly to 34 while lowering average task cost to $0.12.
3. No Contributor Mode Discount on API
If you have used Muse Spark 1.3 on the Meta Model API, you may know about Contributor mode, which lets you opt into sharing API prompts and completions for Meta's model training in exchange for a discounted $0.10 input / $0.20 output rate. Muse Ember does not support Contributor mode on the API. Every API request runs in Standard mode. Ironically, if you do not mind Meta training on your payload and your workload is output-heavy, Muse Spark 1.3 in Contributor mode ($0.20/1M output) is actually cheaper on completion tokens than Muse Ember ($0.50/1M output).
Muse Ember vs. Muse Spark Open and Muse Spark 1.3
Prices in this section are as of 2026-11-11.
Developers migrating from earlier Meta releases often confuse the open-weight meta/muse-spark-open model (which we covered in our Muse Spark Open API error troubleshooting guide) with the proprietary Muse Ember and Muse Spark 1.3 endpoints. Meta built the Muse lineup around a strict division of labor: Muse Wonder handles frontier planning, Muse Spark handles heavy multi-file coding, Muse Spark Open (and Glimmer) provide self-hostable open weights, and Muse Ember executes high-volume agent subtasks.
| Feature / Metric | Muse Ember (meta/muse-ember) |
Muse Spark Open (meta/muse-spark-open) |
Muse Spark 1.3 (muse-spark-1.3) |
|---|---|---|---|
| Weights & Hosting | Proprietary (Meta API / OpenRouter) | Open-weight (Self-host vLLM/SGLang or API) | Proprietary (Meta API / Cloud) |
| Primary Role | High-throughput tool routing, extraction, test runs | Self-hosted codebase analysis & first-pass coding | Complex multi-agent engineering & refactoring |
| Standard Input / Output | $0.10 / $0.50 per 1M (<=200K) | $1.25 / $4.25 per 1M | $1.25 / $4.25 per 1M ($0.10/$0.20 Contributor) |
| Long-Context Surcharge | 3x across entire request above 200K input | Flat rate across full 1M window | Flat rate across full 1M window |
| Max Output Limit | 512,000 tokens | 128,000 tokens | 128,000 tokens |
| Supported Modalities | Text, Image, Audio, Video, PDF | Text and Code only | Multimodal |
| Intelligence Index Score | 36 (max effort) / 34 (xhigh) |
~32 | 37 |
| Cost per Index Task | $0.14 | N/A | $2.39 (~17x Ember) |
Speed, Multimodal Input, and Where Ember Falls Short
Moving a pipeline from Muse Spark Open or Spark 1.3 to Muse Ember changes three operational characteristics immediately.
First, native multimodal ingestion eliminates preprocessing pipelines. Muse Spark Open only accepts text. With meta/muse-ember, I can pass raw WAV audio recordings from meetings, UI screenshots, video clips, and scanned PDFs directly into the chat completions payload without running a separate transcription or OCR model first. On vision and desktop automation benchmarks, Ember scores 80.6% on PerceptionBench (with tools) and 69.5% partial / 33.8% binary completion on OSWorld 2.1, outperforming both Haiku 5.5 (68.9% / 27.8%) and GPT-6 Luna (50.5% / 17.0%).
Second, 512K max output prevents truncation on bulk transformations. Standard small models cap output at 128K tokens (or 16K–64K on older endpoints). When I use an agent to convert a large legacy file, emit a full database migration script, or extract structured JSON records from a 150-page PDF in one pass, Ember's 512,000-token output ceiling prevents mid-stream cutoff.
Third, Ember excels at repeatable agent execution steps but trails on complex mergeable refactors. Looking at the benchmark split explains how to route traffic:
- Automation & Harness Execution: Ember leads its price tier on AutomationBench-AA (37.8% vs Haiku 5.5 at 13.9% and Luna at 20.2%), Terminal-Bench 4.0 (40.9% vs Haiku 5.5 at 39.2%), and the Coding Agent Index (46 vs Haiku 5.5 at 37). End-to-end latency in agent harnesses runs 2.1x to 2.7x faster than Haiku 5.5.
- Complex Code Merging & Factual Recall: On FrontierCode 2.0—which grades whether a model's patch can cleanly merge into a real open-source repo—Ember drops to 27.2%, behind Claude Haiku 5.5 at 34.9%. Similarly, on factual knowledge recall without search (AA-Omniscience), Ember scores 21.1% because it abstains on 64% of uncertain questions, which cuts its hallucination rate to 17.4% (half of Haiku 5.5).
In practice, do not ask meta/muse-ember to architect a multi-file refactor from scratch or answer open-domain trivia without RAG. Use it to classify tickets, locate relevant files across a repo, run terminal tests, parse logs, and extract structured fields from documents—tasks where paying $2.39 per run on Spark 1.3 wastes budget.
How to Call meta/muse-ember with the OpenAI SDK
Because both OpenRouter and the direct Meta Model API expose OpenAI-compatible endpoints, you can call meta/muse-ember using the standard openai Python or TypeScript SDKs by changing base_url and api_key. (If you need help managing environment variables across multiple providers, see our guide on changing base_url and api_key in the OpenAI Python SDK.)
Python Example (with Reasoning Effort and Tool Calling)
When calling Muse Ember with reasoning enabled, internal thinking tokens and visible output tokens share the same max_tokens budget. Always set max_tokens to at least 2048 (or 4096 for tool-heavy tasks) so the model does not exhaust its budget before emitting the final answer or tool call.
import os
from openai import OpenAI
# Use https://openrouter.ai/api/v1 with model "meta/muse-ember"
# Or use https://api.meta.ai/v1 with model "muse-ember-1.0" for Meta Direct
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key=os.environ.get("OPENROUTER_API_KEY"),
)
tools = [
{
"type": "function",
"function": {
"name": "run_pytest_suite",
"description": "Execute pytest on a specific test file and return failure logs.",
"parameters": {
"type": "object",
"properties": {
"test_path": {
"type": "string",
"description": "Relative path to the test file, e.g. tests/test_auth.py",
}
},
"required": ["test_path"],
"additionalProperties": False,
},
},
}
]
response = client.chat.completions.create(
model="meta/muse-ember",
messages=[
{
"role": "system",
"content": "You are an automated CI triage agent. Inspect the diff and run the relevant test suite.",
},
{
"role": "user",
"content": "Modified files: src/auth/token.py. Trigger the matching unit test.",
},
],
tools=tools,
tool_choice="auto",
max_tokens=4096,
temperature=0.2,
extra_body={
"reasoning": {"effort": "medium"} # Options: "low", "medium", "high", "xhigh", "max"
},
)
message = response.choices[0].message
if message.tool_calls:
for tool_call in message.tool_calls:
print(f"Tool called: {tool_call.function.name}({tool_call.function.arguments})")
else:
print(message.content)
if response.usage:
print(f"Prompt tokens: {response.usage.prompt_tokens}, Completion tokens: {response.usage.completion_tokens}")
TypeScript / Node.js Streaming Example
For real-time sub-agent logs or structured extraction in Node.js, enable streaming and pass your OpenRouter attribution headers:
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://openrouter.ai/api/v1",
apiKey: process.env.OPENROUTER_API_KEY,
defaultHeaders: {
"HTTP-Referer": "https://llmapiguide.com",
"X-Title": "LLM API Guide",
},
});
async function streamSubtask() {
const stream = await client.chat.completions.create({
model: "meta/muse-ember",
messages: [
{
role: "user",
content: "Extract all HTTP status codes and error strings from this log into a JSON array.",
},
],
max_tokens: 4096,
stream: true,
// @ts-expect-error OpenRouter extra body parameter for reasoning
reasoning: { effort: "medium" },
});
for await (const chunk of stream) {
const delta = chunk.choices[0]?.delta?.content;
if (delta) {
process.stdout.write(delta);
}
}
}
streamSubtask().catch(console.error);
Preventing Common HTTP 400 and 429 Errors on Muse Ember
Because meta/muse-ember is primarily deployed inside parallel agent loops, small configuration mistakes surface quickly as 400 Bad Request or 429 Too Many Requests failures. Here are the four failure modes I run into and how to prevent them.
1. HTTP 400 / Empty Responses from Tight max_tokens Budgets
Muse Ember generates detailed chain-of-thought reasoning steps (averaging 115M output tokens across the full Artificial Analysis benchmark suite, compared to a 90M median for peer models). Because those internal reasoning tokens consume your max_tokens allocation before a single character of visible text or JSON is emitted, setting max_tokens: 256 or max_tokens: 500 frequently results in an empty message.content or a broken JSON schema response that fails downstream validation.
Fix: Keep max_tokens >= 2048 whenever reasoning is enabled, or lower reasoning.effort to "low" for simple classification calls where chain-of-thought is unnecessary.
2. HTTP 400 on Multi-Turn Reasoning History
When maintaining a multi-turn conversation with extended thinking active, the API validates the integrity of prior assistant turns. If your client middleware strips part of the reasoning output, modifies the thinking trace to save tokens, or mismatches tool-call IDs across turns, the upstream endpoint rejects the payload with a 400 Bad Request parameter validation error.
Fix: Either pass back the exact, unmodified reasoning_details block returned by the assistant on prior turns, or omit reasoning blocks entirely from historical messages and pass only the final assistant content and paired tool_calls / tool result messages.
3. HTTP 400 / No Available Provider from EU In-Region Routing
On OpenRouter, meta/muse-ember is served by Meta's primary inference clusters and does not currently support EU in-region routing. If your OpenRouter privacy settings or per-request provider preferences enforce EU data residency (data_collection: "deny" paired with strict EU-only region pinning), OpenRouter cannot match a valid upstream provider and returns a 400/404 routing error.
Fix: Disable EU-only region pinning for meta/muse-ember requests in your OpenRouter routing configuration, or route strict EU-residency workloads to a model hosted on EU endpoints.
4. HTTP 429 from Team-Wide Rate Limits (3,000 RPM / 4M TPM)
On the direct Meta Model API, muse-ember-1.0 allows 3,000 requests per minute (RPM) and 4,000,000 tokens per minute (TPM), plus a separate cap of 600 RPM for asynchronous background requests (background: true).
The trap is that Meta enforces these limits per team, not per API key. Generating separate API keys for ten concurrent CI workers or developer laptops does not multiply your quota; all ten keys draw from the same 4M TPM pool. If one developer launches a batch repo indexing job, other keys in the organization will immediately hit HTTP 429 Too Many Requests.
Fix: Read the rate-limit headers on every response and throttle worker concurrency before the pool hits zero:
- Inspect
x-ratelimit-remaining-tokensandx-ratelimit-remaining-requestsin the HTTP response headers. When remaining tokens drop below 15% ofx-ratelimit-limit-tokens, pause low-priority batch workers. - When a
429occurs, always check theRetry-Afterheader first and sleep for the exact number of seconds specified. - If
Retry-Afteris absent, use exponential backoff with random jitter starting at 500ms (sleep_ms = min(30000, 500 * (2 ** attempt) + random(0, 250))) so parallel sub-agents do not retry at the exact same millisecond and trigger a secondary 429 wave.