Run Inkling-2-Mini Locally: Memory, Ollama, GGUF and MLX
Want to go deeper than this article?
Free account unlocks the first chapter of all 25 courses — RAG, agents, MCP, voice AI, MLOps, real GitHub repos.
Ollama’s running. Here’s what to build with it. Go from “ollama run” to RAG apps, agents, and fine-tuned models — structured and hands-on. First chapter free.
Short answer: Inkling-2-Mini is about 20GB, and Thinking Machines supports it on Macs with 32GB or more of memory through Ollama, on an NVIDIA DGX Spark, and on GPUs with 32GB or more of VRAM. Run ollama run inkling-2-mini on a 32GB+ Mac and you are done. A 24GB card (RTX 3090, 4090) is below the official recommendation but holds the 16.6 GB Q4 GGUF with roughly a 128K context by the arithmetic. A 16GB card needs the 13.6 GB 3-bit file. Below 16GB, run something else. Thinking Machines released it on November 20, 2026, under Apache 2.0. We have not run it yet, so this page has no speed figures; every memory figure is either a published file size or arithmetic from the model's config, and says which.
What makes it interesting for local use is the shape. Inkling-2-Mini has 26.4B parameters but routes each token through 8 of 128 experts, so only 3.4B are active per layer pass. Its middle 12 layers run three times with the same weights, which Thinking Machines counts as 5.4B effective active parameters per token. A dense 27B model like Qwen3.8-27B reads all 27B weights for every token; Inkling-2-Mini reads about a fifth of that. That is why its maker pitches it at laptops.
What is Inkling-2-Mini?
A 26.4B mixture-of-experts model with looped layers, 1M-token context, image input and an Apache 2.0 licence.
| Inkling-2-Mini | |
|---|---|
| Maker, release | Thinking Machines, November 20, 2026 |
| Parameters | 26.4B total, 3.4B active, 5.4B effective per token with looping |
| Layers | 24 layers of weights; the middle 12 run three times, so 48 layer applications per token |
| Experts | 128 per MoE layer, 8 chosen per token |
| Attention | Hybrid: 20 local (1,024-token sliding window) and 4 global layers |
| Context | Up to 1M tokens (1,048,576 in the config) |
| Input / output | Text and images in (40px to 4096px per side), text out. No audio. |
| Precision as shipped | Mixed NVFP4 and MXFP8, about 20GB in one checkpoint |
| Licence | Apache 2.0, with a linked Model Acceptable Use Policy |
The "looped" part is the unusual one. Instead of stacking more layers, Thinking Machines runs a block of 12 layers three times with shared weights, buying more computation per token without more memory. The model card is direct about what that means locally: "Support for looped models in local runtimes is new, and speed varies by runtime and hardware." Read that as a reason to update your runtime before you pull, and to expect speed to improve over the next few releases.
Reading articles is good. Building is better.
Free account = the first chapter of all 25 courses, with a per-chapter AI tutor. No card.
Memory by tier
32GB Mac or 32GB GPU is the official floor. 24GB works with the Q4 GGUF. 16GB works at 3-bit. 12GB and below, pick another model.
File sizes are the published decimal-GB figures, converted to GiB so they compare against your card. "Context you can afford" assumes about 1 GiB of runtime overhead and the KV cache range worked out in the next section. The Ollama build is used where it fits; GGUF rows are for llama.cpp.
| Hardware | Build | Weights | Context you can afford | Verdict |
|---|---|---|---|---|
| 8GB GPU | none worth it | smallest file 7.76 GB | none | Even UD-IQ1_S does not leave room to run. |
| 12GB GPU (RTX 3060 12GB, 4070, 5070) | UD-Q2_K_XL | 9.14 GB / 8.5 GiB | ~32K to 64K | Loads at 2-bit. Not recommended: the quality loss is large. |
| 16GB GPU (RTX 4080, 5070 Ti, 5080, 4060 Ti 16GB) | UD-Q3_K_XL (GGUF) | 13.6 GB / 12.7 GiB | ~64K, without the vision projector | Works. Leave the 639 MB projector out unless you need images. |
| 24GB GPU (RTX 3090, 4090, 7900 XTX) | UD-Q4_K_M (GGUF) | 16.6 GB / 15.5 GiB, + 0.6 GiB projector | ~128K | Fits by the arithmetic, below the vendor's 32GB recommendation. |
| 32GB GPU (RTX 5090) | Ollama inkling-2-mini, or UD-Q8_K_XL | ~20GB / ~18.6 GiB, or 22.9 GB / 21.3 GiB | several hundred thousand tokens | The officially recommended class. |
| Mac, 24GB unified | UD-Q3_K_XL (GGUF) | 13.6 GB | short | Not supported by Thinking Machines. Possible at 3-bit, tight. |
| Mac, 32GB unified | Ollama inkling-2-mini | ~20GB | a few GB of context | The supported minimum. Fine for chat and short agent runs. |
| Mac, 48GB+ unified | Ollama, or the MLX 4-bit build | ~20GB, or 17.3 GB | long | Comfortable. Thinking Machines demoed it on an M5 Pro with 48GB. |
| NVIDIA DGX Spark (128GB) | Ollama | ~20GB | the full 1M | Officially supported. |
macOS keeps part of unified memory for itself, so a 32GB Mac has only a few GB left for context after the 20GB build. Close the browser before a long session. The 32GB Mac picks page lists what else fits that tier, and the unified memory tiers guide explains how much of each Mac's memory the GPU can actually use.
The KV cache bill
16 to 32 KiB per token at f16, so 2 to 4 GiB at 128K and 16 to 32 GiB at the full 1M. The range is ours, because nobody has documented how runtimes cache the looped layers.
Thinking Machines does not publish a KV cache figure. This is arithmetic from config.json: 8 KV heads of 128 dimensions, so each layer stores 2 x 8 x 128 x 2 bytes = 4 KiB per token at f16. Twenty of the 24 layers are local, with a 1,024-token window, so their cache stops growing after 1,024 tokens and totals well under 200 MiB. Only the 4 global layers (layers 5, 11, 17 and 23 by our reading of the config) grow with context.
Two of those global layers sit inside the looped block. If the runtime keeps one cache per layer of weights, that is 4 caches and 16 KiB per token. If it keeps a separate cache for each of the three passes, that is 8 and 32 KiB per token.
shared cache separate cache per pass
per token 16 KiB 32 KiB
32K context 0.5 GiB 1 GiB
128K context 2 GiB 4 GiB
256K context 4 GiB 8 GiB
1M context 16 GiB 32 GiB
Either way it is light for a model this size: Qwen3.8-27B needs 64 KiB per token. What it means in practice:
- Most people should not chase 1M. On a 24GB card, 128K is comfortable. The full window adds 16 to 32 GiB of cache on top of the weights, which is DGX Spark or 64GB-Mac territory.
- Set the context deliberately. Ollama uses a modest default
num_ctx. Raise it in the REPL with/set parameter num_ctx 131072, or in a Modelfile, rather than leaving a 1M-token model at a few thousand tokens. - Check what you actually got. After loading,
ollama psshould show 100% GPU. Any CPU share means context or the projector pushed you over.
Setup: Ollama, llama.cpp or MLX
Ollama is the one-line route and the one Thinking Machines names. llama.cpp is for 16GB and 24GB cards. MLX needs an unmerged branch for now.
Ollama
ollama run inkling-2-mini
Ollama lists four tags, all with a 1M context and image input:
| Tag | Size | Notes |
|---|---|---|
inkling-2-mini / inkling-2-mini:26b-a5b | 18GB to 20GB | The default. |
inkling-2-mini:26b-a5b-nvfp4 | 20GB | Marked MLX on Ollama's tag page: the Apple Silicon build. |
inkling-2-mini:26b-a5b-iq4_NL | 18GB | A GGUF-style 4-bit build. |
The "a5b" in the tag names counts the 5.4B effective active parameters, not the 3.4B per pass. Ollama's model page doesn't state a minimum version, but a model released in the last week needs a current build: update Ollama before pulling. Ollama also lists launch commands for Claude Code, OpenCode, Hermes Agent and OpenClaw; the ollama launch guide explains how those work with a local model.
llama.cpp with Unsloth's GGUF files
Unsloth publishes the GGUF files and gives these commands on its model card:
llama serve -hf unsloth/Inkling-2-Mini-GGUF:UD-Q4_K_M
llama cli -hf unsloth/Inkling-2-Mini-GGUF:UD-Q4_K_M
Swap the quant name for your card: UD-Q3_K_XL on 16GB, UD-Q4_K_M on 24GB, UD-Q8_K_XL on 32GB. Unsloth reports that Q4_K_M keeps the same top token as the full model 97.9% of the time (mean KL divergence 0.0108). The vision projector is a separate file, mmproj-F16.gguf at 639 MB; leave it out if you only need text. The repository also has two small "dspark" draft files (402 MB and 504 MB) for speculative decoding; they are not the model.
MLX on Apple Silicon
mlx-community/Inkling-2-Mini-4bit is 17.3 GB and includes the vision tower. On November 24 it needed an unmerged mlx-lm pull request (#2086) installed from GitHub. Unless you already work in MLX, use Ollama's MLX tag instead.
Run this on your own machine and stop paying every month
Pay once and keep it. No renewal, no per-token bill, and nothing you feed it ever leaves your hardware.
Reasoning effort
Reasoning is on by default at a high setting, and the lowest setting does not switch it off. Cap output tokens and agent turns.
The model's chat template reads a reasoning_effort setting with these levels: none (0.0), minimal (0.1), low (0.2), medium (0.7), high (0.9), xhigh (0.99) and max (0.99). It defaults to 0.9 when you do not set it. Thinking Machines states that "setting reasoning effort to its minimum does not fully disable reasoning." Ollama lists the model with the thinking capability, but its page does not say how its own think setting maps to these levels.
The model card also warns about repetitive reasoning and recommends "setting limits on output tokens and agent turns." On a 32GB Mac, where context is the tight resource, a long reasoning trace is what fills it. Set a maximum output length in whatever client you use.
Published benchmarks
Vendor numbers, not ours. Strong on coding agents and document reading; Thinking Machines says it trails Qwen3.8-27B on instruction-following tests.
| Benchmark | Inkling-2-Mini | Note |
|---|---|---|
| SWE-bench Verified (bash only) | 79.2% | |
| Terminal Bench v2.1 | 71.6% | Qwen3.8-27B: 73.0% |
| MCP Atlas (public) | 82.7% | |
| MMMU Pro (standard 10) | 74.9% | |
| OmniDocBench v1.6 | 92.8% | |
| DeepSWE v1.1 | 48.2% | |
| Vals Index v2.2 | 46.5% | |
| Artificial Analysis Index v5.0 | 20.1 | Tied with Qwen3.8-27B |
| MultiChallenge | 50.0% | Behind Qwen3.8-27B, per Thinking Machines |
| ComplexConstraints v1.1 | 33.4% | Behind Qwen3.8-27B, per Thinking Machines |
All figures are from the model card and the announcement, which also claims it "leads every open-weights model with less than 100B total parameters" on DeepSWE v1.1 and Vals Index v2.2. Its own limitations list adds that it is "less capable than Inkling 2 Small across most of our evaluations" and more likely to state wrong information with confidence.
Inkling-2-Mini vs Qwen3.8-27B
Same memory class, very different shape. Inkling reads a fifth of the weights per token and has four times the context; Qwen3.8 is dense, has had local runtime support for longer, and takes video input.
| Inkling-2-Mini | Qwen3.8-27B | |
|---|---|---|
| Type | 26.4B MoE, 3.4B active (5.4B effective) | 27B dense |
| Default Ollama size | 18GB to 20GB | 18GB |
| KV cache per token (f16) | 16 to 32 KiB (our arithmetic) | 64 KiB |
| Context | 1M | 262,144 native |
| Input | Text, image | Text, image, video |
| Licence | Apache 2.0 | Apache 2.0 |
Reading about a fifth of the weights per token should make Inkling-2-Mini generate faster than a dense 27B on the same hardware, because local generation is limited by memory bandwidth. We are not putting a number on it until someone measures it, and Thinking Machines' own warning about new runtime support applies. On a 24GB card, both run at 4-bit; Inkling leaves more room for context. If you already run Qwen3.8-27B for coding, Thinking Machines' own Terminal Bench figures put Qwen3.8 slightly ahead (73.0% against 71.6%), so try both on your own tasks before switching. The Qwen3.8-27B VRAM guide has the per-card numbers for the other side.
Caveats Thinking Machines lists
- Repetitive reasoning. Limit output tokens and agent turns.
- Local runtime support is new. Speed varies by runtime and hardware.
- Knowledge. Weaker than Inkling 2 Small, and prone to stating incorrect information confidently.
- Agentic use. It may take destructive actions without confirmation. Run coding agents in a sandbox or a throwaway branch.
- Non-English. In Chinese testing they saw "clipped phrasing and mixed languages."
- Fixed loops. The model "only supports a fixed number of looping passes."
Hugging Face already has third-party repackages labelled uncensored, abliterated or derisked. They are not from Thinking Machines; the official benchmarks and safety tuning do not carry over to them.
Key takeaways
- Inkling-2-Mini is a 26.4B MoE (3.4B active) with looped layers, released by Thinking Machines on November 20, 2026, under Apache 2.0.
- It is about 20GB. The supported minimum is a 32GB Mac via Ollama, a DGX Spark, or a GPU with 32GB+ VRAM.
- 24GB and 16GB cards can run it from Unsloth's GGUF files: UD-Q4_K_M (16.6 GB) on 24GB, UD-Q3_K_XL (13.6 GB) on 16GB.
- Its KV cache is light: 16 to 32 KiB per token by our arithmetic, so 128K of context costs 2 to 4 GiB.
- Reasoning cannot be fully switched off, so cap output length.
Sources
- thinkingmachines/Inkling-2-Mini model card, with its config.json and chat template, read November 24, 2026: architecture, context, hardware support, reasoning-effort levels, benchmark table, limitations.
- Thinking Machines, "Inkling 2 Mini", November 20, 2026: Mac support via Ollama, the ~20GB footprint, precision split, benchmark claims and caveats.
- Ollama library, inkling-2-mini tags: tag names, sizes, context and capabilities.
- unsloth/Inkling-2-Mini-GGUF and its file list: every GGUF size quoted, the commands and the Q4_K_M KL figures.
- mlx-community/Inkling-2-Mini-4bit: MLX size and the mlx-lm branch requirement.
- KV cache and GiB figures: our arithmetic from the config, shown in the KV cache section.
Ollama’s running. Here’s what to build with it.
Go from “ollama run” to RAG apps, agents, and fine-tuned models — structured and hands-on. First chapter free.
Stop piecing Ollama together from blog posts
Ollama Mastery is 15 chapters end to end — install, model choice, Modelfiles, GPU offload, the API, and the 20 errors that actually happen. Plus 24 more courses.
Liked this? 25 full AI courses are waiting.
From fundamentals to RAG, agents, MCP servers, voice AI, and production deployment with real GitHub repos. First chapter free, every course.
Build Real AI on Your Machine
RAG, agents, NLP, vision, and MLOps - chapters across 25 courses that take you from reading about AI to building AI.
Want the structured version?
Hands-on courses on local AI, from $8.99 a month. The first chapter of each is free.
Keep going
- PILLARLocal AI Hardware Requirements (2026): Complete Guide
- Best Mac for Local AI: Every Apple Silicon Chip Ranked M1–M6
- Ollama System Requirements: Minimum RAM, GPU, Disk Size
- Run an LLM on Your Phone: Offline AI on Android & iPhone
- Llama 3.1 Nemotron 70B Instruct: Ollama, VRAM, Chat Template
- Llama 2 13B & 7B: Specs, VRAM, Ollama (llama2:13b)
- Qwen3-Coder 30B & 480B: VRAM, Benchmarks, Ollama Setup
- Gemma 4 Hardware Requirements: VRAM/RAM per Model
- Qwen3.5 Local Setup: Which Size Fits Your GPU or Mac
- WizardLM 13B: Evol-Instruct, MMLU 54.6%, 8GB VRAM (Q4)
Comments (0)
No comments yet. Be the first to share your thoughts!
