# Muse Spark 1.2 Contributor

> A closed-weights multimodal model from Meta, released August 2026, with a 1M-token context window and very low prices. The registry has no benchmark results for it.

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

## Spec sheet

- **Family:** Muse
- **Released:** 21 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:** not enough benchmark results yet
- **Price:** $0.1 input, $0.2 output, $0.13 blended per 1M tokens
- **Index points per $:** – (rank –)
- **Speed:** 95 tokens/sec (rank 44)
- **Popularity:** rank 99 of 194 by usage
- **Pydantic AI Gateway:** not built in; [bring your own key](https://ai.pydantic.dev/gateway/#bring-your-own-key)

## Benchmarks

No results yet on the benchmarks we track.

## Providers and prices

US dollars per million tokens.

| Provider | Gateway | Pydantic AI string | Input | Cached input | Output |
| --- | --- | --- | --- | --- | --- |
| Meta | BYOK | `meta:muse-spark-1.2-contributor` | $0.1 | $0.002 | $0.2 |
| OpenRouter | BYOK | `openrouter:meta/muse-spark-1.2-contributor` | $0.1 | $0.002 | $0.2 |

## Example code

### hello.py

Ask Muse Spark 1.2 Contributor 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-contributor', 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 Contributor 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-contributor', 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 Contributor 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-contributor',
    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 Contributor'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-contributor')


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.2 Contributor 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.2-contributor'
```

### pi.sh

Use Muse Spark 1.2 Contributor 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.2-contributor'
```

### ai_sdk.ts

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

## About Muse Spark 1.2 Contributor

Muse Spark 1.2 Contributor is a closed-weights model from Meta, released in August 2026. It accepts text, image, video and file inputs and supports tool calling, reasoning mode and structured output. Its context window is 1M tokens, and a single response can run to 943k tokens.

Price is the main point of interest. It costs $0.10 per million input tokens and $0.20 per million output tokens, a blended $0.125 per million tokens. That places it 10th cheapest of 194 models, well below the registry median blended price of about $1.01. It is offered through Meta and OpenRouter.

The registry holds no benchmark results for this model, so its quality cannot be compared with other models, and no intelligence or value rank is available. Choosing it means testing it on the actual workload before relying on it.

**Strengths**

- 1M-token context window with up to 943k tokens per response
- Accepts text, image, video and file inputs
- Supports tool calling, reasoning mode and structured output
- Blended price of $0.125 per million tokens, 10th cheapest of 194

**Weaknesses**

- No benchmark results, so quality cannot be compared with other models
- Closed weights, so it cannot be self-hosted
- Only two providers listed: Meta and OpenRouter

**Best for:** Low-cost, high-volume agent work with long inputs and tool calls, where quality is checked independently first.

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
