What Is a Loop Transformer? Inkling 2 Mini's Architecture Explained
Loop transformers reuse the same layers multiple times per token instead of stacking more layers. Here's how Inkling 2 Mini applies the idea.

What is a loop transformer?
A loop transformer is a model architecture that reuses the same set of layers multiple times per token instead of adding more unique layers to get more capability. In a standard transformer, every layer has its own weights, so making a model smarter usually means making it bigger: more layers, more stored parameters, more memory. A loop transformer takes a different path. It stores a smaller set of layers but routes the token’s internal representation through some of those layers two, three, or more times before producing output. The weights are shared across passes, so the model stays small on disk, but the effective amount of computation per token goes up.
This isn’t a brand-new concept in research circles, but open, competitive, Apache 2 licensed loop models that ordinary people can download and run are new. Thinking Machines, the startup founded by former OpenAI CTO Mira Murati along with PyTorch veteran Sam Chentala and reinforcement-learning researcher John Schulman, released Inkling 2 Mini as one such model. NVIDIA’s earlier Dory model explored similar territory as a research preview, but Inkling 2 Mini scales the idea up and structures the looping differently.
TL;DR
- Loop transformers send a token’s internal representation back through the same layers multiple times rather than stacking additional unique layers, which keeps stored parameter count low while raising per-token compute.
- Inkling 2 Mini has 24 layers arranged in four blocks of six: the first and last blocks run once each (handling text-to-latent and latent-to-text conversion), while the two middle blocks loop three times, giving the equivalent of 48 layers of work from only 24 stored layers.
- The model is a mixture of experts design with roughly 26 billion total parameters and about 3.4 billion active per token (around 5.4 billion if you count the repeated passes through the loop), selecting 8 of 128 experts per layer.
- Thinking Machines tested putting the loop at different points in the network and found the middle layers benefit most, likely because that’s where processing is most abstract and least tied to specific text tokens.
- More passes through the loop improve reasoning performance substantially on agentic coding tasks but barely move the needle on tasks that depend on memorized facts, since those are stored in feed-forward layers that looping doesn’t help.
- Looping saves memory on stored weights but not on compute or KV cache, since each pass keeps its own cache entries, meaning long-context use can behave more like a much deeper model than the parameter count suggests.
- Early community reports suggest quantizing loop transformers is trickier than quantizing standard dense or mixture-of-experts models, with some early llama.cpp builds reportedly running into looping-related issues.

