Skip to content
ChaiBytes

Z.ai Releases GLM-5.4 Loop Transformer Model for Generalized Coding

Chinese AI lab Z.ai has released GLM-5.4, a 750B-scale model using a looped transformer architecture designed for advanced coding and reasoning tasks.

By , Founder

2 min read

Share

What Happened

On 23 November 2026, the Chinese AI laboratory Z.ai released GLM-5.4, its first flagship model built on a looped transformer architecture [1, 2]. Unlike a standard transformer where each layer runs once per forward pass, this model runs a group of 28 weight-shared layers from the GLM-5 base model for two iterations [2]. This process allows the network to refine its internal states and achieve deeper reasoning without increasing the total parameter count [1, 2].

Z.ai did not train this model from scratch; instead, they adapted the existing GLM-5 base through continued training [2]. The company claims the model’s intelligence is comparable to models with 2T-3T parameters [2]. To make this architecture practical at a 750B scale, Z.ai implemented three specific technical changes [2]:

  • Gated progressive updates: Independent per-token gates allow the first pass to build context and the second pass to refine the output [2].
  • Hybrid KV cache: The second loop reuses the sparse KV (key-value) cache from the first pass to manage memory costs [2].
  • Sparse attention index reuse: The second loop reuses indices from the first loop to avoid extra indexing overhead [2].

While Z.ai has not published benchmark scores for the full 750B flagship model, they provided results from a 30B model ablation using the same architecture [2]. In that test, the looped version showed gains in several areas:

  • AIME25: increased from 19.17 to 30.42 (+11.3 points) [2].
  • GPQA-Diamond: increased from 47.58 to 56.26 (+8.7 points) [2].
  • AA-LCR: increased from 40.33 to 47.67 (+7.3 points) [2].
  • MMLU-Pro: increased from 71.65 to 75.05 (+3.4 points) [2].
  • IFBench: increased from 50.20 to 53.47 (+3.3 points) [2].

Z.ai describes the model’s purpose as “Generalized Coding,” which includes using code to create video, games, 3D shaders, and CAD models [2].

Who Is Affected

Developers and users can access GLM-5.4 through Z.ai’s own products, as the model is not yet available as open weights [1, 2]. Access is provided via:

  • The GLM Coding Plan subscription [2].
  • ZCode, a desktop agent harness available in beta for macOS, Windows, and Linux [2].
  • Z.ai Chat [2].

The GLM Coding Plan offers three tiers [2]:

  • Lite: $12.6/month
  • Pro: $56/month
  • Max: $117.6/month

Z.ai notes that these prices may change [2]. Performance speeds are reported at 70-80 tokens/s during peak loads and up to 200 tokens/s during off-peak times [2].

About the author

, Founder

Sources

  1. GLM-5.4: Toward Generalized Coding with Our First Loop Transformer — Simon Willison
  2. Z AI Releases GLM-5.4: A 750B Loop Transformer That Runs 28 Layers Twice - MarkTechPost — marktechpost.com

Drafted with AI assistance from the reports above and checked automatically for sourcing. Always confirm dates, fees and requirements on the official website before acting. Report an error · How we correct mistakes

Was this helpful?

Questions or something to add?

Ask below. We read every comment and reply when we can.

Leave a comment

Be respectful. Comments with links are reviewed before they appear. Your email is used only to contact you about your comment, such as a reply from the editor.