Z.ai Unveils GLM-5.4 Featuring 28-Layer Loop Transformer

Beijing-based artificial intelligence lab Z.ai, formerly known as Zhipu AI, released its flagship GLM-5.4 foundation model on November 23, 2026, debuting a recurrent Loop Transformer architecture that reuses neural layers for iterative reasoning.

Rather than simply scaling physical parameter counts, the system routes tokens through a 28-layer block twice during inference, reaching the logical reasoning tiers of multi-trillion parameter networks at a lower compute cost, according to TechRepublic.


Executive Summary

  • Recurrent Loop Architecture: Chinese AI developer Z.ai released GLM-5.4, an advanced foundation model utilizing a 28-layer recurrent Loop Transformer design.
  • Parameter Efficiency: By cycling representations through a middle block of 28 layers twice, the 750-billion-parameter model achieves reasoning depth rivaling 2 to 3 trillion parameter architectures.
  • Memory Optimization: The model integrates gated state controls, hybrid KV caching, and sparse attention reuse to maintain streaming speeds between 70 and 200 tokens per second.
  • Generalized Coding Paradigm: Z.ai designed the architecture to handle complex multi-step programming, 3D graphics generation, and intricate scientific workflows.

Table of Contents


Technical Architectural Comparison: Standard Transformer vs. GLM-5.4

Architectural MetricStandard Foundation TransformerGLM-5.4 Loop Transformer
Layer Execution PathSingle sequential pass per layer28-layer core block executed twice per token
Effective Reasoning ScaleBound to physical parameter count750B model matches 2T to 3T parameter depth
KV Cache ManagementFull cache duplication requiredHybrid cache with sliding window local context
Attention IndexingRecomputed across all forward stepsSparse attention indices reused across loops
Streaming ThroughputHigh memory bandwidth overhead70 to 80 tokens/sec peak, up to 200 off-peak

Z.ai Introduces Recurrent Depth With GLM-5.4 Loop Transformer

Beijing-based artificial intelligence lab Z.ai, formerly known as Zhipu AI, released its flagship GLM-5.4 foundation model on November 23, 2026, debuting a recurrent Loop Transformer architecture that reuses neural layers for iterative reasoning.

Rather than simply scaling physical parameter counts, the system routes tokens through a 28-layer block twice during inference, reaching the logical reasoning tiers of multi-trillion parameter networks at a lower compute cost, according to TechRepublic.


Weight Sharing and Iterative Hypothesis Refinement

Conventional transformer models process tokens through distinct sequential layers a single time during inference.

GLM-5.4 modifies this pipeline by taking representations from its 750-billion-parameter base and passing them through a designated 28-layer block a second time. This recurrent pass allows the network to self-correct and refine intermediate analytical representations.

Z.ai trained the model through continued pre-training on existing checkpoints, avoiding the immense financial costs associated with training recurrent models from initial initialization.


Mitigating Memory and Latency Overheads

Executing neural layers multiple times per token traditionally triggers memory bottlenecks and steep latency penalties.

To counteract this overhead, Z.ai implemented token-level gated updates that regulate how strongly the second loop influences final activations. The engineering team also introduced a hybrid key-value cache that preserves primary context while maintaining a compact sliding window for secondary passes.

In addition, sparse attention indexing maps are carried over from the initial pass, eliminating redundant memory recalculations and sustaining generation rates up to 200 tokens per second.


Generalized Coding Framework and Enterprise Rollout

Z.ai is marketing GLM-5.4 around a Generalized Coding paradigm, using programmatic reasoning to tackle complex engineering, mathematics, and 3D graphics tasks.

Early benchmark tests show the model excels at multi-step vulnerability discovery and complex CAD hardware synthesis. However, reviewers noted that the model can engage in prolonged deliberation cycles on challenging problems.

The model is currently accessible to enterprise subscribers through the GLM Coding Plan and ZCode developer platform, with public API access scheduled for phased rollout.


Frequently Asked Questions

What makes the Loop Transformer architecture unique?

Unlike standard models that pass data through each layer once, GLM-5.4 executes a 28-layer block twice per forward pass, refining reasoning without expanding parameter size.

How does GLM-5.4 manage memory during layer loops?

The model uses hybrid key-value caching, sparse attention index reuse, and gated activation controls to prevent redundant computation and memory bloat.

Who developed GLM-5.4 and how can developers use it?

GLM-5.4 was developed by Chinese AI laboratory Z.ai (formerly Zhipu AI). It is available through the company’s enterprise coding plan and ZCode developer platform.


Explore related engineering and industry analysis from TeckScaler:


Primary Sources & References


Published by the TeckScaler Editorial Team. We deliver rigorous, technical, people-first reporting on artificial intelligence systems, infrastructure, and developer tooling.

Leave a Reply

Your email address will not be published. Required fields are marked *