[KongchangAI]
· 1 min read· 945 words

Z.ai Releases GLM-5.4: A 750B Loop Transformer That Runs 28 Layers Twice

Z.ai Releases GLM-5.4: A 750B Loop Transformer That Runs 28 Layers Twice

Z.ai releases 750B GLM-5.4, a Loop Transformer that runs 28 layers twice for deeper reasoning.

Z.ai has released GLM-5.4, its first flagship built on a Loop Transformer architecture, at 750B scale. The model contains 28 GLM-5 layers executed twice at inference, deepening the computational path without adding independent layers and partially decoupling parameter scale from computational depth. The release strategy is API first, with open weights deferred until safety-related work is completed. The article argues this approach swaps "stacking layers" for "re-running layers," offering another path to scaling—but it also raises per-inference compute costs and complicates training gradient propagation, so real-world results still need validation against reasoning benchmarks and real-task data.

Z AI Releases GLM-5.4

Z.ai has released GLM-5.4, its first flagship model built around a Loop Transformer architecture. According to MarkTechPost, the model is in the 750B class and achieves deeper reasoning by running 28 GLM-5 layers twice. API access is on the near-term roadmap, with open weights planned for release after safety-related work is completed.

The significance of this news lies not in the parameter count itself but in the architectural approach: the Loop Transformer swaps "stacking more layers" for "running layers repeatedly," offering another way of thinking about large-model scaling.

Looped Architecture: Trading Repetition for Depth

Traditional Transformer depth scaling relies on adding distinct layers; the more layers, the more parameters and memory overhead rise in tandem. GLM-5.4 takes a different approach: the model contains 28 GLM-5 layers, but at inference time this set of layers is run twice, effectively deepening the computational path without increasing the number of independent layers.

The key trade-off in this design is that parameter scale and computational depth are partially decoupled. Re-running the same set of layers means the model can gain more "thinking steps" under the same parameter budget while keeping the weight structure compact. The original coverage directly ties this mechanism to "deeper reasoning," indicating that Z.ai's goal is reasoning quality rather than a pure scale race.

At 750B, the model already sits in the flagship tier, and with the looping mechanism layered on top, its actual compute volume will be noticeably higher than a conventional model of the same parameter count. This is precisely why architectures of this kind must tackle efficiency head-on.

Loop Transformer The core idea is "depth recursion with weight sharing"—the same set of Transformer layers is invoked repeatedly, with each pass taking the previous pass's output as input, and the final output then passed to the next stage. This traces its lineage to Universal Transformer and ALBERT's cross-layer parameter sharing, but a Loop Transformer typically keeps a small number of "entry layers" and "exit layers" outside the loop, with the middle body layers serving as reusable computational blocks. Compared with stacking independent layers, its memory footprint depends mainly on the activation cache produced by the number of loop iterations rather than on total parameter count; backpropagation must send gradients back along the unrolled loop path, which places higher demands on training stability, gradient clipping, and memory scheduling.

GLM-5 layers refers to the standard Transformer decoder layer structure used in Z.ai's previous-generation flagship GLM-5, typically comprising self-attention, feed-forward networks, and normalization modules. GLM-5.4 reuses this layer's weight structure as its looping unit, meaning its single-layer design remains compatible with the previous generation and is easier to migrate onto existing training infrastructure. With 28 layers executed twice, the effective computational depth is 56 layers while the number of independent parameter layers stays at 28—this is the key to understanding the "partial decoupling of parameters and depth."

Release Cadence: API First, Weights Later

Z.ai is taking a two-step approach to the GLM-5.4 release. API access is listed as a near-term capability, while open weights are explicitly scheduled for after safety-related work is completed.

This ordering is worth noting. Open weights have been a major factor in the reputation the GLM series has built, and putting safety evaluation first this time reflects a realistic assessment of the misuse risks of a 750B-class model. For developers, the near-term path is to validate model capabilities via the API first, then wait for the weights to be released before doing local deployment or fine-tuning.

The original coverage did not disclose API pricing, rate limits, or the time window for weight release; these details will require official follow-up announcements.

Open weights refers to the public download of a model's trained parameter files, allowing users to deploy locally, fine-tune, or redistribute—but this is not equivalent to fully unrestricted use under an open-source license; specific permissions are defined by the license accompanying the weights. The GLM series has generally followed a "weights downloadable + commercial use subject to terms of use" model, which is the foundation of its reputation in the open-source community. Putting safety-related work first typically involves red-teaming, misuse-scenario evaluation, and hardening of harmful-content filtering mechanisms; for a 750B-class model, these efforts can take weeks or months, so the timing of the weight release carries considerable uncertainty.

What This Route Means

The Loop Transformer is not an entirely new concept, but taking it to 750B flagship scale and making it the headline of a launch makes Z.ai one of the more aggressive players. If the looping mechanism does deliver perceptible gains on reasoning tasks, it could influence the design direction of future flagship models—shifting from simply adding more layers toward finding a balance between parameter efficiency and computational depth.

The risks are equally real. Re-running layers increases the compute cost of each inference pass, which is unfavorable for latency-sensitive scenarios; and gradient propagation during training is also more complex under a looped structure. GLM-5.4's actual performance will ultimately depend on reasoning benchmarks and comparison data on real tasks, and that information has not yet been made public.

Key Points to Watch

For developers tracking open-source large models, several pieces of information are worth following: whether the number of loop iterations is configurable, whether the two-pass execution is a fixed design or a tunable parameter, and whether the community can reproduce the claimed reasoning gains once the weights are open. The specific scope and completion criteria of the safety work will also determine the timeline for the weight release.

GLM-5.4 has turned "running it twice" into a product-level selling point. Whether this path proves viable will be an important test of the looped-architecture route.

#GLM-5.4#Z.ai#Loop Transformer#750B model#open weights#AI reasoning#large language model architecture
Share:

Related articles