---
title: "Muse Spark 1.2"
description: "Meta's closed multimodal model with a 1M context window, tool calling and a reasoning mode. Strong on factual recall and scientific coding, but below median on professional agent tasks."
canonical: https://pydantic.dev/models/list/muse-spark-1.2/
---

# Muse Spark 1.2

> Meta's closed multimodal model with a 1M context window, tool calling and a reasoning mode. Strong on factual recall and scientific coding, but below median on professional agent tasks.
>
> Markdown copy of https://pydantic.dev/models/list/muse-spark-1.2/. 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 `meta:muse-spark-1.2`.

## Spec sheet

- **Family:** Muse
- **Released:** 5 Aug 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:** 62.3 (rank 40)
- **Scores updated:** 2026-11-28
- **Price:** $1.25 input, $4.25 output, $2 blended per 1M tokens
- **Index points per $:** 31.1 (rank 54)
- **Speed:** 114 tokens/sec (rank 31)
- **Popularity:** rank 149 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       | 62.3   | 40                       | Our composite of the benchmarks below, 0-100                                                     | Pydantic, from the sources credited below |
| SimpleQA Verified        | 60.3%  | 22                       | Short factual questions answered from memory, without search                                     | Epoch AI (CC BY 4.0)                      |
| SciCode                  | 57.4%  | 20                       | Scientific programming problems written by researchers                                           | SciCode, via Epoch AI (CC BY 4.0)         |
| APEX-Agents              | 45.4%  | 41                       | Long professional tasks (banking, consulting, law) passed on the first attempt                   | Mercor, via Epoch AI (CC BY 4.0)          |
| LMArena text             | 1483.5 | 17                       | Rating from blind human votes between pairs of chat responses                                    | LMArena (CC BY 4.0)                       |
| Chess Puzzles            | 27%    | 52                       | Find the single best move in a chess position                                                    | Epoch AI (CC BY 4.0)                      |
| SimpleBench              | 74.5%  | 20                       | Six-option trick questions that test common sense                                                | SimpleBench, via Epoch AI (CC BY 4.0)     |
| Epoch Capabilities Index | 155    | 45                       | 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.2`            | $1.25 | $0.15        | $4.25  |
| OpenRouter | BYOK    | `openrouter:meta/muse-spark-1.2` | $1.25 | $0.15        | $4.25  |

## Use Muse Spark 1.2 with Pydantic AI

### hello.py

Ask Muse Spark 1.2 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.2', 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.2 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.2', 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.2 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.2',
    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.2'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.2')


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 1.2 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 META_API_KEY='...'

pax -m 'meta:muse-spark-1.2'
```

### ai_sdk.ts

Call Muse Spark 1.2 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.2'),
  system: 'Be concise, reply with one sentence.',
  prompt: 'Where does "hello world" come from?',
})
console.log(text)
```

## About Muse Spark 1.2

Muse Spark 1.2 costs $1.25 per million input tokens and $4.25 per million output tokens, has a 1M token context window and scores 62.3 on our intelligence index, #40 of 101.

Muse Spark 1.2 is a closed model from Meta, released in August 2026, that accepts text, image, video and file input. It has a 1M token context window, supports tool calling, structured output and a reasoning mode. Its strongest results are factual recall, where it ranks 22nd of 76 on SimpleQA Verified, and scientific programming, 20th of 96 on SciCode. Its intelligence index of 63.8 sits above the registry median of 59.5.

The weaknesses matter most for agent builders. On APEX-Agents, which tests long professional tasks, it passes 45% against a median of 54%, ranking 43rd of 60. Its blended price of $2 per million tokens is about twice the registry median, and it is available from only two providers, Meta and OpenRouter. Its efficiency rank of 62 of 194 reflects a mid-field result for its price.

**Strengths**

- 60% on SimpleQA Verified, 22nd of 76 models tested
- 57% on SciCode, 20th of 96 models tested
- Intelligence index 63.8, 43rd of 114, above the 59.5 median
- Accepts text, image, video and file input with a 1M context window

**Weaknesses**

- 45% on APEX-Agents, 43rd of 60 and below the 54% median
- Blended price of $2 per million tokens, about twice the median
- Only two providers, and 156th of 194 on popularity

**Best for:** Factual question answering, scientific coding and long multimodal inputs; less suited to professional agent workflows.

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-1.2`. Compare it with others: `https://pydantic.dev/models/api/models?slug=muse-spark-1.2,<other slug>`
