# How Inkling 2 Mini fits a looped 26.4B mixture-of-experts model on a laptop

Thinking Machines Lab has released Inkling 2 Mini, an Apache 2.0 mixture-of-experts model that stores 24 layers but runs 48, keeps 128 of 384 experts, and ships in 4-bit and 8-bit formats so it fits in about 20GB.

On 20 November 2026, Thinking Machines Lab released Inkling 2 Mini, an open-weights language model that the company describes as "small enough to run on your laptop." It has 26.4 billion parameters in total, but only a small slice of them works on each token. Its checkpoint is about 20GB, and the model card lists Apple silicon machines with 32GB or more of memory and a single NVIDIA DGX Spark as supported hardware.

Inkling 2 Mini combines several ideas that are usually studied separately: looped layers that reuse the same weights more than once, attention residuals that let layers choose what to read from earlier layers, pruning that removes two thirds of the experts during training, distillation that "heals" the pruned model, and training in 4-bit floating point from start to finish. Together they show how labs try to get more capability out of fewer stored bytes, the resource that matters most on a laptop.

## What happened

### Thinking Machines Lab releases Inkling 2 Mini (20 November 2026)

Thinking Machines Lab published an announcement post, a model card and a Hugging Face repository. The key facts:

- **Size:** 26.4B total parameters, 3.4B active per token, and about 5.4B "effective" active parameters per token once the looped layers are counted.
- **Architecture:** a 24-layer decoder-only transformer with sparse mixture-of-experts feed-forward layers. Each token is routed to 8 of 128 experts per layer. Attention mixes local and global layers.
- **Looping:** the middle 12 layers run three times with shared weights, giving 48 layer applications per token.
- **Inputs and outputs:** text and images in, text out. A vision transformer encodes images into the same hidden space as text.
- **Context window:** up to 1M tokens.
- **Precision:** a single checkpoint of about 20GB in mixed NVFP4 and MXFP8.
- **License:** Apache 2.0.

The weights are on Hugging Face, and the model is also offered through Thinking Machines' Tinker platform for fine-tuning, with an inference-only playground. The announcement lists Ollama support on Macs with at least 32GB of RAM, GGUF builds through Unsloth and llama.cpp, and support in SGLang, vLLM, NVIDIA Dynamo and TokenSpeed, among others.

The company reports many benchmark scores, none independently reproduced at the time of writing. Examples: 79.2% on SWE-bench Verified (bash only), 71.6% on Terminal Bench v2.1, 48.2% on DeepSWE v1.1 and 49.3% on ARC-AGI-2. The announcement places it level with Qwen3.8-27B on the Artificial Analysis Index v5.0 (20.1) and says it trails that model on some tests, such as Terminal Bench v2.1 (73.0% for Qwen3.8-27B) and the AA-Omniscience non-hallucination rate (63.4% against 71.4%).

### A variable-loop research model ships alongside it (20 November 2026)

Thinking Machines also released TML-d24-varloop-research, a sibling model under the same Apache 2.0 license. It has the same 24-layer shape, but it was trained with between one and five passes through the looped layers, so the number of passes can be chosen at inference time. Its card gives 3.4B active parameters at one pass, 5.4B at three and 7.4B at five. The company says it is not intended for production use and warns it "may behave unpredictably at pass counts other than 3."

## Looped layers: reading the same book chapter three times

A normal transformer is a stack of distinct layers, each with its own weights. More processing per token means more layers, and every new layer costs memory.

A looped transformer reuses some layers. The idea goes back at least to the 2018 Universal Transformers paper, which applied the same transition step repeatedly so the model could refine each position's representation over several steps. Inkling 2 Mini applies the idea to a modern mixture-of-experts model.

Its 24 stored layers are grouped into four blocks of six:

| Block | Stored layers | Times run per token | Layer applications |
|---|---|---|---|
| Prelude (first block) | 6 | 1 | 6 |
| Middle block A | 6 | 3 | 18 |
| Middle block B | 6 | 3 | 18 |
| Coda (last block) | 6 | 1 | 6 |
| **Total** | **24** | | **48** |

An everyday analogy: a non-looped model reads 48 different book chapters once each. A looped model owns 24 chapters but rereads the middle ones three times. Rereading costs time, not shelf space, and on a laptop shelf space (memory) is the tighter limit.

Why loop the middle and not the end? Thinking Machines reports that looping the middle 12 layers beat looping the last 12 on 27 of 28 evaluations in its experiments. It also reports a "compute-equivalent gain" at training step 2,000 of 1.51 to 1.91 times for middle-layer looping, against 1.24 to 1.36 times for last-layer looping.

