Illustration.
Z.ai released GLM-5.4 on November 23, 2026, its first flagship model built on a Loop Transformer. The idea is simple: instead of passing data through a stack of layers once, the model runs a shared block of layers twice. That gives it more reasoning depth without adding parameters. Z.ai says the result is comparable to models with 2 to 3 trillion parameters. It has not published full benchmark results for the flagship.
What changed
The base model has 750 billion parameters and loops 28 layers of GLM-5 for two passes. Z.ai made three changes to keep costs down: per-token gates that control how much each pass writes back, a key-value cache shared across the two passes, and reuse of the first pass’s sparse attention indices. According to Z.ai, the extra loop costs one sliding window of cache, not a full second cache.
What the numbers show
The evidence Z.ai published comes from a 30B model with the same architecture as the 750B base, not from the flagship itself. With about 10% more training compute, the looped version improved on math and scientific reasoning, and average output length fell 10 to 14%. Z.ai also admits the model can get stuck in overly long “marathon thinking” loops. Full coding benchmarks for GLM-5.4 are not out, so the 2T to 3T claim remains Z.ai’s own.
“Generalized Coding”
Z.ai uses this term for models that write code to build things beyond software: full games, videos, 3D scenes and engineering designs. Its demos include a six-axis robotic arm modeled in FreeCAD and an interactive 3D bird-watching scene written with shader code.
How to try it
GLM-5.4 is available through Z.ai’s services, the ZCode app and the GLM Coding Plan. API access is listed as coming soon. Z.ai plans to release the weights after safety hardening, with no date given.
Bottom line: Looping layers is a cheap way to add reasoning depth. Judging GLM-5.4 itself needs independent tests of the flagship.
Z.ai, “GLM-5.4: Toward Generalized Coding with Our First Loop Transformer”, Nov 23, 2026.
VentureBeat, Nov 24, 2026.



