When an AI model tackles a difficult question, it fundamentally has two ways to spend extra compute. The familiar way is horizontal: write out a step-by-step chain of thought, producing token after token where each step feeds back into the context window as input. The alternative way is vertical: think deeper about every single token before writing anything down.
For the past two years, nearly all public reasoning breakthroughs have relied on the horizontal path. Thinking Machines’ Inkling 2 Mini (released in November 2026) is the most prominent public bet on the vertical approach so far. Rather than expanding its parameter footprint, the model stores 24 physical transformer layers but executes 48 layers of depth per token by running its middle 12 layers three times in a loop. The payoff shows up directly in how the model reasons. On GPQA Diamond questions where its variable-loop research sibling answers correctly across all loop settings, a single pass takes an average of 3,703 reasoning tokens. With three passes through those middle layers, that volume drops to 1,731 tokens — and down to 1,661 with five passes. The model reaches the exact same correct answers while writing less than half as much. Even more telling, verbal hesitation markers like “wait, actually, hmm” drop from 9.7 to 3.9 per response.
In this deep dive, we examine how looped transformers work, how Inkling 2 Mini wires its recurrent core, what three loop passes bought (and what they failed to improve), and where recurrent depth fits into the broader landscape of latent reasoning — alongside tokens, continuous-thought architectures (like Coconut and our own Latent-GRPO work), and tiny recursive networks. We conclude with a practical comparison of trade-offs and key open questions.
Note on data: All Inkling metrics cited are vendor-reported figures published by Thinking Machines; we did not run independent evaluations for this post.
1. Two ways to give a model more time to think #
At an architectural level, a standard transformer with L layers can perform at most L sequential computational steps per generated token. While self-attention lets each position look across the entire preceding context, it cannot execute a reasoning chain that requires more sequential dependency steps than the network has physical layers.
Consider following a chain of ten pointer lookups (): each hop strictly requires the result of the previous one. A shallow feedforward network simply runs out of serial steps in a single forward pass.
Chain of thought gets around this ceiling by trading memory and generation time for depth. Every reasoning token the model writes is read back as input for the next forward pass, scaling the total serial computation with the length of the written trace. That is why reasoning models work so well — and also why they are so expensive to serve. Every reasoning token requires a full forward pass, occupies a context slot, and permanently expands the KV cache. In long agentic tasks or multi-hop routing, rollouts frequently hit context length limits before finishing (a failure mode we observed in 19% to 34% of rollouts in our Latent-GRPO experiments).
A looped transformer approaches this serial depth bottleneck from the opposite direction: it makes each token’s vertical column taller instead of generating more columns. By routing intermediate representations through a core block of layers multiple times with shared weights, the model gains computational depth without inflating its parameter count or burning context tokens.
Both approaches consume compute. The practical question is which one buys more reasoning capability per unit of hardware compute, VRAM, and generation latency — and what trade-offs emerge along the way.
2. What a looped transformer is #
Almost all modern recurrent-depth architectures share a clean three-part structure:
- A prelude : initial entry layers that map raw input tokens into the model’s internal representation space.
- A recurrent core : a block of layers with shared weights that executesr sequential passes over the hidden state.
- A coda : final exit layers that project the refined hidden state back into next-token vocabulary logits.
To keep representations stable and prevent features from drifting across multiple iterations, the recurrent core typically receives the prelude’s output again on each pass as an anchor:
Recurrent computation in neural networks is not a new idea, but recent work has scaled it to production-scale models:
- Universal Transformers (Dehghani et al., 2018): Applied a single shared layer repeatedly across all positions, using Adaptive Computation Time (ACT) to let each position halt dynamically.
- Reasoning with Latent Thoughts (Saunshi et al., ICLR 2025): Proved theoretically that ak -layer model loopedL times can closely approximate akL -layer network on algorithmic reasoning tasks (such as multi-digit addition and multi-hop induction), demonstrating thatT loops can simulateT steps of chain of thought. For many logic tasks, depth matters far more than parameter count.
- Huginn (Geiping et al., NeurIPS 2025): Trained a 3.5B recurrent-depth model on 800B tokens using just 8 stored layers (2 prelude, 4 core, 2 coda). By sampling loop counts with a mean of 32 and truncating backpropagation to the final 8 iterations, the model reached 132 effective layers and scaled reasoning performance up to a compute budget equivalent to a 50B-parameter dense model.
- Ouro (Zhu et al., 2025): Trained 1.4B and 2.6B looped models on 7.7T tokens with learned, entropy-regularized halting, matching benchmarks of models up to 12B parameters. The authors noted that gains stemmed from better reasoning over knowledge rather than storing more facts — a distinction central to Section 5.
- Mixture-of-Recursions (Bae et al., 2025): Assigned dynamic loop counts per token via a routing mechanism so simpler tokens exit early. It also revealed a key systems challenge: when tokens exit at different depths, downstream layers must handle missing KV cache entries for earlier positions.
A looped model is not a bigger model in disguise. Looping increases compute depth, not parameter memory. A 24-layer model executed as 48 layers stores only 24 layers of weights: it has the VRAM footprint of 24 layers and the compute budget of 48. That trade-off explains both its strengths and its limitations.
3. Inside Inkling 2 Mini #
Inkling 2 Mini is a 24-layer decoder incorporating sparse Mixture-of-Experts (MoE) feed-forward layers. The table below summarizes its key architectural specifications, drawn from the announcement and the model card:
| Inkling 2 Mini at a glance | |
|---|---|
| Parameters | 26.4B total; 3.4B active per token on one pass; each extra pass adds about 1.0B effective active parameters, reaching 5.4B at three passes |
| --- | --- |
| Layers | 24 stored in four blocks of six; blocks 2 and 3 (layers 7–18) run three times, yielding 48 layer applications per token |
| Experts | Each token routes to 8 of 128 experts per layer; pruned from 384 experts mid-training, then healed on 1T tokens distilled from a larger internal model |
| Attention and context | Hybrid local and global attention; context window up to 1M tokens |
| Precision and size | Expert layers in NVFP4, final four layers in MXFP8; single checkpoint footprint of roughly 20 GB |
| Deployment targets | Runs on Apple silicon or single GPUs with 32 GB+ VRAM; supported across vLLM, SGLang, Ollama, llama.cpp, and others |
| License | Apache 2.0, open weights |
How the loop is wired. The prelude (layers 1–6) executes once, producing a base embedding that feeds into every subsequent loop pass. In passes two and three, the recurrent core also receives the output of the preceding pass (what Thinking Machines terms the message), modulated by a learned gate vector.
Crucially, this gate is initialized to near-zero at the start of training. That means early in training, each loop pass executes nearly identically to a standard non-looped layer stack. As optimization proceeds, the gate gradually opens, allowing deeper abstract representations to flow stably into subsequent passes without destabilizing early gradients. To enrich communication across iterations, the model also employs Attention Residuals: instead of maintaining a simple running sum of layer outputs, layers attend across the representations of earlier blocks with learned weights.
Why loop the middle layers? In deep language models, the outer layers serve primarily as representation translators: early layers convert discrete tokens into contextual embeddings, while final layers project features back onto vocabulary logits. The middle layers perform the bulk of abstract reasoning and semantic synthesis.
Thinking Machines tested this architectural hypothesis directly. At training step 2,000, a non-looped baseline required 1.51× to 1.91× more training compute to match the validation loss of looping the middle 12 layers, compared to 1.24× to 1.36× when looping the final 12 layers. Across 28 evaluation checkpoints, looping the middle block won in 27 cases.
Training vs. inference economics. Prior to expert pruning, the looped architecture cost about 7.5% more training compute than an unlooped baseline of equivalent parameter count. However, the non-looped model required 140% more inference compute to achieve comparable loss on 512K-token agentic execution traces. In production systems where open models handle millions of queries over their lifetime, investing slightly more compute during training to slash inference costs is an attractive trade.
Alongside the production checkpoint, Thinking Machines released TML-d24-varloop-research: the same 24-layer shell trained with variable loop depths (1 to 5 passes) and post-trained at three passes, allowing developers to adjust pass count dynamically at runtime. While the model card cautions that it “may behave unpredictably at pass counts other than 3”, this research variant provides the empirical data needed to analyze what each additional loop pass contributes.
On Thinking Machines’ internal evaluations, Inkling 2 Mini reaches 48.2% on DeepSWE v1.1 and 79.2% on SWE-bench Verified (bash only), outperforming Qwen3.8-27B at 42.2% and 77.8%. These are vendor-reported figures, and the authors note that evaluation harnesses vary across models.
4. What the loop buys: shorter, calmer reasoning #
The clearest empirical evidence for looped reasoning appears on the GPQA Diamond benchmark. Thinking Machines evaluated the subset of problems that the variable-loop research model answered correctly across all pass counts (from one to five), measuring how many tokens it generated before producing an answer:
- **1 pass:** 3,703 reasoning tokens
- **3 passes:** 1,731 reasoning tokens (−53%)
- **5 passes:** 1,661 reasoning tokens (−55%)
Along with the shorter length, overt reasoning friction dropped significantly: verbal hesitation markers (“wait”, “actually”, “hmm”) fell from 9.7 occurrences per answer at one pass down to 3.9 at three passes and 3.6 at five passes. Meanwhile, sentence length and standard vocabulary distributions remained steady, confirming that the reasoning became genuinely more concise rather than artificially cryptic.
However, generating fewer tokens does not automatically guarantee lower serving costs, because each individual token now requires more floating-point operations and memory reads. To quantify the net trade-off, we multiplied the published token lengths by the model’s reported effective active parameters (3.4B at 1 pass, 5.4B at 3 passes, and 7.4B at 5 passes), which tracks both matrix FLOPs and per-token memory-bandwidth fetch volume during single-stream autoregressive decoding:
- Three passes are slower per token, but faster per completed answer. Each token reads about 1.6× the active weights (5.4B vs 3.4B), but because total token volume drops by 53%, the overall answer requires approximately 26% less total compute and consumes half as much context window space. (The precise KV cache savings depend on whether intermediate loop passes share cache slots, which Thinking Machines has not disclosed).
- Five passes hit diminishing returns. Five passes generate almost the same token count as three passes (1,661 vs 1,731 tokens) but pay 7.4B active parameters per token. As a result, total compute per answer rebounds to roughly 0.98× of the single-pass baseline. The practical sweet spot is the exact pass count the model was optimized for during post-training.
- Internal cognitive horizon expands. On theThink Fast benchmark — which evaluates the difficulty of tasks (measured in human cognitive time) a model can successfully solve without writing any chain of thought — the variable-loop model’s horizon jumped from 16 seconds at one pass to 37 seconds at three passes before plateauing. On synthetic multi-hop induction tasks, accuracy continued improving out to ten passes, even though the architecture was never trained past five.
While these numbers are averages over filtered subsets and omit prompt prefill costs, the underlying trend is unmistakable: depth effectively replaced externalized writing.
5. What the loop does not buy: knowledge #
Looping provides additional computational depth, not additional storage capacity. When you evaluate the model across different benchmarks, the results divide cleanly along that line: reasoning, multi-hop induction, and long-context agentic tasks scale sharply with loop passes, while factual knowledge retrieval remains completely flat.
As Thinking Machines observed, factual knowledge “is mostly a function of total parameter count.” On knowledge-intensive benchmarks such as SimpleQA Verified, AA-Omniscience, SimpleVQA, and WorldVQA, scores remain unchanged regardless of pass count. The authors of Ouro observed the exact same dynamic in smaller recurrent models: depth enhances a model’s ability to manipulate, synthesize, and cross-reference information it already holds, but does not increase total parametric memory.
Reading a difficult puzzle three times helps you work out the logic; it does not add missing facts to your memory. If your bottleneck is factual recall, you need more parameters or external retrieval, not more recurrent passes.
6. The latent reasoning family tree #
The umbrella term “latent reasoning” encompasses several distinct architectural approaches. The clearest way to categorize them is by looking at where the extra computation happens and whether an engineer can inspect the intermediate steps:
- Explicit chain of thought (horizontal, human-readable): Adds standard written tokens. Fully auditable, trained via standard SFT and RL on token logits. The trade-off is context bloat, slower time-to-first-token, and rollout truncation.
- tokens (Goyal et al., ICLR 2024, horizontal, opaque): Inserts special dummy
<>tokens into the sequence so the model gets additional forward passes before answering without generating visible text. They help only when present in both pretraining and fine-tuning: in a 1B model, tokens lifted SQuAD exact match by 18%, CommonSenseQA by 8%, and GSM8K by 1%. - Continuous thoughts (horizontal, opaque vectors): Generates sequential steps, but instead of mapping hidden states to discrete vocabulary words, feeds the continuous vector directly into the next step as input.Coconut (Hao et al., 2024, built on GPT-2) reached 97.0% on the ProsQA logic task using just 14.2 latent steps (where chain of thought needed 49.4 tokens to reach 77.5%), but struggled on GSM8K (34.1% vs 42.9% for CoT). It also requires a delicate curriculum that gradually swaps written steps for vectors; without it, GSM8K dropped to 14.4%. Because continuous thoughts are deterministic vectors, reinforcement learning requires specialized exploration techniques — the focus of ourLatent-GRPO deep dive .
- Looped & recurrent-depth transformers (vertical, in-place): Adds layer passes per token instead of adding positions. Crucially, any written chain of thought the model produces remains completely human-readable.
- Tiny recursive networks (extreme vertical, specialized): Pushes recurrent depth to hundreds of recursions on dedicated puzzle domains.HRM (27M parameters) andTRM (7M parameters, 2 layers) recurse over a single problem state repeatedly and train on roughly 1,000 domain examples, with TRM reaching 45% on ARC-AGI-1 and 8% on ARC-AGI-2. They are domain puzzle solvers rather than general language models, but they demonstrate how far pure depth can go.
The fundamental difference between horizontal and vertical latent reasoning comes down to execution mechanics:
- Horizontal methods (like continuous thoughts) add sequential positions: each thought must be generated after the previous one, requires a full autoregressive forward pass, adds an entry to the KV cache, and forces training to unroll recurrently step by step.
- Vertical methods (like looped transformers) execute entirely within the current position: all tokens in a prompt prefill loop through the layers together in parallel. This preserves standard sequence-level parallel training and allows recurrent depth to compose naturally with ordinary written chains of thought rather than trying to replace them. Inkling 2 Mini is built on that exact hybrid.
7. Pros and cons #
| Four ways to spend extra reasoning compute | ||||
|---|---|---|---|---|
| Chain of thought | tokens | Continuous thoughts | Looped depth | |
| --- | --- | --- | --- | --- |
| Extra compute goes into | More written tokens | Empty positions before the answer | Extra positions carrying hidden vectors | More layer passes per token |
| Can a person read it? | Yes, every step | Nothing to read | No, vectors only | The loop is hidden; any chain of thought stays readable |
| Extra parameters | None | One embedding | None, or a small projector | None |
| Inference cost | A forward pass and a KV entry per reasoning token | The same, per | The same per thought, generated one at a time | More FLOPs and weight reads per token, far fewer tokens |
| Training | Standard SFT and RL | s needed in pretraining and fine-tuning | Curriculum from written CoT; RL needs extra machinery | Gates, initialization, truncated backprop; train at the pass counts you serve |
| Strong at | Anything that can be written down; auditing | Small, cheap gains | Search-like logic (ProsQA) | Serial reasoning, long context, small memory footprint |
| Weak at | Latency, context length, truncated rollouts | Small effect sizes | Arithmetic (GSM8K below CoT), scaling, RL | Knowledge (flat with passes); runtimes are new to it |
What speaks for looping:
- Reasoning density per byte of memory: Inkling 2 Mini fits a 26.4B-parameter model with 48 layers of effective depth into roughly 20 GB of VRAM. On single-GPU and edge setups where memory capacity is the binding constraint, looping trades relatively abundant compute for scarce VRAM.
- Fewer tokens and less context bloat: Halving reasoning tokens on GPQA Diamond directly reduces KV cache pressure and minimizes rollout truncation during RL fine-tuning.
- A flexible test-time compute knob: Variable-loop architectures allow serving systems to dynamically adjust loop passes based on request complexity or latency budgets.
- Clean architectural composition: Looping integrates smoothly with MoE routing, long contexts, and standard written chains of thought without compromising reasoning monitorability.
What speaks against it:
- Higher latency per token: At three passes, each token executes 48 layer applications and reads 1.6× active weights. On simple queries where reasoning does not shrink, looping acts as pure computational overhead.
- Zero factual recall gains: Recurrent depth does not expand parametric knowledge; total parameter count still dictates what facts the model retains.
- Delicate training dynamics: Stable convergence requires careful engineering — zero-initialized gates, truncated BPTT, and training at target serving depths.
- Early runtime and KV cache support: Local runtimes are still standardizing support for recurrent-depth models, and whether intermediate passes share or duplicate KV cache allocations remains an open systems question.
- Expanded unmonitored compute: Expanding the model’s internal reasoning horizon makes intermediate thinking harder to audit before tokens are committed to text.
8. Which method for which job #
| A rough guide, not a benchmark | ||
|---|---|---|
| If your constraint is… | Reach for | Because |
| --- | --- | --- |
| Every step must be auditable | Explicit chain of thought | It is the only form a person or a monitor can read; looping can still shorten it |
| Memory (laptop, one GPU) | A looped model | Depth without parameters: 48 effective layers in a 20 GB checkpoint |
| Long agent rollouts that hit token limits | Looping, or continuous thoughts | Less writing per step means less truncation and smaller contexts |
| Fact-heavy questions | More parameters or retrieval | Knowledge lives in weights; loops do not add it |
| One narrow puzzle with little data | A tiny recursive network | TRM reaches 45% on ARC-AGI-1 with 7M parameters |
| Research on RL over hidden steps | Continuous thoughts | The open problem is exploration and log-probabilities for vectors |
9. What is still open #
- Reinforcement learning at higher pass counts: The research model was post-trained at three passes only. As Thinking Machines noted, existing experiments do not establish what policies emerge when RL optimizes against higher loop counts.
- Adaptive per-token depth in production: Inkling 2 Mini fixes depth at three passes for all tokens. Dynamic halting mechanisms (such as ACT or Mixture-of-Recursions routers) promise compute savings, but introduce major batch scheduling and KV cache alignment hurdles.
- Interpretability and safety monitoring at scale: While Thinking Machines observed no loss in monitorability at 26B, tracking latent representations in larger recurrent architectures remains an important research frontier.
- Independent third-party benchmarks: All published Inkling metrics originate from vendor releases. Awaiting independent community evaluation will help clarify true performance margins across diverse tasks.
The broader takeaway goes beyond any single benchmark. Chain of thought expanded AI reasoning by giving models room to write; looped depth makes each written token carry more cognitive weight. For compact models operating under strict memory budgets, thinking deeper per token is a compelling and natural place to spend compute.