文章详细解析了循环Transformer架构原理与实测表现,为本地代码开发提供了具体的选型参考。
A 20GB Model That Writes Code on a Laptop in Airplane Mode: is Inkling 2 Mini The New King of Local AI?
On November 20, 2026, Thinking Machines Lab released Inkling 2 Mini, an open-weight model with 26.4 billion parameters that fits in about 20GB and runs offline on a MacBook. It ties Alibaba's Qwen3.8-27B on the Artificial Analysis Intelligence Index while costing about 6 times less and running about 4 times faster per task. It does this with an idea that has lived mostly in research papers until now: it runs the same layers several times for every token.
Below: what it is, how looping works, what independent tests show, what only the lab claims, where it breaks, and who should use it. Lab numbers are labeled self-reported. Data is as of November 23, 2026.
THE QUICK FACTS
- Maker: Thinking Machines Lab, San Francisco.
- Released: November 20, 2026.
- License: Apache 2.0, weights on Hugging Face, with an acceptable use policy.
- Size: 26.4 billion total parameters, 3.4 billion active per token, 5.4 billion effective active parameters once the loops are counted.
- Architecture: 24-layer sparse Mixture-of-Experts, 8 of 128 experts per token, middle 12 layers run three times.
- Precision: trained and shipped in NVFP4 for 20 layers and MXFP8 for the last 4. Checkpoint is about 20GB.
- Inputs: text and images. Output: text. Context window: up to 1 million tokens.
- First-party price on Tinker: $0.15 per million input tokens, $0.015 cached, $0.50 per million output tokens.
- Hardware supported by the lab: one NVIDIA DGX Spark, Apple silicon with 32GB or more, or other GPUs with 32GB or more of VRAM recommended.
- Companion release: TML-d24-varloop-research, a research checkpoint that lets you choose the number of loop passes.
WHO BUILT IT
Thinking Machines Lab was founded in early 2025 by former OpenAI leaders. It raised a $2 billion seed round at a $12 billion valuation in July 2025, launched Tinker, a fine-tuning API, in October 2025, and moved into open weights in 2026:
- July 2026: Inkling, 975 billion parameters, Apache 2.0.
- Two weeks later: Inkling-Small, 276 billion parameters.
- November 5, 2026: Inkling 2 Small, 594 billion parameters with 17 billion active, scoring 31 on the Artificial Analysis Intelligence Index.
- November 20, 2026: Inkling 2 Mini, 26.4 billion parameters.
The lab's launch post put it plainly: some people thought Inkling 2 Small was too big at 594B, so here is a 26B model for a laptop. Mini is about 22 times smaller.
THE TRICK: RUNNING THE MIDDLE OF THE MODEL THREE TIMES
A normal transformer sends each token through its stack of layers once. If a problem needs more sequential steps than the stack is deep, the model has to write its reasoning out as text, which costs output tokens and time.
Inkling 2 Mini changes the order of operations. Its 24 layers are split into four blocks of six:
- Layers 0 to 5, the prelude, run once.
- Layers 6 to 17, the loop core, run three times with the same weights.
- Layers 18 to 23, the coda, run once.
That gives 48 layer applications per token from 24 stored layers. More compute per token, same file size.
Two details make this work in practice.
- Each pass is not a blind repeat. All three passes start from the prelude's output, and passes two and three also read a gated message from the previous pass. The gate starts closed during training, so the model first behaves like a normal transformer and then learns how much to trust the earlier passes. The lab says this made looping stable to train.
- Each pass keeps its own memory. Every core layer has a separate KV cache per pass, so the model holds 48 KV caches for 24 layers. That is why inference engines needed specific support for it.
Why loop the middle and not the end? The lab tested both. Looping the middle 12 layers beat looping the last 12 on 27 of 28 evaluations. At one training checkpoint, a model without looping needed an estimated 1.51 to 1.91 times as much compute to match the middle-loop version, against 1.24 to 1.36 times for the last-loop version.
The headline trade-off, self-reported: a non-looping version cost 7.5% less compute to train but needed 140% more inference compute to match the looped model's loss on 512,000-token agentic traces. In plain terms, you pay a little more once during training and save a lot every time the model runs.
TRAINED IN 4 BITS, SHIPPED IN 4 BITS
Most local models are trained in 16-bit precision and then compressed, which usually costs some accuracy. Inkling 2 Mini was trained with 4-bit NVFP4 in its expert layers from pretraining through reinforcement learning, with the last four layers in 8-bit MXFP8. The weights ship in exactly that format, so there is no conversion step and no conversion loss.
The model also started bigger than it ended. Training began with 384 experts per layer. During midtraining, the lab pruned two-thirds of them, keeping the 128 most used experts in each layer. It then trained the smaller model on 1 trillion tokens distilled from a larger internal Inkling model to recover the lost performance, followed by supervised fine-tuning and reinforcement learning totaling 2.2 trillion tokens over 2,000 steps.
THE INDEPENDENT NUMBERS
- Artificial Analysis Intelligence Index v5: 20. That ties Qwen3.8-27B and Nanbeige4.3-33B, with about 5 times and 6 times fewer active parameters respectively. It sits on the Pareto frontier for intelligence versus both total and active parameters.
- Cost per index task: $0.59, against $3.53 for Qwen3.8-27B. Time per task: 9.0 minutes, against 38.2 minutes.
- Token use: about 152,000 output tokens per index task, against about 110,000 for Qwen3.8-27B. So Mini writes about 38% more tokens but, on Artificial Analysis's compute proxy of active parameters times tokens, uses about 2.8 times less compute.
- ARC Prize, November 20: 84.5% on ARC-AGI-1 and 49.3% on ARC-AGI-2. Its big sibling Inkling 2 Small scored 96.5% and 81.7%.
- Plotly's private data analytics exam: 36 of 43 questions, or 84%, three fewer than Inkling 2 Small. Plotly says that is the best score of any US open-weight model small enough to run on a Mac mini.
For context, an index score of 20 is far from the frontier. The top cloud model on the same index, Claude Fable 5.2, scores 65. Mini is a strong small model, not a replacement for frontier models on hard work.
THE LAB'S OWN NUMBERS
Thinking Machines compares Mini with four open models of similar size: Gemma 4 31B, Meta's Muse Glimmer, Qwen3.8-27B and Nemotron 3.5 Super VL. The Hugging Face launch post says Mini leads on 32 of 48 benchmarks in that set. Selected results, all self-reported:
- DeepSWE v1.1: 48.2%, against 42.2% for Qwen3.8-27B and 24.7% for Nemotron 3.5 Super VL.
- SWE-bench Pro v2 Hard: 77.9%, against 73.8% for Qwen3.8-27B.
- FrontierCode v2.0: 15.1%, against 14.9% for Qwen3.8-27B.
- Vals Index v2.2: 46.5%, against 29.8% for Nemotron 3.5 Super VL.
- SWE-bench Verified: 79.2%, per launch coverage.
- DeepSearchQA: 85.3%, per launch coverage.
- Terminal-Bench 4.0: tied with Qwen3.8-27B.
The lab also says Mini leads open models of its size on BrowseComp, DeepSearchQA and MCP Atlas, and comes close to the much larger Inkling 2 Small on PMPP-Hard, a GPU kernel optimization benchmark. Launch coverage also cited a Stanford intelligence-per-joule score of 0.703 on a DGX Spark, against 0.430 for Qwen3.6-35B-A3B.
Treat these as directional. The lab notes that evaluation setups vary by model.
WHERE IT IS WEAK
The lab is unusually direct about the limits, and early testers confirmed several of them.
- Facts. Looping adds reasoning, not memory. Knowledge is mostly a function of total parameters, so Mini's factual scores are in line with other small models. On AA-Omniscience it scores negative 8.6 with a 63.4% non-hallucination rate, against negative 6.4 and 71.4% for Qwen3.8-27B. The model card says it is more likely than larger models to state wrong information with confidence.
- Chat and complex instructions. 50.0% on MultiChallenge and 33.4% on ComplexConstraints v1.1, behind Qwen3.8-27B on both.
- Hard reasoning. It trails larger models on CritPt v2 and HLE-Diamond.
- Runaway loops. The model card warns it can get stuck in long reasoning loops or keep re-checking its work, especially when debugging code. The lab recommends limits on output tokens and agent turns.
- Agent discipline. The card says it can take destructive actions such as deleting or overwriting files without confirmation, and may not report the outcome of its work accurately.
- Non-English output. In Chinese testing the lab saw clipped phrasing and mixed languages.
- Compute. Because the middle layers run three times, compute per token is higher than the 3.4 billion active parameter figure suggests. Setting reasoning effort to its minimum does not fully turn reasoning off.
The lab's own fix for weak facts is tools. It says Mini uses search well enough to lead its size class on agentic search benchmarks. That matches its design: a small model that reasons well and looks things up, rather than one that tries to remember everything.
HOW IT COMPARES WITH SMALL CLOUD MODELS
The obvious question is whether a 20GB local model can replace the cheap cloud tier. On the Artificial Analysis board read on November 22, score first, then cost per index task:
- Gemini 4 Hydrogen: 54 for $3.16
- Claude Haiku 5.5: 36 for $0.41
- Tencent Hy4: 35 for $1.03
- DeepSeek V4.1 Flash 1017: 33 for $0.60
- Inkling 2 Small: 31 for $1.18
- MiniMax M3.1 Flash: 29 for $0.49
- GPT-6 Luna: 28 for $0.15
- Xiaomi MiMo-V2.6-Flash: 27 for $0.13
- Inkling 2 Mini: 20 for $0.59
On raw capability per dollar in the cloud, Mini loses. GPT-6 Luna scores 8 points higher for about a quarter of the cost per task, and Haiku 5.5 scores 16 points higher for $0.41. DeepSeek V4.1 Flash scores 13 points higher at about the same cost per task.
That is the wrong comparison for most people who will download it, though. None of the models above it on that list can run on a 32GB laptop. Hydrogen, Haiku and Luna are closed. DeepSeek V4.1 Flash is open under MIT, but it is a 552 billion parameter model. Hy4 is 770 billion. Inkling 2 Small is 594 billion and, per Plotly, needs about 356GB of memory.
So the fair framing is this:
- If you need the best answer per dollar and can send data to an API, cheap cloud models win.
- If the code or data cannot leave the machine, or you need it offline, Mini is one of the strongest options that fits in 32GB, and it leads open models under 100 billion parameters on the coding benchmarks the lab reports.
PRICE
- Tinker, first party: $0.15 input, $0.015 cached input, $0.50 output, per million tokens. Fine-tuning costs $0.75 per million tokens at 64K context or $1.50 at 256K.
- OpenRouter via Prime Intellect: $0.10 input and $0.40 output, per Plotly's test notes. Launch coverage reported OpenRouter prices from $0.08 input and $0.35 output.
- Local: free per token, after hardware and power.
Claude Haiku 5.5 lists at $0.10 and $0.50 for prompts up to 100,000 tokens, and MiniMax M3.1 Flash at $0.15 and $0.60. Per token, Mini is in the cheapest tier. Per task, it depends on whether it loops.
RUNNING IT LOCALLY
Runtimes with support at or near launch: vLLM, SGLang, Ollama, llama.cpp, Unsloth GGUF builds, MLX, Exo Labs, NVIDIA Dynamo, TokenSpeed and Llama App. RL fine-tuning is supported through SkyRL, Miles and NVIDIA NeMo AutoModel. vLLM shipped day-zero support on Blackwell, Hopper and DGX Spark, plus a bundled DSpark speculative decoding drafter.
Reported speeds, all from vendors or individual testers, not controlled benchmarks:
- Exo Labs, working with the lab: 210 tokens per second decode and 3,620 prefill on a 96GB M5 Ultra Mac Studio. 125 decode and 1,750 prefill on a 48GB M5 Max MacBook Pro. Exo says it took the model from 30 to 210 tokens per second in about a day.
- One tester on two RTX 3090s, with a custom port of the vLLM path to older Ampere cards: 169 to 216 tokens per second decode with the drafter on, 143 with it off, and 5,362 to 7,190 tokens per second prefill. llama.cpp on the same cards ran at about 50 tokens per second on release day. A cold 120,000-token prompt took 8 minutes to first token on llama.cpp and 23 seconds on the tuned vLLM port.
- One developer on an RTX 5090 reported 104 tokens per second.
- One user running it in a different Mac runtime reported only about 60 tokens per second where Exo reported 125. Speed depends heavily on the runtime and its looped-model support.
Memory planning matters more than the 20GB checkpoint suggests. The two-3090 test used 40.6GB of 48GB of VRAM with a preallocated KV pool for a 196,608-token window, because each looped layer keeps its own cache per pass. The 1 million token context is a model limit, not something a 32GB laptop can fill. Unsloth says its quantized GGUF builds run in 16GB of RAM.
The lab's own demos: a researcher built a playable flight simulator in a few minutes on a 48GB M5 Pro MacBook Pro in airplane mode, and a pixel town ran 20 simulated villagers on one offline MacBook Pro. Both are vendor demos on a specific machine.
WHAT EARLY USERS FOUND
Three days in, reactions on X and in hands-on posts fall into a clear pattern: fast and capable for coding, with a looping problem.
The positives:
- A side-by-side on a 32GB M5 Pro MacBook with the classic pelican-on-a-bicycle SVG prompt: similar visual quality to Qwen3.8-27B at Q4, but Mini ran at about 55 to 65 tokens per second against 18 to 20, used about 1,300 tokens against 2,800, and finished in about 22 seconds against a little over 2 minutes. One prompt, one user.
- Exo Labs says Mini built a native weather app 1.8 times faster than Claude Sonnet 5.5 on an M5 Ultra Mac Studio, at 11 times lower cost at API prices. That is a partner's claim.
- A developer who had it generate a motion graphic about itself on an RTX 5090 called it the most impressive small model he had tested from anyone outside Qwen.
- The two-3090 tester called it the fastest model he had served on those cards by a wide margin, and nearly as capable as Qwen3.8-27B on his workflows.
The negatives:
- Runaway loops are real. In Plotly's exam, one hidden-pattern question triggered 585 queries over about 48 minutes, 46% of all its tool calls on the exam. The run used 179 million tokens, 8 times as many as Inkling 2 Small, and cost $4.09 against $1.81 for the much larger model. Median time per question was 69 seconds against 13.
- In the two-3090 tester's own suite, 5 of 22 items ran to the token cap without an answer, and those 5 used 84% of the run's tokens. Lowering the reasoning setting cut the loops but traded them for fabrication: at low effort it confidently described a git flag that does not exist.
- Some testers reported failed tasks in game mechanics generation and quirks in early looped-model runtimes.
This matches the model card. When Mini works, it is fast and cheap. When it loops, it burns tokens and time, and that moves the cost more than the token price does.
THE SAFETY QUESTION: CAN YOU STILL READ ITS MIND?
Looping raises a real oversight issue. Much of current AI safety work relies on reading a model's chain of thought. A looped model can do more reasoning internally before writing anything down, so some reasoning might never appear in the text a monitor reads.
Thinking Machines released the variable-loop research checkpoint partly so outside researchers can study this, and launch coverage says it partnered with NDIF and Goodfire on interpretability. Its own preliminary results, self-reported:
- No-CoT ability rises with loops. The research model's no-CoT time horizon, the length of task it can finish half the time with no written reasoning, rose from 16 seconds at one pass to 37 seconds at three. It was roughly flat beyond three passes, and running ten passes did not significantly hurt performance even though training used at most five.
- Chain of thought got shorter with more loops, by more than half according to launch coverage, but stayed legible.
- No upward trend on sabotage tests as loops were added.
- Very low control over its own chain of thought: at most 0.1% instruction compliance on CoTs of 750 to 1,250 tokens, against 1.3% for Qwen3.8-27B. Low control is good for monitoring, because it suggests the model cannot easily hide what it is doing in its reasoning.
The model card concludes Mini gives no material uplift beyond existing open models on CBRN and cyber risks, and is materially below frontier capability on loss-of-control evaluations. The lab is clear that a model trained with RL at higher loop counts might compress its reasoning more aggressively, and that its experiments do not answer that question yet.
WHO SHOULD USE IT
Good fits:
- Private coding assistants on a laptop or single workstation, where source code cannot leave the machine.
- Offline work: travel, air-gapped environments, field deployments.
- Agent loops with tools and search, where the model reasons and looks things up instead of recalling facts.
- Cheap batch work on your own GPUs, such as code review passes, test generation and log triage.
- Fine-tuning: Apache 2.0 weights, Tinker support and RL tooling make it a practical base for domain models.
- Research on looped transformers and chain-of-thought monitoring, which is a stated goal of the release.
Poor fits:
- Fact-heavy question answering without search.
- Long multi-turn chat with many constraints.
- Non-English production use without your own evaluation.
- Medical, legal or safety-critical decisions, which the model card says to avoid without extra fine-tuning, validation and human oversight.
- The hardest reasoning and coding tasks, where frontier cloud models are still far ahead.
HOW TO RUN IT WITHOUT GETTING BURNED
These follow directly from the model card and the early test results.
- Cap output tokens and agent turns. This is the most important setting: in Plotly's test, one runaway question took 46% of all tool calls and pushed the exam's cost past twice that of the far larger Inkling 2 Small.
- Sandbox agent runs and require confirmation before deletes, overwrites or anything irreversible.
- Give it search or retrieval for anything factual.
- Test reasoning effort settings on your own tasks. Lower settings loop less but may fabricate more.
- Measure cost per finished task on your workload, not price per token.
- Pick your runtime carefully. The same model ran at 50 tokens per second on one setup and over 200 on another.
- Budget memory for the KV caches, not just the 20GB of weights, especially at long context.
THE BOTTOM LINE
Inkling 2 Mini is not the smartest small model. Cheap cloud models like GPT-6 Luna, Haiku 5.5 and DeepSeek V4.1 Flash score higher on the Artificial Analysis index, and the frontier is three times higher still.
What it is: the clearest evidence yet that looped transformers work outside a paper. A 20GB, Apache 2.0 model ties a dense 27B model on the leading independent index at about a sixth of the cost per task, leads its size class on the lab's agentic coding benchmarks, and runs at 100 to 200 tokens per second on hardware people already own.
The catch is its habit of looping on hard problems, which can wipe out the cost advantage on a bad task. Cap it, sandbox it, give it tools, and it is one of the best reasons in 2026 to run a coding model on your own machine.
SOURCES
- Thinking Machines Lab, Introducing Inkling 2 Mini, Nov 20, 2026
- Thinking Machines Lab, Inkling 2 Mini Model Card, Nov 20, 2026
- Thinking Machines Lab, Inkling model family page
- Artificial Analysis, Thinking Machines has released Inkling 2 Mini, an open weights looped transformer, Nov 20, 2026
- Artificial Analysis, LLM Leaderboard, read Nov 22, 2026
- ARC Prize, Results, Nov 20, 2026
- Hugging Face, Welcome Inkling 2 Mini, Cutting-edge Performance for your Local Setup, Nov 20, 2026
- vLLM, Inkling 2 Mini on vLLM: Day-0 Support for a Looped Model, Nov 20, 2026
- VentureBeat, Thinking Machines wows with Inkling 2 Mini looped transformer model that runs locally on laptops, Nov 21, 2026
- The Next Web, Thinking Machines releases Inkling 2 Mini, a looped AI model for laptops, Nov 21, 2026
- ByteForward, Inkling 2 Mini launches: local hardware and Tinker pricing, Nov 20, 2026
- Plotly, Inkling 2 Mini Benchmark Results for Data Analysis, Nov 21, 2026
- http://peaster.io, Inkling 2 Mini, First Impressions, Nov 21, 2026
- Exo Labs, post on X about local Inkling 2 Mini performance, Nov 21, 2026
- Thinking Machines Lab, launch post on X, Nov 20, 2026
- Unsloth, post on X about Inkling 2 Mini GGUF builds, Nov 2026
- Tiwen News, Inkling 2 Mini hits 210 tok/s decoding on Mac in local tests, Nov 21, 2026
- Anthropic, Claude pricing page, Haiku 5.5
- MiniMax, M3.1 Flash announcement, Oct 19, 2026
来源:Amit Shrivastava · x.com