# Muse Spark 1.3

> A closed-weights model from Meta, released September 2026, priced above the registry median. It stands out in competition mathematics and web app generation.

Use it with Pydantic AI as `meta:muse-spark-1.3`.

## Spec sheet

- **Family:** Muse
- **Released:** 2 Sept 2026
- **Weights:** closed
- **Context window:** 1,048,576 tokens
- **Largest response:** 943,718 tokens
- **Accepts:** text, image, video, file
- **Tool calling:** yes
- **Knowledge cutoff:** unknown
- **Intelligence index:** 71.5 (rank 20)
- **Price:** $1.25 input, $4.25 output, $2 blended per 1M tokens
- **Index points per $:** 35.8 (rank 57)
- **Speed:** 109 tokens/sec (rank 32)
- **Popularity:** rank 68 of 194 by usage
- **Pydantic AI Gateway:** not built in; [bring your own key](https://ai.pydantic.dev/gateway/#bring-your-own-key)

## Benchmarks

| Benchmark | Score | Rank among models tested | What it measures | Source |
| --- | --- | --- | --- | --- |
| Intelligence index | 71.5 | 21 | Our composite of the benchmarks below, 0-100 | Pydantic, from the sources credited below |
| OTIS Mock AIME | 99.2% | 20 | Competition mathematics problems with exact answers | Epoch AI (CC BY 4.0) |
| FrontierMath | 74.4% | 28 | Original research-level mathematics problems, tiers 1 to 3 | Epoch AI (CC BY 4.0) |
| SciCode | 59.7% | 11 | Scientific programming problems written by researchers | SciCode, via Epoch AI (CC BY 4.0) |
| WebDev Arena | 1651.9 | 11 | Rating from human votes on web apps the models built | LMArena, via Epoch AI (CC BY 4.0) |
| APEX-Agents | 58.6% | 23 | Long professional tasks (banking, consulting, law) passed on the first attempt | Mercor, via Epoch AI (CC BY 4.0) |
| LMArena text | 1492.9 | 11 | Rating from blind human votes between pairs of chat responses | LMArena (CC BY 4.0) |
| Epoch Capabilities Index | 158.2 | 28 | 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 |
| --- | --- | --- | --- | --- | --- |
| Meta | BYOK | `meta:muse-spark-1.3` | $1.25 | $0.15 | $4.25 |
| OpenRouter | BYOK | `openrouter:meta/muse-spark-1.3` | $1.25 | $0.15 | $4.25 |

## Example code

### hello.py

Ask Muse Spark 1.3 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['META_API_KEY'] = '...'

agent = Agent('meta:muse-spark-1.3', 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 1.3 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['META_API_KEY'] = '...'


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


agent = Agent('meta:muse-spark-1.3', 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 1.3 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['META_API_KEY'] = '...'

agent = Agent(
    'meta:muse-spark-1.3',
    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 1.3'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['META_API_KEY'] = '...'

agent = Agent('meta:muse-spark-1.3')


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

Chat with Muse Spark 1.3 in your terminal using pax, the TUI for pydantic-ai-harness. Coming soon.

```sh
export META_API_KEY='...'

uvx pax --model 'meta:muse-spark-1.3'
```

### pi.sh

Use Muse Spark 1.3 as the model behind the pi coding agent, with your own Meta key.

```sh
# npm install -g @earendil-works/pi-coding-agent
export META_API_KEY='...'

pi --model 'meta/muse-spark-1.3'
```

### ai_sdk.ts

Call Muse Spark 1.3 from TypeScript with the Vercel AI SDK.

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

process.env.META_API_KEY = '...'

const meta = createOpenAICompatible({
  name: 'meta',
  baseURL: 'https://api.meta.example/v1',
  apiKey: process.env.META_API_KEY,
})

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

## About Muse Spark 1.3

Muse Spark 1.3 is a closed-weights model from Meta, released in September 2026. It accepts text, image, video and file inputs, supports tool calling, structured output and a reasoning mode, and has a 1M-token context window. It is available from Meta and OpenRouter.

Its strongest results are in mathematics and coding. It scores 99.2% on OTIS Mock AIME and 74.4% on FrontierMath, both above the registry medians, and ranks 11th on WebDev Arena. Its composite intelligence index of 71.5 places it 21st of 114, well above the median of 59.5.

The main trade-off is cost. The blended price of $2 per million tokens is roughly double the registry median, and its price rank of 122 of 194 is in the more expensive half. Its intelligence per dollar rank of 57 of 194 is therefore only moderate. No knowledge cutoff is published.

**Strengths**

- 99.2% on OTIS Mock AIME, 20th of 95
- Intelligence index 71.5, 21st of 114, well above the 59.5 median
- WebDev Arena 1652, 11th of 85
- SciCode 59.7%, 11th of 96

**Weaknesses**

- Blended price of $2 per million tokens, about double the registry median
- Price rank 122 of 194 places it in the more expensive half
- Intelligence per dollar ranks 57th of 194 at 35.8 points

**Best for:** Agents that need strong maths, scientific coding, or web app generation, where cost per token matters less.

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); the index and its sources are described at https://models.pydantic.dev/methodology.md. Data built 2026-11-25. Compare with other models: https://models.pydantic.dev/models.md
