llms-foundation-models · 2026-11-24 · Tier 2

GLM-5.4, SenseNova-Loop-9B and the looped-flagship week

GLM-5.4, SenseNova-Loop-9B and the looped-flagship week

TL;DR

Z.ai released GLM-5.4, its first looped transformer and its new flagship. A looped transformer runs a block of weight-shared layers more than once per token, so the model gets more depth without more stored weights. GLM-5.4 is about 750B parameters. It loops 28 middle layers of the GLM-5 base twice, and Z.ai claims it matches 2-3T-parameter models. It was not trained from scratch: it was adapted from the pretrained base through continued training. Per-token gates set how much the first pass writes before the second pass refines it, and the extra loop attends over a 128-token KV window instead of the full 1M-token cache (The Decoder, TheTuringPost). Benchmarks so far cover only a 30B test model. Weights are not open, and API access currently needs the Coding Plan (Simon Willison).

The same day SenseTime put SenseNova-Loop-9B on Hugging Face: 4 unshared layers at each end and a 24-layer middle block run twice, which gives 56 layer computations from 32 stored layers. A 4-bit AWQ build is about 4.9GB, and context is 512K. In SenseTime's own sweep, code generation kept improving up to four loops while data QA and office tasks peaked at three. They shipped two loops as a cost compromise (@rohanpaul_ai). Inkling 2 Mini (Thinking Machines, 11-20) entered Arena's Agent Arena Index at #18 among open models and #3 among US open-weight models (@arena).

The second pass gets a short memory, not the whole context
GLM-5.4 reuses its middle layers, but only the first pass reads the full 1M-token cache.
flowchart LR
  T["Token<br/><small>new input</small>"] --> E["Early layers<br/><small>run once</small>"]
  E --> P1["Middle block, pass 1<br/><small>full 1M KV cache</small>"]
  P1 --> G{"Per-token gate<br/><small>how much to write</small>"}
  G --> P2["Middle block, pass 2<br/><small>128-token KV window</small>"]
  P2 --> L["Late layers<br/><small>run once</small>"]
  L --> O["Next token<br/><small>output</small>"]
  classDef input fill:#d0ebff,stroke:#1971c2,color:#1b1b1b,stroke-width:2px
  classDef core fill:#e5dbff,stroke:#6741d9,color:#1b1b1b,stroke-width:2px
  classDef loop fill:#fff3bf,stroke:#f08c00,color:#1b1b1b,stroke-width:2px
  classDef exit fill:#d3f9d8,stroke:#2f9e44,color:#1b1b1b,stroke-width:2px
  class T input
  class E,L,P1 core
  class G,P2 loop
  class O exit
  linkStyle 2,3 stroke:#f08c00,stroke-width:2px
Blue is input, purple is a normal pass, amber is the reused loop and its gate, green is the output.

Key points

  • Three looped releases in four days. Inkling 2 Mini (11-20, 26.4B total, 3.4B active, middle 12 of 24 layers run three times), SenseNova-Loop-9B (11-23) and GLM-5.4 (11-23, 750B). The looped design went from research papers to a frontier-scale flagship in about five months.
  • The KV design is the interesting part. The wiki's 11-22 LoopCache summary found that the hidden cost of looping is memory traffic: each loop keeps its own KV cache, and decoding has to read all of them. GLM-5.4's 128-token window for the extra loop caps that cost at a small constant. It is the same idea in production that LoopCoder-v2 (06-17) used in research, where loops shared KV through gated sliding-window attention.
  • Loop count is task-dependent. SenseNova's sweep (code improves to 4 loops, office and data QA peak at 3) adds evidence against the wiki's earlier "two loops is optimal" result from LoopCoder-v2 and SMELT. Those papers found two loops optimal at matched budgets. SenseNova shows the best count depends on task when you do not match budgets.
  • Latency is still the weak point. A day-one user report on GLM-5.4 at High effort measured 1.04M reasoning tokens over 431 minutes on one task, against 70K tokens and 109 minutes for Gemini 4 Neon, plus 529 overload errors (@superalesha). One report, single task, but it fits the wiki's open thread: looping saves parameters, not wall-clock time.
  • A deployment thesis. Zhengyao Jiang argues MoE is a datacenter architecture (huge weights, few active, needs big batches) and looping is a laptop architecture (few weights, more compute, little memory). Local and cloud models may split into different designs (@zhengyaojiang).

Relation to prior wiki pages

Gaps

No paper, no model card, no open weights for GLM-5.4. The 2-3T-class claim rests on a 30B test model. No numbers on decode latency per loop.