Inkling 2 API: Providers, Pricing & Quickstart
Every verified way to call Inkling 2 over an API — providers, real entry pricing, and copy-paste code.
Inkling 2 is available through hosted APIs, so you can use either model without owning any GPU. This page lists the verified providers, real entry pricing, and working request code. Prices checked November 27, 2026 — providers change pricing often, so confirm on their pages before budgeting.
Where to get an Inkling 2 API key
| Provider | Models | Notes |
|---|---|---|
| Tinker (Thinking Machines) | Small + Mini | The lab's own platform; also fine-tuning. Playground for quick tests |
| OpenRouter | Small + Mini | One key, many backends; Mini from $0.02625/M input tokens. Free Small endpoint for agentic harnesses (prompts logged) |
| NVIDIA, Fireworks, Together, Baseten, Nebius, Modal, Cloudflare | Small (+Mini on several) | Listed as inference providers on the model card |
The free Small endpoint, honestly: OpenRouter's free Inkling 2 Small route is restricted to agentic harnesses, and Thinking Machines logs your prompts and outputs to improve its models. Never send confidential or personal data through it. Paid tiers have their own data terms — read them.
Quickstart (OpenRouter, OpenAI-compatible)
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_OPENROUTER_KEY",
)
resp = client.chat.completions.create(
model="thinkingmachines/inkling-2-mini",
messages=[{"role": "user", "content": "Explain looped transformers in one paragraph."}],
)
print(resp.choices[0].message.content)
Swap the model slug to thinkingmachines/inkling-2-small for the flagship. Streaming, JSON mode and tool calling follow each provider's OpenAI-compatible conventions.
What Inkling 2 API usage costs
OpenRouter's listed Mini pricing starts at $0.02625 per million input tokens and $0.105 per million output tokens, with faster or flex tiers priced differently per provider. At those entry rates:
- A chat exchange (~500 in / 500 out) costs a fraction of a cent.
- An agent session burning 1M input + 250K output tokens a day costs about $0.05/day — under $1.50 a month.
- Vision prompts count image tokens on top; long-context jobs are where bills actually grow, since Mini and Small both accept up to 1M tokens of input.
Small costs more per token than Mini on every provider. Route simple agent steps to Mini and escalate only when its knowledge limits show — that two-model pattern is how the heaviest OpenRouter users (coding agents like OpenHands, which the provider leaderboard shows driving billions of Mini tokens) keep costs sane.
Local vs API: the honest trade-off
- API when: you want Small, you need bursts of speed, you have no 32GB machine, or you are prototyping.
- Local when: data cannot leave the machine, you work offline, or volume makes per-token pricing hurt. Then see Run Inkling 2 locally.
Many teams do both: local Mini for private repos, API Small for hard problems.