---
title: "Muse Spark Open"
description: "Open-weights multimodal model from Meta with a 1M-token context window and tool calling. Its blended price is about double the registry median, and benchmark coverage is limited to one index."
canonical: https://pydantic.dev/models/list/muse-spark-open/
---

# Muse Spark Open

> Open-weights multimodal model from Meta with a 1M-token context window and tool calling. Its blended price is about double the registry median, and benchmark coverage is limited to one index.
>
> Markdown copy of https://pydantic.dev/models/list/muse-spark-open/. Index for agents: https://pydantic.dev/models/llms.txt

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `POST https://pydantic.dev/models/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://pydantic.dev/models/select.md
- Search models by name: `GET https://pydantic.dev/models/api/search?query=<text>`
- List, filter and sort models: `GET https://pydantic.dev/models/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://pydantic.dev/models/api/models/<slug>`
- Any other question about the models: `GET https://pydantic.dev/models/api/ask?query=<question>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of all but the single model. An `OPTIONS` request to any endpoint returns its schema. The same five are tools of the MCP server at `https://pydantic.dev/models/mcp`. More: https://pydantic.dev/models/usage.md

Use it with Pydantic AI as `gateway/doubleword:meta/muse-spark-open`.

## Spec sheet

- **Family:** Muse
- **Released:** 15 Oct 2026
- **Weights:** open
- **Context window:** 1,048,000 tokens
- **Largest response:** 943,718 tokens
- **Accepts:** text, image, audio, video, file
- **Tool calling:** yes
- **Knowledge cutoff:** 2026-01
- **Intelligence index:** not enough benchmark results yet
- **Scores updated:** 2026-11-30
- **Price:** $1.25 input, $4.25 output, $2 blended per 1M tokens
- **Index points per $:** – (rank –)
- **Speed:** 162 tokens/sec (rank 13)
- **Popularity:** rank 75 of 194 by usage
- **Pydantic AI Gateway:** built in

## Benchmarks

### Pydantic AI benchmarks

