Z.ai Unveils GLM-5.4 with Neural Network Layer Reuse

On November 23, the Chinese company Z.ai introduced the AI model GLM-5.4, built on the Loop Transformer architecture. The development uses the repeated execution of individual neural network layers to enhance reasoning quality without proportionally increasing the number of parameters.
The model contains about 750 billion parameters. According to Z.ai, its capabilities are comparable to systems with 2–3 trillion parameters. However, developers have not yet presented full comparative tests of GLM-5.4 with such models.
How the Loop Transformer Architecture Works
In the standard Transformer architecture, information sequentially passes through the neural network layers. Increasing computational depth usually requires adding new blocks, which raises the number of parameters.
Z.ai proposed a different approach. In GLM-5.4, a block of 28 layers of the base model GLM-5 is executed twice using the same parameters.
In the first stage, the neural network forms an intermediate representation of the information. During the second pass, it refines the result, reusing existing weights.
To prevent computational instability, developers implemented a mechanism for managing the update of intermediate data.
The company also optimized the use of KV-cache and attention mechanisms to limit additional memory costs when processing long contexts.
What the Tests of the New Architecture Showed
Before implementing the Loop Transformer in GLM-5.4, the company tested the approach on models with sizes of 1 billion, 4 billion, 30 billion, and 750 billion parameters.
Detailed comparative results are published for the experimental model with 30 billion parameters.
With the same number of parameters and an increase in training costs by about 10%, the repeated use of layers improved the results of several tests.
In the AIME 2025 math test, accuracy increased from 19.17% to 30.42%, and in the GPQA Diamond, which assesses the ability to answer complex scientific questions, from 47.58% to 56.26%.
Additionally, in some tests, the average length of generated responses decreased by 10–14%.
Developers suggest that part of the reasoning is transferred from the generated text to the internal computations of the neural network.
However, the presented results were obtained on the experimental model 30B, not directly on GLM-5.4.
What Limitations GLM-5.4 Has
Despite the improvements, the new architecture has drawbacks.
Z.ai acknowledges that GLM-5.4 sometimes takes too long to perform reasoning, repeatedly returning to intermediate conclusions.
Additional computations can increase accuracy but also increase query processing time.
As noted by VentureBeat, detailed independent comparisons of GLM-5.4 with current models from OpenAI and Anthropic at the time of the announcement are also insufficient.
Where GLM-5.4 is Available
GLM-5.4 supports a context window of 1 million tokens and generates responses up to 128,000 tokens long.
The model can process text, images, video, and files. Its main application areas are programming, application development, and performing long-term multi-step tasks.
The neural network is already available through Z.ai Chat, the ZCode development environment, and the GLM Coding Plan subscription.
The basic monthly prices for the plans are $18 for Lite, $80 for Pro, and $168 for Max, excluding possible discounts.
According to Z.ai's documentation, users of the current Coding Plan rates can process about 1.5 times more tokens with GLM-5.4 within the same quota compared to GLM-5.3.
The company also plans to release the weights of GLM-5.4 after additional security checks, but has not yet named a specific date.
The development continues the evolution of the GLM family. In August, Z.ai introduced GLM-5.3, whose improvements were mainly achieved through additional training without changing the base architecture.
This material is prepared solely for informational purposes and does not constitute financial advice or a recommendation.