The company also compared an unpruned looped model with a non-looped one. It says the non-looped model used 7.5% less training compute, but needed 140% more inference compute to reach the same loss on 512k-token agentic traces.

The site's article on [SenseNova Loop 9B](/articles/sensenova-loop-9b-looped-transformer) covers another recent looped model.

## Attention residuals and the gated "message"

In a standard transformer, each layer adds its output to a running total called the residual stream, always with a fixed weight of one. The Attention Residuals paper points out that this makes hidden states grow with depth and weakens each layer's contribution. Looping doubles the effective depth, from 24 to 48 layer applications.

Inkling 2 Mini uses attention residuals to address this. The method comes from a March 2026 paper by the Kimi Team. Instead of adding every earlier output with a fixed weight, each layer runs a small softmax attention over earlier outputs and learns, for each input, how much to draw from each one. The paper's practical version, Block AttnRes, attends over block-level summaries rather than every single layer, which keeps memory costs down. If the plain residual stream is a single shared notebook that everyone writes into, attention residuals give each layer a stack of earlier notes and let it decide which ones to read.

The Thinking Machines announcement describes how this fits the loop. Each layer reads the outputs of earlier blocks and learns its own mix. Each pass through the looped blocks starts from the prelude's output, and the second and third passes also receive a "message" from the previous pass. A learned gate blocks that message at first, so early in training each pass behaves like an ordinary non-looped model. The gate then gradually opens.

If you want to see how attention itself mixes information, the site's [attention simulation](/ai-simulations/attention) shows the weighting step that attention residuals reuse across layers instead of across tokens.

## Pruning experts, then healing the model

Inkling 2 Mini is a mixture-of-experts model. In each MoE layer, a small router picks a few "expert" feed-forward networks for each token, and only those run. The site's [mixture-of-experts simulation](/ai-simulations/mixture-of-experts) shows this routing step by step.

The announcement says training began with 384 experts per layer and 8 chosen per token, a ratio the company calls sparsity 48 (384 divided by 8). During midtraining, the team pruned two thirds of the experts, keeping the 128 that were used most in each layer. The released model therefore routes each token to 8 of 128 experts.

Training with many experts gives the router fine-grained choices, and usage statistics then show which experts carry real load. Removing the least-used ones shrinks the stored model to fit consumer hardware. The general idea is covered in the site's guide to [pruning](/tools/pruning).

Pruning hurts, because the removed experts were doing some work. Thinking Machines repaired this with what it calls healing: about 1 trillion tokens of distillation from a larger internal Inkling model, so the remaining experts learn to take over the jobs of the removed ones. Distillation means training a student model to match a teacher's output probabilities rather than only the correct next token; the [knowledge distillation](/tools/knowledge-distillation) page explains why those soft targets carry more information.

After healing, post-training followed a familiar path. The announcement lists supervised fine-tuning with a data mix similar to Inkling 2 Small, then reinforcement learning totaling 2.2 trillion tokens over 2,000 steps, and finally on-policy distillation for alignment.

## Training and shipping in 4-bit and 8-bit

Most models are trained at higher precision and compressed to 4 bits afterwards, which can cost accuracy because the model never learned to work with coarse numbers. Inkling 2 Mini skips that step. The announcement says expert layers were trained in 4-bit NVFP4 from pretraining through RL, using a dedicated kernel on NVIDIA GB300 hardware. The final 4 layers ran in 8-bit MXFP8. The model ships the same way: 20 layers in NVFP4 and 4 in MXFP8, which the company says means no conversion loss at deployment.

What do these formats look like? According to NVIDIA's technical description, an NVFP4 value is a 4-bit float with 1 sign bit, 2 exponent bits and 1 mantissa bit. Groups of 16 values share an 8-bit scale in FP8 (E4M3) format, and the whole tensor gets one FP32 scale on top. Including the shared scales, this works out to about 4.5 bits per value. NVIDIA contrasts it with MXFP4, which uses blocks of 32 values and a power-of-two scale. MXFP8 belongs to the microscaling family described in a 2023 paper: narrow numbers paired with a per-block scale, here with 8 bits per element.

An analogy: a shared scale is like writing prices in a shop as "in thousands" at the top of each shelf label. Each item only needs a few digits, because the shelf label carries the size. Smaller shelves (16 items instead of 32) mean each label fits its items more closely, so less precision is lost.

| Format | Bits per element | Values sharing a scale | Scale type | Where Inkling 2 Mini uses it |
|---|---|---|---|---|
| BF16 | 16 | none | none | Common reference format, for comparison |
| MXFP8 | 8 | per block | shared block scale | Final 4 layers |
| NVFP4 | 4 (about 4.5 with scales) | 16 | FP8 E4M3, plus FP32 per tensor | The other 20 layers |

