---
title: "Inkling 2 Mini"
description: "An open-weights model from Thinking Machines, released November 2026, in the low-price tier. Its main draws are cost and a 1M context window, while most benchmark results sit below the registry median."
canonical: https://pydantic.dev/models/list/inkling-2-mini/
---

# Inkling 2 Mini

> An open-weights model from Thinking Machines, released November 2026, in the low-price tier. Its main draws are cost and a 1M context window, while most benchmark results sit below the registry median.
>
> Markdown copy of [https://pydantic.dev/models/list/inkling-2-mini/](https://pydantic.dev/models/list/inkling-2-mini/). Index for agents: [llms.txt](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: [select.md](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: [usage.md](https://pydantic.dev/models/usage.md)

Use it with Pydantic AI as `fireworks:inkling-2-mini`.

## Spec sheet

- **Type:** writes text
- **Family:** Thinking Machines
- **Released:** 20 Nov 2026
- **Weights:** open
- **Context window:** 1,040,000 tokens
- **Largest response:** 65,536 tokens
- **Accepts:** text, image
- **Tool calling:** yes
- **Knowledge cutoff:** unknown
- **Intelligence index:** 49.7 (rank 82)
- **Scores updated:** 2026-12-04
- **Price:** $0.15 input, $0.5 output, $0.24 blended per 1M tokens
- **Index points per $:** 209.3 (rank 14)
- **Speed:** 58 tokens/sec (rank 117)
- **Popularity:** rank 45 of 222 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       | 49.7   | 82                       | Our composite of the benchmarks below, 0-100                                                     | Pydantic, from the sources credited below |
| GPQA Diamond             | 86.8%  | 63                       | Graduate-level science questions, multiple choice                                                | Epoch AI (CC BY 4.0)                      |
| OTIS Mock AIME           | 92.5%  | 55                       | Competition mathematics problems with exact answers                                              | Epoch AI (CC BY 4.0)                      |
| FrontierMath             | 41.1%  | 65                       | Original research-level mathematics problems, tiers 1 to 3                                       | Epoch AI (CC BY 4.0)                      |
| ARC-AGI-2                | 49.3%  | 44                       | Abstract visual puzzles that test learning a new rule from a few examples                        | ARC Prize, via Epoch AI (CC BY 4.0)       |
| SimpleQA Verified        | 9%     | 77                       | Short factual questions answered from memory, without search                                     | Epoch AI (CC BY 4.0)                      |
| APEX-Agents              | 50.9%  | 37                       | Long professional tasks (banking, consulting, law) passed on the first attempt                   | Mercor, via Epoch AI (CC BY 4.0)          |
| LMArena text             | 1343.7 | 113                      | Rating from blind human votes between pairs of chat responses                                    | LMArena (CC BY 4.0)                       |
| FrontierMath Tier 4      | 9.8%   | 63                       | Research-level mathematics problems, the hardest tier, with checkable answers                    | Epoch AI (CC BY 4.0)                      |
| Chess Puzzles            | 39%    | 44                       | Find the single best move in a chess position                                                    | Epoch AI (CC BY 4.0)                      |
| Furniture Assembly       | 17.5%  | 45                       | Spot assembly mistakes in photos of flat-pack furniture builds                                   | Epoch AI (CC BY 4.0)                      |
| Epoch Capabilities Index | 151.7  | 57                       | 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 |
| --------- | ------- | -------------------------- | ----- | ------------ | ------ |
| Fireworks | BYOK    | `fireworks:inkling-2-mini` | $0.15 | $0.015       | $0.5   |

## Use Inkling 2 Mini with Pydantic AI

### hello.py

Ask Inkling 2 Mini 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['FIREWORKS_API_KEY'] = '...'

agent = Agent('fireworks:inkling-2-mini', 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 Inkling 2 Mini 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['FIREWORKS_API_KEY'] = '...'


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


agent = Agent('fireworks:inkling-2-mini', 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 Inkling 2 Mini 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['FIREWORKS_API_KEY'] = '...'

agent = Agent(
    'fireworks:inkling-2-mini',
    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 Inkling 2 Mini'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['FIREWORKS_API_KEY'] = '...'

agent = Agent('fireworks:inkling-2-mini')


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 Inkling 2 Mini in your terminal using Pax, the Pydantic AI coding agent.

```sh
export FIREWORKS_API_KEY='...'

uv run --from pydantic-ai-pax pax -m 'fireworks:inkling-2-mini'
```

### codex.sh

Run OpenAI's Codex CLI on Inkling 2 Mini, which Fireworks serves over an OpenAI-compatible API.

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

codex --model 'inkling-2-mini' \
  -c model_provider='fireworks' \
  -c model_providers.fireworks.name='Fireworks' \
  -c model_providers.fireworks.base_url='https://api.fireworks.example/v1' \
  -c model_providers.fireworks.env_key='FIREWORKS_API_KEY'
```

### ai_sdk.ts

Call Inkling 2 Mini 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.FIREWORKS_API_KEY = '...'

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

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

## About Inkling 2 Mini

Inkling 2 Mini costs $0.15 per million input tokens and $0.5 per million output tokens, has a 1M token context window and scores 49.7 on our intelligence index, #82 of 106.

Inkling 2 Mini is an open-weights model from Thinking Machines, released in November 2026. It costs $0.15 per million input tokens and $0.50 per million output tokens, about $0.24 blended, against a registry median of $0.80. Its 1M context window and support for image input, tool calling, structured output and reasoning mode give it a broad feature set for its price.

Benchmark results are mostly below the median. The Intelligence index of 49.7 sits under the median of 58.7, and the model trails on GPQA Diamond, FrontierMath and ARC-AGI-2. It scores 9.0% on SimpleQA Verified, last of 80, so answering factual questions from memory is a clear gap. Its closest result to the median is Chess Puzzles at 39.0%, 46th of 84.

The model's standing comes mainly from price. It ranks 14th of 222 on intelligence points per dollar, but that reflects cost rather than capability. It is available only through Fireworks and is not built into the Pydantic AI Gateway.

**Strengths**

- Blended price of $0.24 per million tokens, 35th cheapest of 222
- 14th of 222 on intelligence points per dollar
- 1M context window with image input and reasoning mode
- Supports tool calling and structured output

**Weaknesses**

- Intelligence index 49.7, below the median of 58.7
- SimpleQA Verified 9.0%, last of 80 models
- Served by a single provider, Fireworks

**Best for:** High-volume, cost-sensitive agent tasks that need long context, images or tool calls, not factual recall.

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, our own Pydantic AI benchmarks (CC BY 4.0), and, for decision models, Artificial Analysis and the Jev Decision Index; the index and its sources are described in [the methodology](https://pydantic.dev/models/methodology.md). Data built 2026-12-04. This model from the API: `https://pydantic.dev/models/api/models/inkling-2-mini`. Compare it with others: `https://pydantic.dev/models/api/models?slug=inkling-2-mini,<other slug>`