Remy.
How does the looping actually work in Inkling 2 Mini?
Inkling 2 Mini splits its 24 layers into four equal blocks of six. The first block takes incoming text tokens and converts them into the model’s internal, latent representation. The last block does the reverse: it takes the final internal representation and turns it back into output text tokens. Both of these blocks run exactly once per token, the same as a standard transformer.
The two blocks in between, 12 layers total, form the loop. Every token passes through these 12 layers three times in the released main version. Do the arithmetic and a single forward pass effectively becomes six (entry) plus three times twelve (the loop) plus six (exit), which comes out to 48 layers worth of computation from only 24 layers worth of stored weights.
Thinking Machines reportedly experimented with placing the loop at the end of the network rather than in the middle, and the middle placement won on most evaluations they tried. Their reasoning: the entry and exit blocks are doing translation work, converting between human-readable tokens and the model’s internal representation. The middle layers operate on that internal representation directly, in a more abstract space that isn’t tied to specific words. That abstract space is where extra computation seems to pay off most, something you could loosely think of as the model’s capacity for “thinking in representations” rather than in words.
Each pass through the loop doesn’t start from scratch. The output of one pass, referred to as the “message,” feeds into the next pass, so the third pass builds on what the second pass worked out, which built on the first. A gating mechanism controls how much of that message gets through, starting mostly closed early in training and opening up as training proceeds, which is credited with keeping the training process stable.
How is this different from NVIDIA’s Dory model?
Dory was NVIDIA’s earlier research preview of a looped transformer, built at a smaller scale (around 4 billion parameters). It demonstrated that the looping idea could work, but it stayed in research-preview territory rather than becoming a widely adopted open release.
Inkling 2 Mini differs in two major structural ways. First, the specific arrangement of the loop (four blocks, with the middle two looping three times) and the size of the model are both different design choices from what Dory used. Second, and more significant for performance, Inkling 2 Mini is a mixture of experts model, while Dory was not. Each layer in Inkling 2 Mini contains many small expert networks, and only a handful activate for any given token. Inkling 2 Mini selects 8 experts out of a pool of 128 per layer. That combination of looping plus sparse expert routing is what lets the model stay around 26 billion total parameters while activating only about 3.4 billion per token in a single pass (closer to 5.4 billion when the repeated loop passes are factored in).
Does more looping always mean a better answer?
No, and the returns diminish quickly. Thinking Machines released a research variant where the number of passes can be set anywhere from one to five using the same trained weights, which let them test this directly. On an agentic coding benchmark, where the model fixes real issues in a codebase across multiple steps, a single pass solved under 1% of problems. Three passes jumped that to roughly 47%. That’s a large gain, but it’s worth noting the checkpoint was trained primarily at three passes, so results at other pass counts may understate what a version trained specifically for those settings could achieve.
There’s a related finding that more passes reduce how many visible “thinking tokens” the model needs to produce. On the GPQA Diamond benchmark, correct answers came with around 3,700 thinking tokens at one pass but only around 1,700 tokens at three passes. The interpretation offered is that a model restricted to one pass has to compensate by reasoning out loud in text, while a model with more internal loop passes can do more of that reasoning silently, inside its latent space, before ever producing a token.
What looping does not meaningfully improve is factual recall. Specific facts tend to live in the feed-forward layers as memorized patterns, and running a token through those layers extra times doesn’t change what’s stored there. If the model memorized a fact, one pass retrieves it as well as three. If it never learned the fact, additional passes won’t manufacture it. Loop depth helps reasoning, not knowledge.
Is a loop transformer like Inkling 2 Mini worth running?
It depends on the job. Benchmark comparisons against Qwen 3’s 27B dense model show Inkling 2 Mini leading on roughly two-thirds of the benchmarks tested, with particular strength in software engineering, agentic search, and visual grounding, though Qwen still wins on some tasks like automation benchmarks. On an independent intelligence index, Inkling 2 Mini reportedly ranks second among models in its size class.
The practical appeal for local use is efficiency: Qwen 3’s 27B model is dense, meaning every token runs through all 27 billion parameters. Inkling 2 Mini activates only a few billion parameters per token even counting the loop passes, which can make it meaningfully faster on the same hardware, and its full footprint (around 20 gigabytes) fits on a laptop with 32GB or more of RAM.
The tradeoffs are real, though. Looping saves stored weight memory but not compute or context memory. Because each pass keeps its own KV cache, long-context use behaves more like a much deeper model than the parameter count implies, so memory use during extended conversations can climb faster than expected. Quantization support also appears less mature than for standard architectures, with early community reports of looping-related glitches in some quantized builds. And in hands-on use, the model reportedly shows less eagerness to jump straight into calling tools or taking action compared to Qwen 3’s 27B, instead favoring deeper analysis first. That’s led some users to suggest pairing it with a separate, faster model: use the loop transformer for planning, diagnosis, or code review, and hand off actual execution to a more action-oriented model.
Frequently Asked Questions
What is the main advantage of a loop transformer over a standard transformer?
A loop transformer can add reasoning depth without adding stored parameters. Because layers are reused across multiple passes, the model stays smaller in memory while still performing the equivalent computational work of a much deeper network.
Is Inkling 2 Mini a mixture of experts model?
Yes. Each layer contains many expert networks, and only a subset activates per token, specifically 8 out of 128 experts per layer in Inkling 2 Mini. This is combined with the loop structure, which NVIDIA’s earlier Dory model did not use.
Does looping more times always improve the output?
No. Gains are large going from one pass to three passes on reasoning-heavy tasks like agentic coding, but returns diminish quickly beyond that, and the released checkpoint was trained primarily around three passes.
Does a loop transformer need more memory than a regular model?
It needs less memory for stored weights but not necessarily less for compute or context. Each pass through the loop maintains its own KV cache, so long-context use can consume memory similarly to a much deeper non-looped model.
Can loop transformers like Inkling 2 Mini be quantized normally?
Quantization support appears less settled than for standard dense or mixture-of-experts models. Early community reports mention looping-related issues in some quantized builds, suggesting the tooling is still catching up to the architecture.





