BasicsOpen
What is a looped transformer, and why Inkling 2 Mini runs its middle layers three times
A looped transformer sends each token through some of its layers more than once, reusing the same weights. Thinking Machines' Inkling 2 Mini stores 24 layers but applies 48 per token, trading speed for deeper reasoning without adding parameters.
A looped transformer is a language model that passes each token through some of its layers more than once, with the same weights each time. It gets the depth of a bigger model without storing more parameters. Thinking Machines Lab released Inkling 2 Mini on 20 November 2026 as an open-weights model built this way: it stores 24 layers and runs the middle 12 three times, for 48 layer applications per token1.

How the loop is built
A standard transformer is a fixed stack: each token goes through every layer once, bottom to top. Inkling 2 Mini splits its 24 layers into four blocks of six. The first block, which Thinking Machines calls the prelude, runs once. The two middle blocks run three times in a row. The last block runs once and produces the output1.
Two details make the repetition work. First, the model uses attention residuals: instead of adding every layer's output into one running sum, each layer learns its own mix of the earlier blocks' outputs. Every pass starts from the prelude's output, and the second and third passes also read what the middle blocks produced on the previous pass, which the company calls the message. Second, a learned gate controls that message. At the start of training it is fully closed, so the model behaves like an ordinary non-looped one, and it opens gradually; Thinking Machines says this let it introduce looping without destabilising training1.
Inkling 2 Mini is also a mixture of experts. It began training with 384 experts per layer, 8 picked per token; midway through, the company pruned two-thirds of them, keeping the 128 most used, then trained on 1 trillion tokens distilled from a larger internal model to recover the lost performance1.
Why the middle layers
The design rests on an intuition the company states openly: the first and last layers mostly translate between token embeddings and the model's internal representation, while the middle layers carry the more abstract reasoning1. Its experiments support the choice. Looping the middle 12 layers gave larger accuracy gains than looping the last 12 on 27 of 28 evaluations1.
- Low estimate
- High estimate
The trade: more work per token, not more memory
Looping changes where the cost falls.
- Memory stays small. The repeated layers share weights, so they are stored once. The released model needs about 20 GB, because most of its weights were trained and are shipped in 4-bit NVFP4, with the last four layers in 8-bit MXFP81. Thinking Machines supports it on Macs with at least 32 GB of RAM1.
- Each token costs more. The company counts 3.4 billion active parameters but 5.4 billion weight activations per token once the extra passes are included1. The 2.0 billion difference is two extra passes over the looped blocks, which implies roughly 1.0 billion active parameters in those blocks (PulpBrief calculation from the published figures). Reading those weights again on every pass is what limits decoding speed on a laptop.
- It still wins on balance, by the company's measure. On its scaling ladder, a non-looped version cost 7.5% less compute to train but needed 140% more inference compute to match the looped version's loss on 512,000-token agentic traces1.
How it compares with Gemma 4 and gpt-oss-20b
The obvious rivals for a laptop are Google's Gemma 4 and OpenAI's gpt-oss-20b, both open-weights models of similar size. On paper they are close; the difference is in how the work per token is spent. gpt-oss-20b has exactly as many stored layers as Inkling 2 Mini, 24, but runs each once4.
| Model | Maker | Total parameters | Active per token | Layers stored / applied | Released weights |
|---|---|---|---|---|---|
| Inkling 2 Mini | Thinking Machines | 26.4B | 3.4B (5.4B with loops) | 24 / 48 | ~20 GB |
| gpt-oss-20b | OpenAI | 20.9B | 3.6B | 24 / 24 | 12.8 GiB |
| Gemma 4 26B A4B | Google DeepMind | 25.2B | 3.8B | 30 / 30 | not stated |
| Gemma 4 31B | Google DeepMind | 30.7B (dense) | 30.7B | not stated | not stated |
Sources: Thinking Machines1; OpenAI model card4; Gemma 4 model card5. Gemma 4 31B's size is as listed in Thinking Machines' comparison table1.
The only independent score
Most published numbers come from each model's own maker, run on different test setups, so they cannot be lined up directly. The broadest independent measure is Epoch AI's Capabilities Index (ECI), which combines more than 50 benchmarks into one scale. It already covers the two rivals: Gemma 4 31B scores 144.1 and gpt-oss-20b 134.96. Inkling 2 Mini, released on 20 November, has no ECI score yet; we will add it to our Local AI Outlook when Epoch publishes one. Artificial Analysis, which tested it before launch, puts it level with Qwen3.8-27B on its own index7, a model that scores 152.6 on ECI6.
Same benchmark, different referees
SWE-bench Verified, which asks a model to fix real bugs in open-source code, has a published score for all three. Each comes from a different setup, and Gemma's was measured by Thinking Machines, not Google: the Gemma 4 model card does not report SWE-bench at all5.
The referee matters. On the MMMU Pro vision test, Google reports 76.9% for Gemma 4 31B, while Thinking Machines measured the same model at 73.4% and its own at 74.9%51. By Google's number Gemma leads; by Thinking Machines' run, Inkling does.
Where the rivals lead
On knowledge and science questions, the rivals' own numbers are strong. Google reports 84.3% on GPQA Diamond and 19.5% on Humanity's Last Exam without tools for Gemma 4 31B; OpenAI reports 71.5% and 10.9% for gpt-oss-20b at high effort54. Thinking Machines publishes neither figure for the final Inkling 2 Mini; it reports 15.2% on HLE-Diamond, a different subset, so the numbers cannot be compared18. It also concedes that Inkling 2 Mini trails Qwen3.8-27B on multi-turn chat and complex instructions1. gpt-oss-20b remains the lightest of the three: its checkpoint is 12.8 GiB and OpenAI says it runs in 16 GB of memory4.
The honest summary: for agentic coding and long tasks, the published coding scores favour Inkling 2 Mini, though they come from different setups, and an independent index score is still to come; for closed-book knowledge and science questions, no like-for-like evidence shows it ahead, which fits the company's own point that looping adds reasoning, not facts. For current models on the same independent tests, and the machine each open model fits, see the AI Model Tracker; for how quickly local models catch up with the frontier, the Local AI Outlook.
What extra passes help, and what they do not
Looping adds computation, not storage, so it helps with reasoning but not with remembering facts. In the company's tests of a research variant whose pass count can be changed, scores on long-context retrieval (MRCR, GraphWalks) and on maths and science reasoning rose with more passes, while closed-book factual tests (SimpleQA Verified, WorldVQA, AA-Omniscience) barely moved1. Knowledge, it notes, is mostly a function of total parameter count1.
The clearest measure is what the model can do with no written reasoning at all. On the Think Fast benchmark, which estimates the length of task (in human time) a model completes half the time when forced to answer directly, the research variant's horizon grew with passes and then levelled off1.
The variant was never trained with more than five passes, yet ten did not degrade it; on a chained-lookup task that isolates step-by-step reasoning, accuracy kept improving out to ten passes1.
Can we still read what it is thinking?
This is the safety question looping raises. In an ordinary transformer, the fixed number of layers caps how many sequential steps the model can take before it must emit a token; longer reasoning has to be written out as a chain of thought, where a person or a monitor can read it. Looping raises that cap, so more reasoning could happen silently1.
Thinking Machines' early answer, at this model size, is that the written reasoning got shorter but not harder to read. On GPQA Diamond questions the research variant answered correctly at every pass count, the measures moved like this1:
| Measure | 1 pass | 3 passes | 5 passes |
|---|---|---|---|
| Mean reasoning tokens | 3,703 | 1,731 | 1,661 |
| Mean words per sentence | 8.9 | 8.7 | 8.7 |
| Words found in an English dictionary | 94.6% | 94.5% | 94.4% |
| Uncertainty words ("wait", "hmm") per trace | 9.7 | 3.9 | 3.6 |
The shorter traces came mainly from less backtracking, not from compressed shorthand1. The company also found that both looped models almost never managed to reshape their chain of thought on instruction (at most 0.1% of the time in its test), and in a sabotage test with a weaker monitor model it saw no clear trend in stealth as passes increased1. It flags the main limit itself: the variant's reinforcement learning was done only at three passes, and a model trained hard at higher pass counts might compress its reasoning more aggressively1. Both models' weights are public so outside researchers can test this89.
How to read a looped model card
- Look for three numbers, not two. Total parameters set memory; active parameters set the work of one pass; weight activations per token (5.4 billion for Inkling 2 Mini) include the repeated passes.
- Speed depends on repeated reads. A looped model reads its looped weights once per pass, so it can be slower per token than a non-looped model with the same active count, even if it needs fewer tokens to finish a task.
- Expect better reasoning, not more facts. Extra passes help multi-step and long-context work; for recall, a looped model leans on search and tools like any model of its size.
Frequently asked questions
What is a looped transformer?
A looped transformer is a language model that runs some of its layers more than once for every token, reusing the same weights. It gains computational depth without storing more parameters; Inkling 2 Mini stores 24 layers and applies 48 per token1.
What is the difference between a looped transformer and a universal transformer?
The Universal Transformer of 2018 applied one shared block repeatedly to every position3. Inkling 2 Mini is a partial version of the idea: only its middle 12 layers repeat, three times, while the first and last six layers run once1.
Does looping make a model bigger or slower?
Not bigger: repeated layers share weights, so memory stays the same. Each token does more work, though: Inkling 2 Mini has 3.4 billion active parameters but 5.4 billion weight activations per token once its extra passes are counted1.
Can Inkling 2 Mini run on a laptop?
Yes. Its weights take about 20 GB, mostly in 4-bit NVFP4, and Thinking Machines supports it on Mac computers with at least 32 GB of RAM1.
Is Inkling 2 Mini better than Gemma 4 or gpt-oss-20b?
On agentic coding, the evidence points that way: its published SWE-bench Verified score is higher than both rivals', and Artificial Analysis rates it level with Qwen3.8-27B, a model well ahead of both on Epoch AI's index176. On knowledge and science questions there is no like-for-like comparison yet, and gpt-oss-20b needs less memory4.
Do looped transformers hide their reasoning?
They can do more reasoning without writing it down, which is why researchers watch them closely. In Thinking Machines' early tests, more passes made the written reasoning shorter but no less readable1.
References
- Thinking Machines Lab, "Introducing Inkling 2 Mini", 20 November 2026. https://thinkingmachines.ai/news/inkling-2-mini/
- Vaswani, A. et al., "Attention Is All You Need", arXiv:1706.03762, June 2017. https://arxiv.org/abs/1706.03762
- Dehghani, M., Gouws, S., Vinyals, O., Uszkoreit, J. and Kaiser, Ł., "Universal Transformers", arXiv:1807.03819, July 2018. https://arxiv.org/abs/1807.03819
- OpenAI, "gpt-oss-120b & gpt-oss-20b Model Card", arXiv:2508.10925, August 2025, Table 1 and Table 3. https://arxiv.org/abs/2508.10925
- Google DeepMind, Gemma 4 model card, Google AI for Developers, accessed 21 November 2026. https://ai.google.dev/gemma/docs/core/model_card_4
- Epoch AI, Epoch Capabilities Index model scores (eci_scores.csv), CC BY 4.0, accessed 21 November 2026. https://epoch.ai/benchmarks/eci
- Artificial Analysis, Inkling 2 Mini launch analysis, accessed 21 November 2026. https://artificialanalysis.ai/articles/inkling-2-mini
- Thinking Machines Lab, Inkling 2 Mini model weights, Hugging Face, accessed 21 November 2026. https://huggingface.co/thinkingmachines/Inkling-2-Mini
- Thinking Machines Lab, TML-d24-varloop-research model weights, Hugging Face, accessed 21 November 2026. https://huggingface.co/thinkingmachines/TML-d24-varloop-research


