Thinking Machines: Inkling 2 Small
thinkingmachines/inkling-2-smallGenerate and analyse text with Thinking Machines: Inkling 2 Small from OpenRouter through one Spiral API key. Inkling 2 Small is an open-weight multimodal mixture-of-experts reasoning model from Thinking Machines Lab, with 17B active parameters out of 594B total. It runs in the background and returns text and structured JSON. Pay as you go, with no subscription.
Pricing
Up to $0.00534 per run at the default inputs. $0.39 per 1M input tokens, $1.30 per 1M output tokens.
Limits
- Runs
- In the background
- Returns
- text, json
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
messages required | JSON | — | The conversation so far, oldest first. |
seed | number (whole) | — | |
stop | JSON | — | |
min_p | number 0 to 1 | — | |
tools | JSON | — | |
top_k | number (whole) 0 to … | — | |
top_p | number 0 to 1 | — | |
logprobs | true or false | — | |
reasoning | JSON | — | Reasoning effort; reasoning tokens count toward max_tokens. |
max_tokens | number (whole) 1 to 943718 | — | The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length). |
temperature | number 0 to 2 | — | |
tool_choice | JSON | — | |
top_logprobs | number (whole) 0 to 20 | — | |
response_format | JSON | — | |
presence_penalty | number -2 to 2 | — | |
reasoning_effort | one of minimal, low, medium, high, max | high | How much the model reasons. |
frequency_penalty | number -2 to 2 | — | |
repetition_penalty | number 0 to 2 | — |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "openrouter",
"model": "thinkingmachines/inkling-2-small",
"input": {
"messages": [
{
"role": "system"
}
]
}
}'Frequently asked questions
How much does Thinking Machines: Inkling 2 Small cost?
Up to $0.00534 per run at the default inputs. $0.39 per 1M input tokens, $1.30 per 1M output tokens. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Thinking Machines: Inkling 2 Small through an API?
Send `POST /v1/runs` with `"provider": "openrouter"`, `"model": "thinkingmachines/inkling-2-small"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with OpenRouter to use Thinking Machines: Inkling 2 Small?
No. Spiral runs it on its own OpenRouter account and charges your Spiral balance.
Can my AI agent use Thinking Machines: Inkling 2 Small?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.