
GLM-5.4 Loop Transformer: How Z.ai Reuses Layers to Reason
Z.ai says GLM-5.4, a 750B-parameter model that runs 28 layers twice, reasons like a 2T-3T model. It is live on the GLM Coding Plan from $18 a month.
The usual recipe for a smarter language model is to make it bigger. Z.ai's new flagship takes a different route: send the data through part of the network twice. GLM-5.4, released on November 23, is the company's first model built on what it calls a Loop Transformer architecture, and Z.ai says the design lets a 750-billion-parameter model reach intelligence levels comparable to models with two to three trillion parameters. That comparison is the company's own claim and has not been independently verified, but the engineering behind it is worth a close look.
- Architecture: GLM-5.4 reuses 28 layers of its base model across two iterations, adding depth without adding parameters.
- Specs: 1M-token context, up to 128K output tokens, and video, image, text and file input, per Z.ai's documentation.
- Availability: live now for all GLM Coding Plan users, with plans at $18, $80 and $168 a month; the model API follows a security assessment.
- Evidence so far: on a 30B test model, looping lifted AIME 2025 from 19.17% to 30.42% for about 10% more training compute.
What Is a Loop Transformer?
In a standard Transformer, each layer runs once per forward pass. In a looped design, a block of weight-shared layers runs more than once, refining the hidden state left by the previous pass. The idea dates back to the 2018 Universal Transformer, and Z.ai is candid that looped models trained from scratch have tended to lag unshared models at the same compute budget. Its contribution is to convert an already pre-trained base model into a looped one through continued training, which the company says raises the ceiling at a relatively small cost.
Three changes make that work at 750B scale, according to the documentation:
- Gated progressive updates. Per-token gates control how much each pass writes back, so the first pass builds context conservatively and the second pass applies full updates.
- Hybrid KV cache. The second pass reuses the first pass's sparse cache plus a local sliding window, so an extra loop costs one window of memory rather than a full second context cache.
- Sparse attention index reuse. The second loop reuses the attention indices chosen in the first, adding no indexing overhead.
How Much Does Looping Actually Help?
The cleanest evidence comes from a controlled experiment on a smaller 30B model with the same architecture. With identical parameter counts and roughly 10% more total training compute, Z.ai reports AIME 2025 accuracy rising from 19.17% to 30.42% and GPQA Diamond from 47.58% to 56.26%. Average output length also fell 10% to 14% on several benchmarks, which the company attributes to reasoning moving out of visible thinking tokens and into the depth of the loop.
Two caveats belong here. Those numbers describe the experimental setup, not GLM-5.4 itself, and as Decrypt notes, Z.ai has not published a full flagship benchmark comparison against the leading proprietary models. Z.ai also says plainly that the model can fall into overly long stretches of thinking, something it plans to address with adaptive compute in a future generation.
Pricing, Speed and Generalized Coding
GLM-5.4 is available today to GLM Coding Plan subscribers, with weekly-quota users getting 1.5 times the GLM-5.3 allowance. Decrypt lists the plans at $18 a month for Lite, $80 for Pro and $168 for Max. API pricing has not been announced. Z.ai quotes throughput of up to 200 tokens per second off-peak and 70 to 80 at peak load.
The company frames the release as the start of Generalized Coding, where writing code becomes the route to tasks beyond software. Its demonstrations include a self-narrated music video, a six-axis robotic arm modeled in FreeCAD, and an interactive 3D scene built from shaders.
For teams tracking cost-efficient frontier models, GLM-5.4 joins a busy field that includes the recently covered Qwen 4 Max, and it follows the earlier GLM-5.3-Flash local quant from the same lab. Whether downloadable weights arrive for this generation has not been confirmed. More model releases are tracked in our AI coverage.
Sources: Z.ai Developer Documentation — GLM-5.4 overview — accessed November 24, 2026; Decrypt — Z.ai Says Its New AI Model Can Think Like One Four Times Its Size — November 23, 2026.
More AI Stories

Claude Ship Explained: AI Review, Fixes and PR Approvals
Anthropic launched Claude Ship in beta: Code Review plus two new agents that fix failing pull requests and approve changes a team policy allows on GitHub.

OpenAI MedChemBench: How Well Can AI Reason Like a Chemist?
OpenAI MedChemBench tests AI on 99 medicinal chemistry problems. GPT-6.2 Astra scored 84.5%, but picking compounds is still the hard part for models.

Watch Duty Gemini Tool Flags New Wildfires in 30 Seconds
Watch Duty and a Google.org Fellowship built a Gemini radio tool that spots new wildfire dispatches in under 30 seconds and cuts word errors to 22%.