Our own benchmarks, each about 10 tasks run once with tool calling and once in code mode (https://pydantic.dev/models/codemode.md). Not part of the intelligence index. Cost is the mean cost of one task. For the combined score, code mode is compared over the four benchmarks run in both modes.

| Benchmark                                                                                      | Tool calling | Code mode | Change | Cost per task | Cost per task, code mode | Rank     | Runs                                                                  |
| ---------------------------------------------------------------------------------------------- | ------------ | --------- | ------ | ------------- | ------------------------ | -------- | --------------------------------------------------------------------- |
| [Pydantic AI Combined](https://pydantic.dev/models/benchmarks/pydantic_ai.md)                  | 57.7%        | 64.1%     | +20.1  | $0.21         | $0.26                    | 32 of 44 | https://pydantic.dev/models/list/muse-spark-open/pydantic_ai.md       |
| [Pydantic AI - Billing ops](https://pydantic.dev/models/benchmarks/billing_ops.md)             | 70%          | 80%       | +10    | $0.30         | $0.087                   | 21 of 44 | https://pydantic.dev/models/list/muse-spark-open/billing_ops.md       |
| [Pydantic AI - Customer support](https://pydantic.dev/models/benchmarks/customer_support.md)   | 20%          | 30%       | +10    | $0.041        | $0.059                   | 38 of 44 | https://pydantic.dev/models/list/muse-spark-open/customer_support.md  |
| [Pydantic AI - SQL data analysis](https://pydantic.dev/models/benchmarks/sql_data_analysis.md) | 20%          | 70%       | +50    | $0.60         | $0.67                    | 30 of 44 | https://pydantic.dev/models/list/muse-spark-open/sql_data_analysis.md |
| [Pydantic AI - Research & deck](https://pydantic.dev/models/benchmarks/research_deck.md)       | 65.9%        | 76.3%     | +10.4  | $0.27         | $0.24                    | 32 of 44 | https://pydantic.dev/models/list/muse-spark-open/research_deck.md     |
| [Pydantic AI - Structured output](https://pydantic.dev/models/benchmarks/structured_output.md) | 90%          | –         | –      | $0.035        | –                        | 15 of 44 | https://pydantic.dev/models/list/muse-spark-open/structured_output.md |
| [Pydantic AI - LLM Judge](https://pydantic.dev/models/benchmarks/llm_judge.md)                 | 80%          | –         | –      | $0.011        | –                        | 9 of 44  | https://pydantic.dev/models/list/muse-spark-open/llm_judge.md         |
| [Pydantic AI - Cyber Willing](https://pydantic.dev/models/benchmarks/cyber_willing.md)         | 52.8%        | –         | –      | $0.0078       | –                        | 26 of 32 | https://pydantic.dev/models/list/muse-spark-open/cyber_willing.md     |

### Other benchmarks


| Benchmark                | Score | Rank among models tested | What it measures                                                                                 | Source               |
| ------------------------ | ----- | ------------------------ | ------------------------------------------------------------------------------------------------ | -------------------- |
| Epoch Capabilities Index | 155.5 | 42                       | Epoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index | Epoch AI (CC BY 4.0) |

## Providers and prices

US dollars per million tokens.

| Provider   | Gateway  | Pydantic AI string                        | Input | Cached input | Output |
| ---------- | -------- | ----------------------------------------- | ----- | ------------ | ------ |
| Doubleword | built in | `gateway/doubleword:meta/muse-spark-open` | $1.25 | $0.15        | $4.25  |
| Baseten    | BYOK     | –                                         | $1.25 | $0.15        | $4.25  |
| Fireworks  | BYOK     | `fireworks:muse-spark-open`               | $1.25 | $0.15        | $4.25  |
| OpenRouter | BYOK     | `openrouter:meta/muse-spark-open`         | $1.25 | $0.15        | $4.25  |

## Use Muse Spark Open with Pydantic AI

### hello.py

Ask Muse Spark Open a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/doubleword:meta/muse-spark-open', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)
```

### structured_output.py

Get validated, typed output from Muse Spark Open by giving the agent a Pydantic model. Run it with uv run structured_output.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic import BaseModel
from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'


class CityLocation(BaseModel):
    city: str
    country: str


agent = Agent('gateway/doubleword:meta/muse-spark-open', output_type=CityLocation)

result = agent.run_sync('Where were the olympics held in 2012?')
print(result.output)
#> city='London' country='United Kingdom'
```

### tools.py

Give Muse Spark Open two tools to call, one of which reads the agent's dependencies. Run it with uv run tools.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import os
import random

from pydantic_ai import Agent, RunContext

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent(
    'gateway/doubleword:meta/muse-spark-open',
    deps_type=str,
    instructions="You're a dice game, roll the die and see if it matches the user's guess.",
)


@agent.tool_plain
def roll_dice() -> str:
    """Roll a six-sided die and return the result."""
    return str(random.randint(1, 6))


@agent.tool
def get_player_name(ctx: RunContext[str]) -> str:
    """Get the player's name."""
    return ctx.deps


result = agent.run_sync('My guess is 4', deps='Anne')
print(result.output)
```

### streaming.py

Stream Muse Spark Open's reply to the terminal as it is generated. Run it with uv run streaming.py.

```python
# /// script
# dependencies = ["pydantic-ai"]
# ///
import asyncio
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/doubleword:meta/muse-spark-open')


async def main():
    async with agent.run_stream('Explain prompt caching in three bullet points.') as response:
        async for text in response.stream_text(delta=True):
            print(text, end='', flush=True)


asyncio.run(main())
```

### pax.sh

Code with Muse Spark Open in your terminal using Pax, the Pydantic AI coding agent. On macOS, open a new terminal after installing, so pax isn't the system's archiver.

```sh
# uv tool install pydantic-ai-pax
export PYDANTIC_AI_GATEWAY_API_KEY='...'

pax -m 'gateway/doubleword:meta/muse-spark-open'
```

### codex.sh

Run OpenAI's Codex CLI on Muse Spark Open through Pydantic AI Gateway.

```sh
# npm install -g @openai/codex
export PYDANTIC_AI_GATEWAY_API_KEY='...'

codex --model 'meta/muse-spark-open' \
  -c model_provider='gateway' \
  -c model_providers.gateway.name='Pydantic AI Gateway' \
  -c model_providers.gateway.base_url='https://gateway.pydantic.dev/proxy/doubleword/v1' \
  -c model_providers.gateway.env_key='PYDANTIC_AI_GATEWAY_API_KEY'
```

### ai_sdk.ts

Call Muse Spark Open from TypeScript with the Vercel AI SDK, through Pydantic AI Gateway.

```ts
// npm install ai @ai-sdk/openai-compatible
import { createOpenAICompatible } from '@ai-sdk/openai-compatible'
import { generateText } from 'ai'

process.env.PYDANTIC_AI_GATEWAY_API_KEY = '...'

const doubleword = createOpenAICompatible({
  baseURL: 'https://gateway.pydantic.dev/proxy/doubleword',
  apiKey: process.env.PYDANTIC_AI_GATEWAY_API_KEY,
})

const { text } = await generateText({
  model: doubleword('meta/muse-spark-open'),
  system: 'Be concise, reply with one sentence.',
  prompt: 'Where does "hello world" come from?',
})
console.log(text)
```

## About Muse Spark Open

Muse Spark Open costs $1.25 per million input tokens and $4.25 per million output tokens and has a 1M token context window.

Muse Spark Open is Meta's open-weights model, released in October 2026. It has a 1M-token context window, accepts text, image, audio, video and file input, and supports tool calling, structured output and reasoning mode.

Its main drawback is price. At $1.25 per million input tokens and $4.25 per million output tokens, the blended rate of $2 is about double the registry median and ranks 122 of 194. Benchmark evidence is thin: its only result, the Epoch Capabilities Index, puts it at 155.5 against a median of 154.5, 42nd of 98.

It is offered by Doubleword, Baseten, Fireworks and OpenRouter, and is built into the Pydantic AI Gateway. It suits teams that need long, multimodal inputs and open weights, provided the cost is acceptable and the task is tested directly.

**Strengths**

- Open weights, released October 2026 by Meta
- 1M-token context window, largest response about 944k tokens
- Accepts text, image, audio, video and file input
- Supports tool calling, structured output and reasoning mode

**Weaknesses**

- Blended price $2 per million tokens, about double the median
- Price ranks 122 of 194, in the costlier part of the registry
- Only one benchmark result: 42nd of 98, barely above median

**Best for:** Teams wanting an open-weights model with long context and multimodal input, and willing to pay above-median prices.

## How it did on the Pydantic AI benchmarks

Written by an LLM from reviews of every run.

#### Overall
Across five benchmarks this model passed focused, well-scoped tasks reliably but lost points on exhaustive coverage, numerical checking, and getting structured output right on the first attempt. Code mode scored higher than tool calling wherever both were run: Billing ops 80% vs 70%, Research & deck 76% vs 66%, and SQL data analysis 70% vs 20%. A recurring cost is first-response output failure, including literal `<atem:function_calls>` markup or prose sent in place of a real tool call, which consistently needed a repair request.

#### Strengths
- On Billing ops, both modes passed all six focused cases (invoice totals, debt, payments, corrections, margins) for 12/12 runs, including correct payment allocation that accounted for prior allocations.
- On Structured output, it passed all eight tier 2–5 cases, separating consolidated from parent figures and handling £000 conversion, signs, and creditor maturity distinctions.
- On LLM Judge, it extracted concrete facts such as refund deadlines, retry counts, and slide-level evidence, and enforced narrow requirements such as milestones having to be on the final slide.
- On Research & deck, both runs reconciled corrected revenue figures and switched from `pdf_text` to `view_pdf` for a scanned agreement.
- On SQL data analysis, successful runs handled service calendars, interpolation, transfer margins, and midnight and meeting-point journeys.

#### Weaknesses
- On LLM Judge, all 10 initial responses failed JSON validation, and on Structured output, five of nine passing cases needed submission repairs.
- On Billing ops, neither mode passed a general overcharge audit; tools mode inspected only three invoice details on the large audit and found 3/12 issues.
- On Research & deck, the tools deck contained arithmetic errors (`688 - 293` became 364), and both decks treated planned capacity as answering a minimum-purchase obligation.
- On SQL data analysis, ten runs exhausted the 80-request budget, several after already finding usable routes but never submitting them.
- On LLM Judge, both failures came from accepting insufficient evidence, such as treating an explicit `integrations: []` as outweighed by general behavior.

#### Tool calling compared with code mode
- On Billing ops, code mode cost $0.8675 versus $2.9758 for tools but used 154 versus 134 requests, including one run that exhausted its 60-request budget.
- On Billing ops, code mode helped most with bulk traversal: the duplicate audit fell from 43 requests to 10, and the missed-attendance audit went from zero findings to all three.
- On SQL data analysis, code mode cut requests from 774 to 432 but raised total cost from $6.0342 to $6.6938, with failures from unsupported imports and sandbox limits.
- On Research & deck, code mode used 31 requests versus 20 at slightly lower cost ($0.2401 vs $0.2741), though it still made unsupported Python and SQL calls.
- On Billing ops, focused tasks took more requests in code mode, for example margins at 13 versus 6, so tool calling remains leaner for narrow operations.

Prices come from [genai-prices](https://github.com/pydantic/genai-prices), in US dollars per million tokens. Benchmark scores come from Epoch AI and LMArena (CC BY 4.0), Browser Use, and our own Pydantic AI benchmarks (CC BY 4.0); the index and its sources are described at https://pydantic.dev/models/methodology.md. Data built 2026-11-30. This model from the API: `https://pydantic.dev/models/api/models/muse-spark-open`. Compare it with others: `https://pydantic.dev/models/api/models?slug=muse-spark-open,<other slug>`
