---
title: "MiMo-V2.6-Pro"
description: "Xiaomi's open-weights model with a very large context window and text, image, audio and video input. It stands out for strong coding results at a price well below the registry median."
canonical: https://pydantic.dev/models/list/mimo-v2.6-pro/
---

# MiMo-V2.6-Pro

> Xiaomi's open-weights model with a very large context window and text, image, audio and video input. It stands out for strong coding results at a price well below the registry median.
>
> Markdown copy of https://pydantic.dev/models/list/mimo-v2.6-pro/. 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 `openrouter:xiaomi/mimo-v2.6-pro`.

## Spec sheet

- **Family:** Xiaomi
- **Released:** 22 Sept 2026
- **Weights:** open
- **Context window:** 1,050,000 tokens
- **Largest response:** 131,072 tokens
- **Accepts:** text, image, audio, video
- **Tool calling:** yes
- **Knowledge cutoff:** unknown
- **Intelligence index:** 66.2 (rank 25)
- **Scores updated:** 2026-11-29
- **Price:** $0.43 input, $0.87 output, $0.54 blended per 1M tokens
- **Index points per $:** 121.8 (rank 19)
- **Speed:** 42.5 tokens/sec (rank 141)
- **Popularity:** rank 28 of 194 by usage
- **Pydantic AI Gateway:** not built in; [bring your own key](https://ai.pydantic.dev/gateway/#bring-your-own-key)

## 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)                  | 71.6%        | 73.4%     | +3.5   | $0.071        | $0.061                   | 17 of 44 | https://pydantic.dev/models/list/mimo-v2.6-pro/pydantic_ai.md       |
| [Pydantic AI - Billing ops](https://pydantic.dev/models/benchmarks/billing_ops.md)             | 70%          | 90%       | +20    | $0.11         | $0.0087                  | 21 of 44 | https://pydantic.dev/models/list/mimo-v2.6-pro/billing_ops.md       |
| [Pydantic AI - Customer support](https://pydantic.dev/models/benchmarks/customer_support.md)   | 30%          | 40%       | +10    | $0.014        | $0.012                   | 33 of 44 | https://pydantic.dev/models/list/mimo-v2.6-pro/customer_support.md  |
| [Pydantic AI - SQL data analysis](https://pydantic.dev/models/benchmarks/sql_data_analysis.md) | 90%          | 80%       | −10    | $0.11         | $0.11                    | 11 of 44 | https://pydantic.dev/models/list/mimo-v2.6-pro/sql_data_analysis.md |
| [Pydantic AI - Research & deck](https://pydantic.dev/models/benchmarks/research_deck.md)       | 89.6%        | 83.7%     | −5.9   | $0.19         | $0.11                    | 9 of 44  | https://pydantic.dev/models/list/mimo-v2.6-pro/research_deck.md     |
| [Pydantic AI - Structured output](https://pydantic.dev/models/benchmarks/structured_output.md) | 80%          | –         | –      | $0.014        | –                        | 30 of 44 | https://pydantic.dev/models/list/mimo-v2.6-pro/structured_output.md |
| [Pydantic AI - LLM Judge](https://pydantic.dev/models/benchmarks/llm_judge.md)                 | 70%          | –         | –      | $0.0019       | –                        | 18 of 44 | https://pydantic.dev/models/list/mimo-v2.6-pro/llm_judge.md         |

### Other benchmarks


| Benchmark          | Score  | Rank among models tested | What it measures                                                               | Source                                    |
| ------------------ | ------ | ------------------------ | ------------------------------------------------------------------------------ | ----------------------------------------- |
| Intelligence index | 66.2   | 25                       | Our composite of the benchmarks below, 0-100                                   | Pydantic, from the sources credited below |
| SciCode            | 60.9%  | 8                        | Scientific programming problems written by researchers                         | SciCode, via Epoch AI (CC BY 4.0)         |
| APEX-Agents        | 54.4%  | 29                       | 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)                       |
| ALE-Bench          | 1158.1 | 47                       | Hard optimisation contest problems, as a rating against human contestants      | Sakana AI, via Epoch AI (CC BY 4.0)       |

## Providers and prices

US dollars per million tokens.

| Provider   | Gateway | Pydantic AI string                | Input | Cached input | Output |
| ---------- | ------- | --------------------------------- | ----- | ------------ | ------ |
| Novita     | BYOK    | –                                 | $0.43 | $0.004       | $0.87  |
| OpenRouter | BYOK    | `openrouter:xiaomi/mimo-v2.6-pro` | $0.43 | $0.004       | $0.87  |

## Use MiMo-V2.6-Pro with Pydantic AI

### hello.py

Ask MiMo-V2.6-Pro 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['OPENROUTER_API_KEY'] = '...'

agent = Agent('openrouter:xiaomi/mimo-v2.6-pro', 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 MiMo-V2.6-Pro 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['OPENROUTER_API_KEY'] = '...'


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


agent = Agent('openrouter:xiaomi/mimo-v2.6-pro', 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 MiMo-V2.6-Pro 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['OPENROUTER_API_KEY'] = '...'

agent = Agent(
    'openrouter:xiaomi/mimo-v2.6-pro',
    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 MiMo-V2.6-Pro'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['OPENROUTER_API_KEY'] = '...'

agent = Agent('openrouter:xiaomi/mimo-v2.6-pro')


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 MiMo-V2.6-Pro 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 OPENROUTER_API_KEY='...'

pax -m 'openrouter:xiaomi/mimo-v2.6-pro'
```

### codex.sh

Run OpenAI's Codex CLI on MiMo-V2.6-Pro, which OpenRouter serves over an OpenAI-compatible API.

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

codex --model 'xiaomi/mimo-v2.6-pro' \
  -c model_provider='openrouter' \
  -c model_providers.openrouter.name='OpenRouter' \
  -c model_providers.openrouter.base_url='https://api.openrouter.example/v1' \
  -c model_providers.openrouter.env_key='OPENROUTER_API_KEY'
```

### ai_sdk.ts

Call MiMo-V2.6-Pro 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.OPENROUTER_API_KEY = '...'

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

const { text } = await generateText({
  model: openrouter('xiaomi/mimo-v2.6-pro'),
  system: 'Be concise, reply with one sentence.',
  prompt: 'Where does "hello world" come from?',
})
console.log(text)
```

## About MiMo-V2.6-Pro

MiMo-V2.6-Pro costs $0.43 per million input tokens and $0.87 per million output tokens, has a 1.1M token context window and scores 66.2 on our intelligence index, #25 of 101.

MiMo-V2.6-Pro is Xiaomi's open-weights model, released in September 2026, with a 1M-token context window, text, image, audio and video input, tool calling and structured output. Its strongest results are in code and app building: 60.9% on SciCode, 8th of 96, and a WebDev Arena rating of 1618, 14th of 85.

Its overall Intelligence index of 68.4 ranks 28th of 114 and sits well above the registry median of 59.5. Its blended price of $0.54 per million tokens is roughly half the median, which makes it good value for its score. Results on APEX-Agents, which tests long professional tasks, are level with the median at 54.4%.

Only two providers, Novita and OpenRouter, serve it, so availability is narrower than for most models.

**Strengths**

- 60.9% on SciCode, 8th of 96 models tested
- WebDev Arena rating of 1618, 14th of 85
- Intelligence index of 68.4, 28th of 114, above the 59.5 median
- Blended price of $0.54 per million tokens, about half the median

**Weaknesses**

- Only two providers, Novita and OpenRouter, serve it
- APEX-Agents score of 54.4%, 30th of 60, level with the median

**Best for:** Coding and web app agents, scientific programming, and budget-conscious agents needing long multimodal context.

## How it did on the Pydantic AI benchmarks

Written by an LLM from reviews of every run.

#### Overall
The model scored 70–90% across five benchmarks, with figure extraction, fact-checking and write tasks mostly correct. Its failures cluster around hand arithmetic over long lists, incomplete audits, strict readings of borderline questions, and output that contradicts its own reasoning or skips the tool call. Code mode was cheaper and more accurate on arithmetic-heavy work, while tool calling with SQL was steadier on the hardest search problems.

#### Strengths
- In Billing ops it passed all six write tasks in both modes, including voiding an invoice with a credit note and applying a payment oldest-due-first with exact amounts.
- In Structured output every checked figure was correct in all 8 passes, including £000 scaling, bracket signs, and group vs parent statements kept separate.
- In LLM Judge it caught facts hidden in account data, such as a claimed webhook when `integrations: []` and two settled charges on one invoice.
- In SQL data analysis it solved every basic journey in both modes, covering service days, repeated runs, walks, change margins and after-midnight times.
- In Research & deck both runs reconciled investor updates against the accounts and batched specific questions to the founder over 2–3 rounds.

#### Weaknesses
- In Billing ops tool mode it failed both tutor-margin cases by summing by hand, and its double-checks re-added the same wrong list.
- In Billing ops `large-wrong_invoices-1` it spot-checked pricing and found 6 of 12 errors in tool mode, while claiming the rest were correct.
- In Structured output one case failed because it wrote the tool call as XML text in all 4 replies and claimed it had already called the tool.
- In LLM Judge one case failed because `final_result` emitted `yes: false` after reasoning that ended 'Yes', and two more failed from overly strict verdicts.
- In Research & deck the tool-calling run converted use-of-funds percentages to £ amounts and added team content after the founder said not to.

#### Tool calling compared with code mode
- In Billing ops code mode scored 9/10 against 7/10 and cost about $0.09 against $1.06, because Python did the sums and long tool results no longer filled the context.
- In Research & deck code mode passed at $0.11 while tool calling failed at $0.19, though this rests on a single case.
- In SQL data analysis tool calling scored 9/10 against 8/10 at similar cost, and code mode lost `departure_profile` to a 1-second time-estimation bug in its own Python.
- In SQL data analysis `tour` code mode hit the sandbox's 256 MB memory limit, while tool mode's DuckDB SQL was steadier but used 50–52 requests on long cases.
- In Billing ops code mode once answered in plain text instead of calling `final_result`, which triggered a validation retry.

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/mimo-v2.6-pro`. Compare it with others: `https://pydantic.dev/models/api/models?slug=mimo-v2.6-pro,<other slug>`