For background, the site's [quantization simulation](/ai-simulations/quantization) shows how rounding to fewer bits changes values, and the [training numeric precision simulation](/ai-simulations/train-numeric-precision) shows why low-precision training needs careful scaling.

## Active parameters: why 3.4B and 5.4B are both correct

The announcement says 3.4B active parameters per token and, in the same breath, "5.4B weight activations per token to account for looping." Its benchmark table lists the model as 5.4/26.4, and the Hugging Face table rounds this to 5/26. This looks like a contradiction, but the two numbers measure different things.

- **3.4B** counts the distinct parameters a token can touch in one trip through the 24 stored layers: shared parts such as attention, plus the 8 chosen experts in each MoE layer.
- **5.4B** counts parameter uses. The middle 12 layers run three times, so their weights are applied three times. The model card says each extra pass adds about 1.0B effective active parameters. Two extra passes give 3.4B plus 2.0B, which equals 5.4B. The variable-loop sibling confirms the pattern: 7.4B at five passes.

The practical rule: use about 5.4B when you estimate compute per token, and use 26.4B, or the 20GB checkpoint, when you estimate memory. The model card says this directly in its limitations: compute per token is higher than the active-parameter count suggests, because of the looped layers. When you compare Inkling 2 Mini with another MoE model that lists "3B active," compare the 5.4B figure, not the 3.4B one.

## What it means in practice

**Memory, not compute, decides what runs locally.** Generating text one token at a time is usually limited by how fast weights move from memory, not by arithmetic. Thinking Machines notes that its decoding speed chart is a theoretical ceiling assuming 614 GB/s of memory bandwidth, BF16 weights and a batch size of one. Looping spends extra compute to avoid extra stored weights, which suits that bottleneck. The [KV cache simulation](/ai-simulations/kv-cache) shows the other memory cost to plan for: long contexts add a cache on top of the weights, so a 1M-token window does not mean 1M tokens will fit on a 32GB machine.

**Efficiency per watt is becoming a headline metric.** The announcement cites intelligence per watt, a measure from a paper first posted in November 2025 and defined as task accuracy per unit of power. The company says the Stanford Hazy Research and Scaling Intelligence Labs measured Inkling 2 Mini at 0.703 on a DGX Spark at MXFP8 with low reasoning effort, against 0.430 for Qwen3.6-35B-A3B and 0.159 for Gemma-4-26B-A4B (both NVFP4), and 0.036 for Qwen3.5-27B (INT4). Treat these as a single reported measurement. The paper itself found that local models answered 88.7% of a million real-world single-turn queries correctly.

**Local coding agents get a stronger option.** Thinking Machines showed the model building a flight simulator offline on a MacBook Pro with an M5 Pro chip and 48GB of memory, and running a 20-villager simulation on one offline MacBook. If you already run local agents, as described in the site's guide to [self-hosted open-weight coding agents](/articles/self-hosted-open-weight-coding-agents), this is a model to test. The model card's limitations matter here: it can get stuck in repetitive reasoning loops when debugging, and it may delete or overwrite files without confirmation.

**Runtime support is still young.** The model card warns that local runtime support for looped models is new and speed varies. Runtimes must know that some layers repeat. The site's article on [llama.cpp 1.0](/articles/llama-cpp-1-0-local-inference) covers the local stack that GGUF builds will run on.

**Monitorability looks unchanged at this scale.** One worry about looped models is that more hidden computation could replace visible chain-of-thought reasoning and make oversight harder. Using the variable-loop model, Thinking Machines measured a no-CoT time horizon, the metric from the 2026 "Think Fast" paper, at 16 seconds with one pass and 37 seconds with three, roughly flat after that. Reasoning traces shortened from 3,703 tokens at one pass to 1,731 at three. The company says legibility held and that, at this scale, it does "not see a meaningful reduction in the monitorability" of the model's reasoning.

## What to do now

1. **Test on hardware you actually own.** Start with Ollama on a Mac with at least 32GB, or a DGX Spark, and measure tokens per second at the context lengths you use.
2. **Budget compute with 5.4B, memory with 20GB.** Use the effective active figure for latency and energy estimates, and the checkpoint size plus KV cache for memory.
3. **Prefer the native NVFP4/MXFP8 checkpoint where supported.** The model was trained in these formats, so re-quantizing to another scheme may lose what the native format preserves. If you use community GGUF builds, compare quality against the official weights.
4. **Reproduce the benchmarks you care about.** All scores are company-reported. Run your own tasks, especially coding and tool-use tasks, before you switch models.
5. **Set output-token and agent-turn limits.** The model card recommends them because the model can loop in its reasoning when debugging.
6. **Sandbox agent runs.** Require confirmation for destructive actions such as deleting or overwriting files, as the model card advises; the site's page on [sandboxing](/tools/sandboxing) covers the basic patterns.
7. **Check non-English quality before deployment.** The card says output quality is lower outside English, with mixed-language output seen in Chinese tests.
8. **Use the variable-loop model for research only.** If you want to study how pass count changes behavior, TML-d24-varloop-research is built for that, but keep production on Inkling 2 Mini at three passes.

