GLM-5.4 from Z.ai: first flagship model on a Loop Transformer architecture
Z.ai presents GLM-5.4 as its first flagship model built on the Loop Transformer[1] architecture, which runs a shared group of layers for several iterations so the model can reason more deeply without adding parameters. The company says the model reaches intelligence levels comparable to 2T-3T parameter models. It loops 28 layers of the GLM-5 base model for two iterations at the 750B scale, and the base model was adapted through continued training rather than pre-trained from scratch.
Three changes keep deployment costs in check. Per-token gates for each iteration control how much each pass writes back into the model's state, and the second loop reuses the KV cache[2] selected in the first pass alongside a local sliding window, so an extra loop costs only one sliding window of cache. The model also reuses the attention indices from the first loop's indexer, since its base model uses sparse attention[3]. On a 30B model with the same architecture, the looped version showed clear gains with about 10% more training compute, largest in math, scientific reasoning and long-context tasks, and average output length dropped by 10–14% on benchmarks such as GPQA-Diamond and MMLU-Pro.
GLM-5.4 reaches up to 200 tokens/s during off-peak hours and 70–80 tokens/s at peak load. The company names overly long “marathon thinking” loops as a known limitation and plans to open-source the weights after safety hardening. The model is available through the GLM Coding Plan, ZCode and Z.ai Chat, while API access is coming soon.
Read the original z.aiDiscussion
Links from the post and discussion
- GLM Coding Plan subscription page z.ai
- ZCode, one of the ways to try the model zcode.z.ai
- Z.ai Chat web interface chat.z.ai
- Model API page (coming soon) z.ai
Primary sources and details
- Official Z.ai X post announcing GLM-5.4 and weights plan x.com
- Official Z.ai X post: GLM-5.4 rollout to Coding Plan twitter.com
- Official Zixuan Li X post on GLM-5.4 Coding Plan access twitter.com
- Analysis Vectorwire article on GLM-5.4 Coding Plan release vectorwire.ai
- Analysis V2EX thread with Z.ai's GLM-5.4 launch announcement v2ex.com
Sources
-
z.ai
GLM-5.4: Toward Generalized Coding with Our First Loop Transformer


