Frontier Log

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.

A table of six AI models that run some of their layers more than once per token, from ByteDance's Ouro-2.6B-Thinking (Oct 2025) to Z.ai's GLM-5.4 (Nov 2026). For each it gives the lab and date, total parameters and architecture, how many layers loop and how many times, drawn as blocks under a loop-back arrow, and up to two benchmark scores the lab reported.
Six looped models, Oct 2025 to Nov 2026. Ouro-2.6B-Thinking and Nanbeige4.2-3B loop every layer. Nemotron-Labs-Dory1.0-4B, SenseNova Loop-9B and Inkling 2 Mini loop their middle layers. GLM-5.4 loops the middle 28 of its 78 layers twice, at about 750B parameters. Download

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

ModelValueSources
Ouro-2.6B-ThinkingDense2.6 BAnnouncementModel Architecture table: "Parameters 2.6B"
Nanbeige4.2-3BDense, 3B non-embedding4 BAnnouncementModel Performance table, Parameters: "Total Params 4B"
Nemotron-Labs-Dory1.0-4BDense4 BAnnouncementModel Summary: "Total Parameters 4B". Dense: its config.json doesn't list any experts
SenseNova Loop-9BDense, approximately9 BAnnouncementModel Specifications, Parameter count: "Approximately 9B total parameters"
Inkling 2 MiniMixture of experts26.4 BAnnouncementArchitecture and training: "26.4B total parameters, 3.4B active"
GLM-5.4Mixture of experts, approximately750 BAnnouncement"Architectural Modifications at 750B Scale": "deployment costs at the 750B scale"

Active parameters, mixture of experts

ModelValueSources
Inkling 2 Mini3.4 BAnnouncementArchitecture and training: "26.4B total parameters, 3.4B active"

Layers

ModelValueSources
Ouro-2.6B-Thinking48 layershuggingface.co"num_hidden_layers": 48 (the model card's table prints 24, the paper's 2.6B model has 48)
Nanbeige4.2-3B22 layershuggingface.co"num_hidden_layers": 22
Nemotron-Labs-Dory1.0-4B36 layersAnnouncementDory (Looped LM) Architecture: "the Input and Output blocks have 8 layers each, while the Recurrent block has 20 layers" (its config.json counts attention and MLP entries separately, 16 + 40 + 16 = 72)
SenseNova Loop-9B32 layersAnnouncementModel Architecture: "built on a 32-layer multimodal decoder"
Inkling 2 Mini24 layersAnnouncementLooping design: "24 layers, divided into four blocks of six layers each"
GLM-5.478 layersAnnouncementarchitecture image (5.4-blog/image.png): "Prelude L1–26 · 26 layers", "Loop Pass 1 L27–54 · 28 layers", "Coda L55–78 · 24 layers"

Looped layers

ModelValueSources
Ouro-2.6B-Thinking48 layershuggingface.co"num_hidden_layers": 48, every layer run "total_ut_steps" times (modeling_ouro.py)
Nanbeige4.2-3B22 layershuggingface.co"num_hidden_layers": 22 run "num_loops" times (modeling_nanbeige.py)
Nemotron-Labs-Dory1.0-4B20 layersAnnouncementDory (Looped LM) Architecture: "the Recurrent block has 20 layers"
SenseNova Loop-9B24 layersAnnouncementModel Highlights: "Layers 4–27 form a weight-sharing loop module that runs twice"
Inkling 2 Mini12 layersthinkingmachines.aiModel properties: "The middle 12 layers run three times with shared weights"
GLM-5.428 layersAnnouncement"GLM-5.4 loops 28 layers of the GLM-5 base model for two iterations", and the architecture image (5.4-blog/image.png): "Loop Pass 2 L27–54 · Shared weights"

Passes through the looped layers

ModelValueSources
Ouro-2.6B-Thinking4 passeshuggingface.co"total_ut_steps": 4
Nanbeige4.2-3B2 passeshuggingface.co"num_loops": 2
Nemotron-Labs-Dory1.0-4Btwice by default2 passesAnnouncementChoosing the Loop Count: "We recommend two loops as the default starting point"
SenseNova Loop-9B2 passesAnnouncementModel Highlights: "runs twice"
Inkling 2 Mini3 passesthinkingmachines.aiModel properties: "The middle 12 layers run three times"
GLM-5.42 passesAnnouncement"loops 28 layers of the GLM-5 base model for two iterations"

GPQA Diamond

ModelValueSources
Nanbeige4.2-3B87.4%AnnouncementModel Performance table, Reasoning: "GPQA-Diamond 87.4"
Nemotron-Labs-Dory1.0-4BAt 2 passes72.41%AnnouncementBenchmarks table, "GPQA Diamond (no tools)", 2 loops column
Inkling 2 Mini86.6%thinkingmachines.aiEvaluations table: "GPQA Diamond 86.6%"

Terminal-Bench 2.1

ModelValueSources
Nemotron-Labs-Dory1.0-4BAt 2 passes, Terminus-2 harness18.1%AnnouncementBenchmarks table, "Terminal-Bench 2.1", 2 loops column ("the Terminus-2 harness for all models")
SenseNova Loop-9BHarness not stated59.55%huggingface.coModel Performance: "Terminal-Bench 2.1 from 40.45 to 59.55"
Inkling 2 Minipi v0.83.0 harness71.6%thinkingmachines.aiEvaluations table: "Terminal Bench v2.1 Inkling 2 Mini in pi v0.83.0 71.6%"

GPQA, full set

ModelValueSources
Ouro-2.6B-Thinking52.69%Announcement"Thinking Model Performance" image (assets/ouro_thinking.png), GPQA panel, Ouro-2.6B bar label "52.69"

AIME 2024

ModelValueSources
Ouro-2.6B-Thinkingpass@164.7%Announcement"Thinking Model Performance" image (assets/ouro_thinking.png), AIME24 panel, Ouro-2.6B pass@1 bar label "64.7"

Sources

Models

Related

Tags