## Risks and open questions

**Company-reported numbers are not independent results.** Benchmark scores, the looping gains and the intelligence-per-watt comparison all come from Thinking Machines' own materials.

**Looping changes the cost model.** Tools that estimate speed from "active parameters" will underestimate compute for looped models.

**Pruning and healing may leave gaps.** The model card says Inkling 2 Mini is less capable than Inkling 2 Small on most evaluations, especially factual recall, and can state errors confidently. It is not clear how much of that comes from small size and how much from pruned knowledge.

**Agent safety still depends on the deployer.** The card notes the model may take destructive actions without confirmation and may misreport outcomes.

**Monitorability findings are limited to this scale.** The company's conclusion applies to models this size. Whether larger looped models keep their reasoning visible is an open question the "Think Fast" authors suggest tracking over time.

**Watch next:** independent benchmark runs and intelligence-per-watt measurements; how quickly llama.cpp, Ollama and vLLM optimize looped execution; whether other labs adopt train-time NVFP4 end to end; and whether variable-loop models become production options that let users dial compute per request.

## Frequently asked questions

### Can Inkling 2 Mini really run on a laptop?

Yes, according to Thinking Machines. The model card lists Apple silicon machines with 32GB or more of memory as supported, and the company demonstrated it offline on a MacBook Pro with 48GB.

### Is Inkling 2 Mini open source?

The weights are released under the Apache 2.0 license, which allows commercial use and modification. The training data is not released; the model card describes it only in general terms, such as public internet data, third-party data and synthetic data.

### What does "looped" mean in plain terms?

The model stores 24 layers but runs the middle 12 of them three times for every token. That gives 48 layer applications without storing 48 layers of weights.

### Why are there two active parameter numbers?

3.4B is the number of distinct parameters a token uses; 5.4B counts the looped layers each time they run. Each extra pass adds about 1.0B, so two extra passes give 5.4B. Use 5.4B to estimate compute per token.

### How long a context does it support?

The model card and Hugging Face page state a context window of up to 1M tokens. In practice, the memory needed for the KV cache grows with context length, so a laptop will hit memory limits well before that on long inputs.

## Summary

Inkling 2 Mini, released by Thinking Machines Lab on 20 November 2026, is a 26.4B-parameter mixture-of-experts model under Apache 2.0 that fits in about 20GB and runs on 32GB Macs and a DGX Spark. It gets there by combining several techniques: it loops its middle 12 layers three times to reach 48 layer applications from 24 stored layers, uses attention residuals and a gated message to control how passes combine, prunes from 384 to 128 experts and heals the loss with about 1 trillion tokens of distillation, and trains and ships in NVFP4 and MXFP8. Its two active parameter figures are both correct: 3.4B distinct parameters, 5.4B parameter uses per token. The benchmark and efficiency figures are company-reported, so the right next step is to test it on your own hardware and tasks, with token limits and a sandbox in place.

## Sources

- [Thinking Machines Lab: Inkling 2 Mini announcement](https://thinkingmachines.ai/news/inkling-2-mini/)
- [Thinking Machines Lab: Inkling 2 Mini model card](https://thinkingmachines.ai/model-card/inkling-2-mini/)
- [Hugging Face: thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini)
- [Thinking Machines Lab: TML-d24-varloop-research model card](https://thinkingmachines.ai/model-card/tml-d24-varloop-research/)
- [arXiv: Universal Transformers](https://arxiv.org/abs/1807.03819)
- [arXiv: Attention Residuals](https://arxiv.org/abs/2603.15031)
- [arXiv: Think Fast: Estimating No-CoT Task-Completion Time Horizons of Frontier AI Models](https://arxiv.org/abs/2606.07157)
- [arXiv: Intelligence per Watt: Measuring Intelligence Efficiency of Local AI](https://arxiv.org/abs/2511.07885)
- [NVIDIA Technical Blog: Introducing NVFP4 for Efficient and Accurate Low-Precision Inference](https://developer.nvidia.com/blog/introducing-nvfp4-for-efficient-and-accurate-low-precision-inference/)
- [arXiv: Microscaling Data Formats for Deep Learning](https://arxiv.org/abs/2310.10537)
