Thinking Machines Inkling
Inkling is Thinking Machines' flagship open-weights model: a Mixture-of-Experts architecture with 975 billion total and 41 billion active parameters per token. Inkling Small offers the same architecture and the same capabilities with 276 billion total and 12 billion active parameters, at roughly a third of the price. Both reason step by step before answering, and that effort is adjustable per request. They are called through /v1/chat/completions.
| Model | Context | Input / Cache Read / Output ($/1M) |
|---|---|---|
thinkingmachines/inkling |
256K | 1.87 / 0.374 / 4.68 |
thinkingmachines/inkling-small |
256K | 0.58 / 0.116 / 1.44 |
thinkingmachines/inkling-2-small |
256K | 0.30 / 0.03 / 1.00 |
Inkling and Inkling Small share one capability set, so every example on this page works with either. Inkling 2 Small's differences are listed in its own section at the end of the page. Inkling 2 Small is the lowest-priced of the three; use Inkling or Inkling Small when you need audio input.
curl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "thinkingmachines/inkling", "messages": [ { "role": "user", "content": "Write a short haiku." } ], "max_tokens": 1024 }'Reasoning effort
Section titled “Reasoning effort”Inkling has reasoning on by default and thinks before answering on every request. You control the effort with the reasoning_effort field; the valid values are six levels: none, minimal, low, medium, high, xhigh. none turns reasoning off entirely.
Effort can also be passed as a suffix on the model id:
thinkingmachines/inkling -> default (reasoning on)thinkingmachines/inkling:none -> reasoning offthinkingmachines/inkling:high -> high effortthinkingmachines/inkling:xhigh -> highest effortcurl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "thinkingmachines/inkling", "messages": [{ "role": "user", "content": "What is 17 * 23?" }], "reasoning_effort": "none", "max_tokens": 256 }'Reasoning tokens are returned inside completion_tokens and billed as output (not billed separately). The practical consequence: if max_tokens is very small, the budget can be consumed during the reasoning phase, leaving content empty and finish_reason set to length. Keep max_tokens generous even for short answers. See Reasoning Effort for details.
A boolean reasoning field is not supported; to turn reasoning off, use reasoning_effort: "none" (or the :none suffix).
Image input
Section titled “Image input”All three models accept images only as base64 data URLs (data:image/...;base64,...). Remote http(s) image URLs are not supported and are rejected with 400.
curl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "thinkingmachines/inkling", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Name the dominant color in this image." }, { "type": "image_url", "image_url": { "url": "data:image/png;base64,<base64>" } } ] } ], "max_tokens": 512 }'Audio input
Section titled “Audio input”Inkling and Inkling Small accept audio input; Inkling 2 Small does not. Send it as an input_audio content part with base64-encoded WAV (16 kHz mono recommended):
curl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "thinkingmachines/inkling-small", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "What do you hear in this recording?" }, { "type": "input_audio", "input_audio": { "data": "<base64-wav>", "format": "wav" } } ] } ], "max_tokens": 512 }'An empty WAV (one with no frames) is rejected with 400. Audio tokens are billed as input.
Tool calling
Section titled “Tool calling”Standard OpenAI tools / tool_choice fields are supported (auto and required). When the model calls a tool, finish_reason is tool_calls and content is empty. See Tool Calling for the general flow.
JSON output
Section titled “JSON output”response_format: { "type": "json_object" } is supported and returns a valid JSON object. json_schema (strict schema enforcement) is not honored on this endpoint.
Re-sending the same prompt prefix triggers a prompt-cache read; usage.prompt_tokens_details.cached_tokens is populated and those tokens are billed at the cache-read price. The cache warms after a few requests. There is no cache-write fee.
Context window
Section titled “Context window”All three models accept prompts of up to 262,144 tokens in a single request. Requests above that limit are rejected by the gateway.
Pricing note
Section titled “Pricing note”Inkling Small is roughly a third of Inkling's price. The current input, cache-read, and output prices are shown in the table above and on the model detail page. No platform margin is added to model prices; the margin applies only when adding credit.
Inkling 2 Small
Section titled “Inkling 2 Small”Inkling 2 Small is a second-generation Inkling model from Thinking Machines: a Mixture-of-Experts architecture with 594 billion total and 17 billion active parameters per token, trained for agentic coding and multi-step tool use. Reasoning effort, image input, tool calling, JSON output, cache and the context window work as described above. One difference: it does not accept audio input, and a request with an input_audio part is rejected with 400.
The model can call several tools in one turn. The request below asks for the weather in two cities; the model can answer it with two separate get_weather calls:
curl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "thinkingmachines/inkling-2-small", "messages": [ { "role": "user", "content": "Get the weather for Istanbul and Ankara." } ], "tools": [ { "type": "function", "function": { "name": "get_weather", "description": "Get the current weather for a city", "parameters": { "type": "object", "properties": { "city": { "type": "string" } }, "required": ["city"] } } } ], "max_tokens": 2048 }'