header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

Zhipu GLM-5.4 uses the old base, with 28 layers looped twice, and the company claims it reaches the $2 trillion to $3 trillion parameter level.

Beating AI News Flash: Zhipu has revealed the architectural details of GLM-5.4. This model was not pre-trained from scratch but instead continued training on the existing GLM-5 pre-training base, converting 28 of its layers into a two-round Loop Transformer. Zhipu claims this approach enables a model with approximately 750 billion parameters to achieve intelligence levels comparable to models with 2 trillion to 3 trillion parameters.


A standard Transformer runs each layer only once per forward pass, whereas a Loop Transformer makes the same set of network layers run repeatedly. GLM-5.4 runs 28 layers of the original model twice, with the second round continuing computation from the internal state of the first round, effectively deepening the model's computational process without adding an equivalent number of parameters.


However, directly repeating the network layers of the old model tends to cause internal numerical values to continuously inflate, which can actually degrade performance. Zhipu added gating mechanisms to each of the two rounds of computation and, through continued training, enabled the first round to primarily establish global state while the second round refines the results.


Running an extra round also requires addressing the resulting increase in memory overhead. The most straightforward approach would be to save a separate KV Cache for each round of computation, but looping twice could nearly double cache usage. Zhipu has the second round reuse the sparse KV Cache saved from the first round, retaining only the cache for the most recent segment of content in the second round. Meanwhile, the second round directly reuses the sparse attention indices selected in the first round, eliminating the computational overhead of repeated retrieval. This way, running an extra round only requires adding one sliding window's worth of cache rather than saving an entire copy of the historical context.


Zhipu describes GLM-5.4's direction as "Generalized Coding," hoping the model can not only write software but also use code to accomplish video production, 3D modeling, and mechanical design. Official showcased examples include a music video with visuals drawn entirely by front-end code, and robotic arm motion simulations built using FreeCAD and Blender.


GLM-5.4 is now available to Coding Plan users. The pay-as-you-go API will launch after security evaluation is completed, and the model weights are also planned to be open-sourced.


Zhipu also teased that the next model will see a significant increase in parameter scale, with future plans to simultaneously expand model scale and loop computation depth.

举报 Correction/Report
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish