Get a key
Create an API key in your TokenRa console. Keys work across every model on the platform.
Inkling 2 Mini is Thinking Machines Lab's small multimodal Mixture-of-Experts model, released on November 20, 2026 under Apache 2.0. It fits on a 32GB Mac, ships with a 1M-token context window, and is available on TokenRa behind one OpenAI-compatible key.
It is a general-purpose multimodal model: it takes text and images in, and writes text out. Internally it is a 24-layer decoder-only transformer whose middle 12 layers run three times over shared weights, so a 24-layer stack applies 48 layers per token. Each of those layers routes every token to 8 of 128 experts.
That looping is the reason the numbers look confusing at first. The model stores 26.4B parameters but only activates 3.4B per token on the first pass. Each extra pass through the looped layers adds roughly 1.0B effective active parameters, so with three passes the real figure is about 5.4B per token. In practice: small enough to run on a laptop, with a reasoning budget you can trade against compute.
Thinking Machines positions it for coding, agentic workloads, and vision tasks — alongside the much larger Inkling 2 Small (594B total, 17B active), which is a cloud-sized model rather than a local one.
| Field | Value |
|---|---|
| Provider | Thinking Machines Lab, Inc. |
| Released | November 20, 2026 |
| License | Apache 2.0 |
| Architecture | 24-layer decoder-only transformer with sparse MoE feed-forward; middle 12 layers loop three times (48 layer applications per token) |
| Parameters | 26.4B total · 3.4B active · ~5.4B effective active with three loop passes |
| Context window | 1M tokens |
| Input | Text (UTF-8) and images; image dimensions work best between 40px and 4096px |
| Output | Text |
| Numerics | NVFP4 and MXFP8 |
| Checkpoint size | About 20GB, single checkpoint in mixed NVFP4/MXFP8 |
| Languages | English with general multilingual support |
The published checkpoint is roughly 20GB, so local inference is realistic for most developer machines. Thinking Machines supports:
Supported stacks include Transformers, SGLang, vLLM, llama.cpp, Unsloth (with
quantized GGUF builds), Ollama and Exo on Apple Silicon, plus TokenSpeed, NVIDIA
Dynamo and Llama App. First-pass installs are the usual
pip install vllm or pip install sglang.
Ollama maintains an official library entry, so the setup is one command:
Terminal
ollama run inkling-2-mini
One-shot prompt
ollama run inkling-2-mini "Write a Python function that retries an HTTP request with exponential backoff."
The official page is ollama.com/library/inkling-2-mini. The library
shows vision, tools and thinking capabilities, and community variants such as
robit/inkling-2-mini exist for smaller or edge hardware — including a
Jetson Orin AGX build. Prefer the official tag unless a community build explicitly
targets your device.
If you want an OpenAI-compatible endpoint on your own hardware, both vLLM and SGLang serve the checkpoint directly:
vLLM
vllm serve "thinkingmachines/Inkling-2-Mini"
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
-d '{"model":"thinkingmachines/Inkling-2-Mini",
"messages":[{"role":"user","content":"Hello"}]}'
SGLang
python3 -m sglang.launch_server \
--model-path "thinkingmachines/Inkling-2-Mini" \
--host 0.0.0.0 --port 30000
Unsloth ships a dedicated run-locally guide and quantized GGUF builds for Inkling 2
Mini, which is the practical route if you want to fine-tune on a single consumer or
workstation GPU. Its documentation lives at
unsloth.ai/docs/models/inkling-2-mini. Post-training is also supported
with Miles and SkyRL, and Thinking Machines exposes a hosted fine-tuning path through
its Tinker platform.
Local inference is free but bounded by your own hardware. TokenRa gives you the same model behind one OpenAI-compatible key, billed per million tokens with no subscription, so you can prototype locally and move to the API when traffic outgrows the laptop.
| Item | Price per 1M tokens |
|---|---|
| Input | $0.225 |
| Output | $0.90 |
| Cached reads | $0.045 |
All usage is metered per token against your balance; there is no monthly minimum. See the full model catalog for current rates across every model.
The API follows the OpenAI chat-completions shape, so an existing OpenAI SDK or client works by changing the base URL and key.
Create an API key in your TokenRa console. Keys work across every model on the platform.
Base URL: https://tokenra.io/v1 · Model id: inkling-2-mini
POST to /v1/chat/completions with model: inkling-2-mini. The snippet below is a complete request.
curl https://tokenra.io/v1/chat/completions \
-H "Authorization: Bearer $TOKENRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "inkling-2-mini",
"messages": [
{"role": "user", "content": "Summarise this changelog in three bullets."}
]
}'
Images go in the same message content array using the standard
image_url part, which is how you use the multimodal side of the model.
The two models target the same size class, so the comparison comes up constantly. Numbers below are from the comparison table Thinking Machines publishes in the model card, which benchmarks against Qwen3.8-27B among other models.
| Benchmark | Inkling 2 Mini | Qwen3.8-27B |
|---|---|---|
| AA Index (v5.0) | 20.1 | 20.1 |
| SWEBench Verified | 79.2% | 77.8% |
| SWEBench Multilingual | 73.7% | 70.0% |
| SWEBench Pro v2 (Hard) | 77.9% | 73.8% |
| Terminal Bench v2.1 | 71.6% | 73.0% |
| BrowseComp | 79.0% | 61.6% |
| MCP Atlas | 82.7% | 77.3% |
| MMMU Pro | 74.9% | 76.3% |
| OmniDocBench v1.6 | 92.8% | 91.5% |
| HLE-Diamond | 15.2% | 15.3% |
| ARC-AGI v2 | 49.3% | 1.5% |
Read it this way: the model leads clearly on agentic search and tool use (BrowseComp, MCP Atlas), on software-engineering benchmarks, and on abstract reasoning (ARC-AGI v2). Qwen3.8-27B is marginally ahead on multimodal reasoning and frontier science questions, and wins on one terminal benchmark. The AA Index is a dead heat at 20.1.
If your workload is agents, coding, or tool calling, it is the better fit. If it is long-document multimodal understanding or hard science reasoning, the gap is small enough that benchmarking on your own prompts is worth the hour.
26.4B total with 3.4B active per token. Because the middle 12 layers run three times over shared weights, the model uses about 5.4B effective active parameters per token. If you see "5.4B active" elsewhere, that is the same number counted after the loop passes.
Yes. The checkpoint is about 20GB, so any Apple silicon machine with 32GB or more memory works, as does a single NVIDIA DGX Spark or a GPU with 32GB+ VRAM. Quantized GGUF builds through Unsloth or llama.cpp lower the bar further.
Run ollama run inkling-2-mini. Ollama hosts the official library
entry at ollama.com/library/inkling-2-mini with vision, tools and
thinking capabilities enabled.
Up to 1M tokens, per the official model card — the same ceiling as Inkling 2 Small.
The weights are Apache 2.0, so self-hosting costs only your hardware. Through TokenRa you pay per token, which suits production traffic, bursty workloads, or when you do not want to run GPUs at all.
Yes, it is natively multimodal. Images are encoded by a vision transformer and processed jointly with text. Each image dimension should sit between 40px and 4096px for best results.
"Inkling", "Inkling 2 Mini" and "Thinking Machines Lab" may be trademarks of their respective rights holders. TokenRa is an independent API gateway; this page is not an official vendor page and is not endorsed by Thinking Machines Lab. Specifications are taken from the official model card on Hugging Face. Last updated November 29, 2026.