---
title: "Inkling"
description: "Open-weights model from Thinking Machines with a 1M-token context window and text, image and audio input. Most benchmark scores sit below the registry median."
canonical: https://pydantic.dev/models/list/inkling/
---

# Inkling

> Open-weights model from Thinking Machines with a 1M-token context window and text, image and audio input. Most benchmark scores sit below the registry median.
>
> Markdown copy of https://pydantic.dev/models/list/inkling/. 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 `fireworks:inkling`.

## Spec sheet

- **Family:** Thinking Machines
- **Released:** 15 Jul 2026
- **Weights:** open
- **Context window:** 1,040,000 tokens
- **Largest response:** 471,859 tokens
- **Accepts:** text, image, audio
- **Tool calling:** yes
- **Knowledge cutoff:** unknown
- **Intelligence index:** 51.8 (rank 72)
- **Scores updated:** 2026-11-25
- **Price:** $1 input, $4.05 output, $1.76 blended per 1M tokens
- **Index points per $:** 29.4 (rank 56)
- **Speed:** 86 tokens/sec (rank 58)
- **Popularity:** rank 142 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       | 51.8  | 72                       | Our composite of the benchmarks below, 0-100                                                     | Pydantic, from the sources credited below |
| GPQA Diamond             | 88.3% | 52                       | Graduate-level science questions, multiple choice                                                | Epoch AI (CC BY 4.0)                      |
| OTIS Mock AIME           | 88.9% | 56                       | Competition mathematics problems with exact answers                                              | Epoch AI (CC BY 4.0)                      |
| FrontierMath             | 33.3% | 66                       | Original research-level mathematics problems, tiers 1 to 3                                       | Epoch AI (CC BY 4.0)                      |
| ARC-AGI-2                | 36.5% | 46                       | Abstract visual puzzles that test learning a new rule from a few examples                        | ARC Prize, via Epoch AI (CC BY 4.0)       |
| SimpleQA Verified        | 40.3% | 49                       | Short factual questions answered from memory, without search                                     | Epoch AI (CC BY 4.0)                      |
| SciCode                  | 47%   | 58                       | Scientific programming problems written by researchers                                           | SciCode, via Epoch AI (CC BY 4.0)         |
| APEX-Agents              | 33.8% | 51                       | Long professional tasks (banking, consulting, law) passed on the first attempt                   | Mercor, via Epoch AI (CC BY 4.0)          |
| LMArena text             | 1444  | 48                       | Rating from blind human votes between pairs of chat responses                                    | LMArena (CC BY 4.0)                       |
| FrontierMath Tier 4      | 4.9%  | 60                       | Research-level mathematics problems, the hardest tier, with checkable answers                    | Epoch AI (CC BY 4.0)                      |
| Chess Puzzles            | 21%   | 59                       | Find the single best move in a chess position                                                    | Epoch AI (CC BY 4.0)                      |
| SimpleBench              | 50%   | 50                       | Six-option trick questions that test common sense                                                | SimpleBench, via Epoch AI (CC BY 4.0)     |
| ALE-Bench                | 946   | 57                       | Hard optimisation contest problems, as a rating against human contestants                        | Sakana AI, via Epoch AI (CC BY 4.0)       |
| Epoch Capabilities Index | 148.4 | 67                       | 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`                   | $1    | $0.17        | $4.05  |
| OpenRouter  | BYOK    | `openrouter:thinkingmachines/inkling` | $1    | $0.17        | $4.05  |
| Together AI | BYOK    | `together:thinkingmachines/Inkling`   | $1    | $0.17        | $4.05  |

## Use Inkling with Pydantic AI

### hello.py

Ask Inkling 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', 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 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', 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 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',
    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'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')


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 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 FIREWORKS_API_KEY='...'

pax -m 'fireworks:inkling'
```

### codex.sh

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

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

codex --model 'inkling' \
  -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 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'),
  system: 'Be concise, reply with one sentence.',
  prompt: 'Where does "hello world" come from?',
})
console.log(text)
```

## About Inkling

Inkling costs $1 per million input tokens and $4.05 per million output tokens, has a 1M token context window and scores 51.8 on our intelligence index, #72 of 101.

Inkling is an open-weights model from Thinking Machines, released July 2026. It accepts text, image and audio input, has a 1M-token context window, and supports tool calling and a reasoning mode. It does not support structured output. Its intelligence index of 53.2 ranks 78th of 114 and sits below the registry median of 59.5.

Benchmark results are mixed. Its LMArena text rating is slightly above median and its GPQA Diamond score is close to it. Results on FrontierMath and ARC-AGI-2 fall well below the median, and its APEX-Agents score ranks near the bottom. Pricing is $1 per million input tokens and $4.05 per million output tokens, with a blended price a little above the registry median.

Inkling fits multimodal work with long inputs, where open weights and tool calling matter more than top scores on hard reasoning tasks. It is available from three providers.

**Strengths**

- Accepts text, image and audio input with a 1M-token context window
- Supports tool calling and a reasoning mode
- LMArena text rating of 1444, 48th of 114, just above median
- Open weights, served by Fireworks, OpenRouter and Together AI

**Weaknesses**

- Intelligence index of 53.2, 78th of 114, below the 59.5 median
- ARC-AGI-2 score of 36.5%, 47th of 68, versus 61.3% median
- No structured output support

**Best for:** Multimodal agents needing long context and tool calling on a moderate budget, where top reasoning scores are not required.

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