What Is a Looped Transformer? Inkling 2 Mini Explained
Inkling 2 Mini reuses its middle 12 layers three times and routes 8 of 128 experts per token. Here is how the looped design works and why it runs slow.
For Engineering

What is a looped transformer?
A looped transformer is an AI model that sends text through some of its layers more than once, reusing the same stored weights each time, instead of passing through each layer a single time. Inkling 2 Mini, an open-weight model from Thinking Machines Lab, has 24 layers. Its middle 12 layers run three times, so every token gets 48 layer passes from only 24 layers of stored weights. The result is more computation per token without a bigger file to download.
TL;DR
- Inkling 2 Mini reuses its middle 12 layers three times, which gives 48 layer applications per token from 24 layers of weights.
- It is also a mixture-of-experts model: each token is routed to 8 of 128 expert blocks in each layer, so most of the model sits idle on any given token.
- The model card lists 26.4B total parameters and 3.4B active, but each extra loop pass adds about 1.0B, so the effective active count is 5.4B per token.
- A hybrid of local and global attention keeps very long context (up to 1M tokens) affordable.
- The trade-off is speed: looping adds compute and memory use, so it is slower than a 5B-class model would normally be.
- It fits on hardware like a 32GB Apple silicon Mac or an NVIDIA DGX Spark, and it is released under Apache 2.0.
How does the layer loop work?
A normal transformer is a stack of layers. Your text goes through layer 1, then layer 2, and so on to the end. Each layer has its own weights, so a 24-layer model stores 24 layers' worth of numbers.
Inkling 2 Mini splits its 24 layers into three zones:
| Zone | Layers | Passes per token |
|---|---|---|
| Start | First 6 | 1 |
| Loop | Middle 12 | 3 (same weights each time) |
| End | Last 6 | 1 |
Add it up: 6 + (12 × 3) + 6 = 48 layer applications. The model card describes this as 48 layer applications per token from 24 layers of weights.
Think of editing a document. A normal model writes one draft and stops. A looped model takes the middle of its process and revises it three times with the same editor. In a walkthrough of the design, the reviewer explained that each pass passes a small message to the next, with a gate that decides how much to keep and how much to add. The idea is that each round refines the last instead of repeating it.
The payoff is that you get more "thinking depth" without paying for more stored weights. The checkpoint is about 20GB, in mixed NVFP4 and MXFP8 precision (compact number formats that shrink file size).
How does mixture of experts fit in?
Looping is one trick. The second is sparsity, using a mixture-of-experts (MoE) design.
In an MoE layer, the usual feed-forward block is replaced by many smaller "expert" blocks plus a router. For each token, the router picks a few experts and ignores the rest. In Inkling 2 Mini, each layer has 128 experts and each token is routed to 8 of them.
The analogy is a hospital. You do not see every specialist for every visit. A triage desk sends you to the two or three who matter. The hospital is large, but your visit uses a small part of it.
This is why the model can hold a lot of knowledge (26.4B parameters) while using only a slice of it per token.
What do 26.4B, 3.4B and 5.4B actually mean?
These three numbers confuse people, so here is the model card's logic:
- 26.4B is the total number of parameters stored in the model.
- 3.4B is the number active for a single pass through the network.
- 5.4B is the effective active count once looping is included. Each extra pass through the looped layers adds about 1.0B effective active parameters. With three passes, that is 3.4B + 1.0B + 1.0B = 5.4B per token.
Compare that with the other models in the model card's evaluation table, which lists activated and total parameters. Inkling 2 Mini is 5 activated of 26 total. Gemma 4 31B (31 of 31), Muse Glimmer (30 of 30) and Qwen3.8-27B (27 of 27) are all dense models that use every parameter on every token. Nemotron 3.5 Super VL is 12 of 125.
So Inkling 2 Mini does a fraction of the per-token arithmetic of the dense models, yet the model card reports it at or near the top of many coding benchmarks in that comparison. Those are the publisher's own numbers, so treat them as a starting point, not a verdict.
How does hybrid attention keep long context cheap?
Attention is how a model looks back at earlier text. Looking at everything is expensive, and the cost grows fast as the text gets longer. Inkling 2 Mini supports a context window of 1 million tokens, which would be costly if every layer looked at everything.
The model card says attention is a hybrid of local and global layers. According to a reviewer's explanation of the design, most layers look only at the most recent 1,024 tokens, and every sixth layer looks at the whole context. Local layers are cheap. The occasional global layer lets information from far back still reach the output.
Picture reading a long contract. Most of the time you focus on the page in front of you. Every so often you flip back to the definitions section.
The model also takes images. Pictures are encoded by a vision transformer and projected into the same space as text, so the decoder handles both together. Output is text only.
Why is it slower than its size suggests?
Based on its 5.4B effective active parameters, you might expect this model to be quick. In practice it can feel slow. There are a few reasons.
- Passes happen in sequence. Pass two of the loop needs the result of pass one. You cannot run them side by side for the same token.
- Each pass keeps its own memory. The reviewer's explanation notes that every pass keeps its own working memory and adds compute. With long context, that memory adds up.
- All 26.4B parameters still have to be stored. You need room for the whole 20GB checkpoint even though only a slice is used per token.
This matched what one reviewer saw. Running the model through llama.cpp, he saw it use just over 32GB of VRAM with the long context window set. In an agent test (finding a hidden billing bug in a solar-quote app), it was still working after more than an hour without pinpointing the error, while Qwen3.8 had found the same kind of bug in about five to seven minutes in an earlier test. He stopped it and called it a fail. Without the agent harness (the wrapper that lets a model run tools and loop on a task), it was much faster. It produced a working interactive HTML simulation from a hand-drawn sketch, read a flow diagram correctly, and declined to invent details about a movie that does not exist.
That is one person's testing, on one quantized setup. It does not prove the architecture is always slow. It does show the trade-off in a real workflow: a model that looks small on paper may take long in agentic work, partly because of how much it thinks and partly because of the loop. The reviewer also noted the model card says it is not strong outside English, and it misidentified one harder flag.
How can you run it?
The model card lists these options:
- Hardware: one NVIDIA DGX Spark, or Apple silicon with 32GB or more of memory (MacBooks, Mac minis, Studios). Other GPUs work, with 32GB or more of VRAM recommended.
- Software: Hugging Face, SGLang, vLLM, Unsloth (including quantized GGUF versions), llama.cpp for GGUF, and Ollama and Exo Labs on Apple silicon.
- Hosted access: the Tinker platform provides API access, and the Tinker playground offers inference-only access.
- License: Apache 2.0, so commercial use and fine-tuning are allowed within the terms.
The model card gives a release date of November 20, 2026.
What does this mean for you?
If you are a manager or analyst choosing tools: do not judge an AI model by its parameter count alone. "5B active" tells you less than it used to. Looping and expert routing change what size means for speed and memory. Ask how long a real task takes on your hardware, not just how it scores.
If you work with sensitive data: an open-weight model that fits on a 32GB machine means some work can stay on your own device instead of going to a cloud service. Check with your IT or security team before putting company data into any model.
If you are technical or curious: try it without an agent harness first. The reviewer found it much faster that way, and it handled image reading and analysis well. Test it on a real task of yours, such as summarizing a diagram or reading a screenshot, before assuming it will serve as a coding assistant.
A simple test you can copy: pick three tasks you do weekly, run each on two models, and write down the time, the quality, and whether you had to fix anything. That beats any benchmark table.
How could you keep track of model tests like these?
If your team is comparing models, a shared log beats scattered spreadsheets. With Remy, you can describe a small internal app in plain English, such as a model-test tracker with fields for the task, model, setup, time taken, pass or fail and notes. Remy builds it as a full-stack app with sign-in and a database, and deploys it to a live URL. The platform also offers nearly 400 AI models, so the same app could run test prompts against several of them. It is a modest tool, but it replaces a messy spreadsheet.
Frequently Asked Questions
Is a looped transformer the same as a mixture-of-experts model?
No. They are separate ideas that Inkling 2 Mini combines. Looping reuses the same layers several times. Mixture of experts means each token is processed by only a few specialist blocks (8 of 128 here) instead of the whole layer.
How many parameters does Inkling 2 Mini really use per token?
The model card lists 26.4B total parameters and 3.4B active. Each extra pass through the looped layers adds about 1.0B effective active parameters, so with three passes the effective figure is 5.4B per token.
Can Inkling 2 Mini run on a laptop?
It can run on Apple silicon devices with 32GB or more of memory, or on one NVIDIA DGX Spark, according to the model card. The checkpoint is about 20GB. One reviewer saw just over 32GB of VRAM used with a long context window configured, so memory is the main limit.
Why was it slow in the reviewer's coding test?
The model card does not explain that test, so this is partly inference. The loop adds sequential compute and memory per pass, and the reviewer saw the model reason for a very long time without finding the bug. Without the agent harness, it ran much faster in his other tests.
Is Inkling 2 Mini free to use commercially?
It is released under the Apache 2.0 license, which generally permits commercial use. The model card also links an acceptable use policy, so read that before building a product on it.
Useful for
How we source, write, and correct our articles. Editorial standards
Related articles

What Is a Looped Transformer? NVIDIA Dory Explained

How Does SenseNova-Loop Get More Depth Without More Parameters?

What Is an Infinite-Parameter LLM, and What Does It Change for Data Engineering?
