Code Models · [ 5 min read ]
Thinking Machines ships Inkling 2 Mini, a looped 26.4B coder for laptops
Thinking Machines Lab's Inkling 2 Mini loops its middle layers three times per token: 26.4B total params, 20GB footprint, top sub-100B DeepSWE scores, and a monitoring story underneath.
Key findings
- Inkling 2 Mini has 26.4B total parameters, 3.4B activated per token, 5.4B with looping, 20GB memory footprint.
- It scored 48.2% on DeepSWE v1.1 and 46.5% on Vals Index v2.2, claiming the lead among open models under 100B parameters.
- Post-training RL totaled 2.2 trillion tokens over 2,000 steps after pruning 384 experts down to 128 per layer.
- It runs on any Mac with 32GB RAM via Ollama; Stanford measured 0.703 intelligence per joule on DGX Spark.
- The companion TML-d24-varloop-research model showed no-CoT time horizon rising from 16 to 37 seconds between one and three passes.
Thinking Machines Lab released Inkling 2 Mini on Friday: an open-weights model with 26.4 billion total parameters that runs its middle layers three times per token and still fits in 20 gigabytes on a consumer laptop. The pitch is simple. More serial compute per token, without more stored weights.
The company calls it a looped transformer. Looping raises weight activations from 3.4 billion per token to 5.4 billion. The 24 layers split into four blocks of six. The first and last blocks run once; the two middle blocks run three times, sharing weights, so each token gets 48 layer applications from 24 stored layers. Later passes also read the previous pass's output, which the company calls the message.
Does looping actually beat just looping other layers? Yes, and they measured it. Looping the middle 12 layers beat looping the last 12 layers in 27 of 28 evaluations. At training step 2,000, the no-loop baseline needed 1.51 to 1.91 times as much compute to match the middle loop's loss, versus 1.24 to 1.36 times for the last loop.
A learned gate initially blocks the message, so each loop starts like a non-looping model, then message gain rises during training. Attention residuals let each layer read earlier blocks and learn its own mix. That's how they kept training stable.
How was it trained?
Training started with 384 experts at sparsity 48, eight experts per token. Midtraining, the team pruned two-thirds of the experts and kept the 128 most used per layer. A healing run on one trillion tokens distilled from a larger internal Inkling model recovered pre-pruning performance. Then supervised fine-tuning, reinforcement learning totaling 2.2 trillion tokens over 2,000 steps, and on-policy distillation for alignment, matching the Inkling 2 Small process.
Quantization is the interesting part. Twenty of 24 layers were trained in NVFP4, the final four in MXFP8, and weights ship in that precision. No conversion loss. Caveat: that also means you're not getting a higher-precision reference.
What do the benchmarks say?
The company claims it leads every open-weights model under 100 billion total parameters on DeepSWE v1.1 and Vals Index v2.2. The numbers:
- DeepSWE v1.1: 48.2% (Qwen3.8-27B: 42.2%)
- Vals Index v2.2: 46.5% (Nemotron 3.5 Super VL: 29.8%)
- SWE-bench Pro v2 Hard: 77.9%
- SWE-bench Verified: 79.2%; SWE-bench Multilingual: 73.7%
- BrowseComp: 79.0%; DeepSearchQA: 85.3%; MCP Atlas: 82.7%
- Terminal Bench v2.1: 71.6%, behind Qwen3.8-27B at 73.0%
- PMPP-Hard kernel optimization: 455.82 versus Qwen3.8-27B's 262.50
- Vibe Code Bench v1.1: 77.9%; AA Index v5.0: tied with Qwen3.8-27B at 20.1
Now the caveats the company itself lists. It's not the strongest small model for multi-turn chat or constraint-heavy instructions: 50.0% on MultiChallenge and 33.4% on ComplexConstraints v1.1, both behind Qwen3.8-27B. It trails larger models on CritPt v2 and HLE-Diamond.
Here's the structural limit: looping improves reasoning but doesn't let weights store more facts. Knowledge stays a function of total parameter count. AA-Omniscience scored in line with same-size models. Long-context benchmarks like GraphWalks BFS and MRCR v2 improve with more passes; SimpleQA Verified, SimpleVQA, and WorldVQA don't. The model closes the gap with search and tools.
How efficient is it locally?
Stanford's Hazy Research Lab and Scaling Intelligence Lab measured intelligence per joule. Inkling 2 Mini scored 0.703 on an NVIDIA DGX Spark, against 0.430 for Qwen3.6-35B-A3B, 0.159 for Gemma-4-26B-A4B, and 0.036 for Qwen3.5-27B. Fair-ness check: Inkling ran at MXFP8 with low reasoning effort while rivals ran NVFP4 or INT4.
One demo ran the model on a MacBook Pro with an M5 Pro chip and 48GB of RAM in airplane mode; it built a playable flight simulator in minutes. Another, Thinkyville, ran 20 pixel-town residents on one offline MacBook. At launch it runs on any Mac with at least 32GB of RAM through Ollama. GGUF quantizations come via Unsloth and llama.cpp. Inference runs on SGLang, vLLM, Ollama, Unsloth, NVIDIA Dynamo, and TokenSpeed; RL fine-tuning on SkyRL, Miles, and NVIDIA AutoModel; weights and fine-tuning are on Tinker, chat on Tinker Playground, full weights on Hugging Face.
What does looping do to monitoring?
This is the real story under the release. A standard transformer caps serial compute per token, so reasoning leaks into generated text where monitors can read it. Looping raises that cap, so reasoning can stay inside the model.
The companion release, TML-d24-varloop-research, trained at one to five passes with three as the main setting. It scored a 16-second no-CoT time horizon on Think Fast at one pass and 37 seconds at three. N-Hop Lookup accuracy improved out to 10 passes, double the training count. On GPQA Diamond, five-pass reasoning used 1,661 tokens versus 3,703 at one pass on questions answered correctly at all counts; uncertainty words like wait and hmm fell from 9.7 to 3.6.
Monitoring held up, mostly. In LinuxArena, Qwen3.6-35B-A3B monitored a helpful-only fine-tune: stealth rates ran 3.9% with tool calls only, 1.3% with text and thinking visible, no clear trend with pass count. Qwen3.8-27B caught almost all side-task attempts. CoT controllability is weaker: CoT-Control-QA constraint-following hit at most 0.1% for the looped models, versus 1.3% for Qwen3.8-27B.
Thinking Machines is working with the National Deep Inference Fabric on researcher access; Goodgood — rather, Goodfire — got early access and published findings. TML-d24-varloop-research is on Hugging Face now.
Google News: agentic coding (Source)
More from Priya Raman
Show full bio
Staff writer covering technology and product news in AI-coding movement at Vibe Coder.
26 articles