AI Models That Loop Their Layers
Z.ai's GLM-5.4 runs 28 of its layers twice per token. Five earlier looped models from other labs have 2.6B to 26.4B parameters.

Z.ai released GLM-5.4 on November 23, calling it “our first flagship model built on the Loop Transformer architecture”. Three days earlier, Thinking Machines released Inkling 2 Mini. Its post calls it “a looped transformer, running the middle layers of the model three times for every token”. Four other labs have released looped language models since October 2025, by their own posts and model cards. The table takes one model from each.
What looping means
A standard transformer runs each layer once per token. In Z.ai's words, a loop transformer runs “a group of weight-shared layers” for several iterations, which “gives us a deeper network without increasing the parameter count”. Z.ai traces the idea to the 2018 Universal Transformer. Thinking Machines counts the cost per token instead: Inkling 2 Mini has “26.4B total parameters, 3.4B active, and 5.4B weight activations per token to account for looping”.
Five small models came first
ByteDance posted Ouro-2.6B-Thinking on Hugging Face on October 28, 2025. Its paper followed the next day. Its config runs all 48 layers 4 times. The model card's table prints 24 layers, but the paper gives its 2.6B model 48 layers, and so does the config the model runs from.
Nanbeige posted Nanbeige4.2-3B on July 21, 2026. It has 4B parameters, 3B without its embeddings. Its card says its looped architecture “reuses the transformer layers to increase model capacity without adding parameters”, and its config runs all 22 layers twice. NVIDIA's Nemotron-Labs-Dory1.0-4B came on October 16. It runs a 20-layer block between two 8-layer blocks one to four times, and NVIDIA recommends two.
SenseTime released SenseNova Loop-9B on November 17, after a preview on October 31. Layers 4 to 27 of its 32 run twice. SenseTime counts that as “56 decoder-layer computations in a single forward pass”. Inkling 2 Mini runs its middle 12 of 24 layers three times, which its model card counts as “48 layer applications per token from 24 layers of weights”.
GLM-5.4 starts from a trained base
The earlier models range from 2.6B to 26.4B parameters. Z.ai describes GLM-5.4's changes as made “at the 750B scale”, and its base, GLM-5, has 744B parameters. Z.ai didn't train a looped model from scratch. It “adapted an already pre-trained base model into a Loop Transformer through continued training”. GLM-5.4 “loops 28 layers of the GLM-5 base model for two iterations”. Its architecture diagram puts them in the middle, as layers 27 to 54 of 78.
Z.ai tested the design on a 30B model, where looping took “only ~10% more total training compute”. It reports that on most benchmarks, average output length “drops by 10–14%, mostly from shorter chains of thought”. It hasn't published benchmark scores for GLM-5.4 itself. Its API is “Coming Soon”, and Z.ai plans to open the weights “after completing necessary safety hardening”.
Benchmarks, where reported
Three labs report GPQA Diamond for their own looped model: Nanbeige4.2-3B at 87.4%, Inkling 2 Mini at 86.6% and Nemotron-Labs-Dory1.0-4B at 72.41% with two passes. Three report Terminal-Bench 2.1: Inkling 2 Mini at 71.6%, SenseNova Loop-9B at 59.55% and Nemotron-Labs-Dory1.0-4B at 18.1%. They ran it with different harnesses: Thinking Machines with pi, NVIDIA with Terminus-2, and SenseTime doesn't name one. ByteDance reports the full GPQA set, 52.69%, rather than Diamond. Z.ai hasn't published scores for GLM-5.4 itself.
Total parameters
| Model | Value | Sources |
|---|---|---|
| Ouro-2.6B-ThinkingDense | 2.6 B | AnnouncementModel Architecture table: "Parameters 2.6B" |
| Nanbeige4.2-3BDense, 3B non-embedding | 4 B | AnnouncementModel Performance table, Parameters: "Total Params 4B" |
| Nemotron-Labs-Dory1.0-4BDense | 4 B | AnnouncementModel Summary: "Total Parameters 4B". Dense: its config.json doesn't list any experts |
| SenseNova Loop-9BDense, approximately | 9 B | AnnouncementModel Specifications, Parameter count: "Approximately 9B total parameters" |
| Inkling 2 MiniMixture of experts | 26.4 B | AnnouncementArchitecture and training: "26.4B total parameters, 3.4B active" |
| GLM-5.4Mixture of experts, approximately | 750 B | Announcement"Architectural Modifications at 750B Scale": "deployment costs at the 750B scale" |
Active parameters, mixture of experts
| Model | Value | Sources |
|---|---|---|
| Inkling 2 Mini | 3.4 B | AnnouncementArchitecture and training: "26.4B total parameters, 3.4B active" |
Layers
Looped layers
Passes through the looped layers
GPQA Diamond
Terminal-Bench 2.1
| Model | Value | Sources |
|---|---|---|
| Nemotron-Labs-Dory1.0-4BAt 2 passes, Terminus-2 harness | 18.1% | AnnouncementBenchmarks table, "Terminal-Bench 2.1", 2 loops column ("the Terminus-2 harness for all models") |
| SenseNova Loop-9BHarness not stated | 59.55% | huggingface.coModel Performance: "Terminal-Bench 2.1 from 40.45 to 59.55" |
| Inkling 2 Minipi v0.83.0 harness | 71.6% | thinkingmachines.aiEvaluations table: "Terminal Bench v2.1 Inkling 2 Mini in pi v0.83.0 71.6%" |
GPQA, full set
| Model | Value | Sources |
|---|---|---|
| Ouro-2.6B-Thinking | 52.69% | Announcement"Thinking Model Performance" image (assets/ouro_thinking.png), GPQA panel, Ouro-2.6B bar label "52.69" |
AIME 2024
| Model | Value | Sources |
|---|---|---|
| Ouro-2.6B-Thinkingpass@1 | 64.7% | Announcement"Thinking Model Performance" image (assets/ouro_thinking.png), AIME24 panel, Ouro-2.6B pass@1 bar label "64.7" |
Sources
- Z.ai, Nov 23, 2026GLM-5.4: Toward Generalized Coding with Our First Loop Transformer
- Z.ai, Feb 12, 2026GLM-5: From Vibe Coding to Agentic Engineering
- Thinking Machines, Nov 20, 2026Introducing Inkling 2 Mini
- thinkingmachines.aithinkingmachines.ai/model-card/inkling-2-mini
- SenseTime, Nov 17, 2026SenseNova Loop-9B Official Release: Deeper Computation with Fewer Parameters
- huggingface.cohuggingface.co/sensenova/SenseNova-Loop-9B
- huggingface.cohuggingface.co/sensenova/SenseNova-Loop-9B/blob/main/config.json
- NVIDIA, Oct 16, 2026NVIDIA-Nemotron-Labs-Dory1.0-4B-BF16
- Nanbeige, Jul 21, 2026Nanbeige4.2-3B
- huggingface.cohuggingface.co/Nanbeige/Nanbeige4.2-3B/blob/main/config.json
- ByteDance, Oct 28, 2025Ouro-2.6B-Thinking
- huggingface.cohuggingface.co/ByteDance/Ouro-2.6B-Thinking/blob/main/config.json
- arxiv.orgarxiv.org/abs/2510.25741
- huggingface.cohuggingface.co/nvidia/NVIDIA-Nemotron-Labs-Dory1.0-4B-BF16/blob/main/config.json
- huggingface.cohuggingface.co/ByteDance/Ouro-2.6B-Thinking/commits/main
- huggingface.cohuggingface.co/Nanbeige/Nanbeige4.2-3B/commits/main