On November 23, 2026, the Chinese company Z.ai presented its new flagship artificial intelligence model GLM-5.4. Its key feature was the Loop Transformer architecture, which makes it possible to increase the efficiency of solving complex tasks without increasing the number of parameters by reusing individual layers of the neural network.

In addition, the developers outlined a transition to the concept of Generalized Coding, within which programming becomes the foundation for solving a broader range of tasks — from creating video games to engineering design.

Characteristics and capabilities of GLM-5.4

In the traditional Transformer architecture, each layer of the neural network is engaged once per computational pass. In the Loop Transformer, a group of layers with shared weights is reused, which allows the model to successively refine intermediate results.

In the case of GLM-5.4, the developers implemented two passes through 28 layers of the base GLM-5 model. This approach increases the computational depth of the neural network without increasing the number of parameters.

At the same time, the Z.ai team did not train the model from scratch, but adapted an existing neural network through additional training.

The developers also implemented three architectural improvements:

In aggregate, these changes made it possible to limit the growth of costs for deploying GLM-5.4 relative to GLM-5.3 when working with a context of 1 million tokens.

Before implementing the new architecture in the flagship model, specialists tested it on neural networks with 1 billion, 4 billion, 30 billion, and 750 billion parameters.

As part of a controlled experiment on a 30-billion-parameter model, with an increase in computational training costs of approximately 10%, the developers obtained the following results:

Comparison of test results for models with the traditional Transformer architecture and Loop Transformer. Data: Z.ai.

Notably, the improvement in performance was accompanied by a reduction in the average length of generated responses by 2-14.9%. According to the developers, this indicates that some of the reasoning that previously required the generation of additional tokens now takes place inside the neural network.

It should be noted that the presented results pertain to an experimental model with 30 billion parameters, and not directly to GLM-5.4. In the official release, the company did not provide a comparative table of the flagship neural network's metrics and competing products.

As for the generation speed, according to Z.ai, it reaches 200 tokens per second during periods of low load and stands at 70-80 tokens per second during peak hours.

As part of demonstrating the capabilities of GLM-5.4, the developers presented a music video, a three-dimensional model of a six-axis robotic manipulator in FreeCAD, a full-fledged video game, and an interactive three-dimensional birdwatching simulation.

At the same time, Z.ai acknowledged the existence of shortcomings. In particular, the neural network is prone to excessively long reasoning, although this approach allows for increased accuracy of answers thanks to self-verification.

GLM-5.4 is already available in the Z.ai Chat and ZCode services and within the GLM Coding Plan subscription. The developers plan to implement API support and weight publication later.

The company also announced the release of a larger model that will use developments in the field of Loop Transformer.

Expert opinions

A researcher under the pseudonym Zaddy tested GLM-5.4 on the VulnPR-100 benchmark of the BugBunny project, which specializes in detecting vulnerabilities in software code using artificial intelligence.

As part of the experiment, the neural networks were given 100 requests to make changes to code with known vulnerabilities. One hour was allotted for the analysis of each of them.

GLM-5.4 identified 47 vulnerabilities out of 100 versus 32 for GLM-5.3. Thus, the number of detected issues increased by almost 47% with a 25% increase in the estimated cost of the check — from $81.96 to $102.86. To estimate costs, the researcher used the API rates of the previous generation of the model.

In addition, GLM-5.4 detected nine more vulnerabilities than GLM-5.2 and demonstrated a result similar to Kimi K3.1 Pro at $21.83 lower cost.

At the same time, DeepSeek V4.1 Flash 1017 found 54 vulnerabilities at a verification cost of $7.53 — almost 14 times lower than the estimated figure for GLM-5.4.

According to the researcher, the productivity gain has become the largest among consecutive releases of the GLM family in the entire history of its testing.

However, the model's deeper reasoning also has a downside. The author of the Robotics Data blog under the pseudonym Robin noted that GLM-5.4 analyzes tasks more thoroughly and breaks them down into a larger number of stages compared to its predecessor, which increases the accuracy of the results.

At the same time, during comparative testing, completing a routine task took four times longer than with GLM-5.3. In his opinion, this is a significant drawback when involving the neural network in continuous automated processes sensitive to the speed of operations.

AI specialist Sofia Yang drew attention to optimizing memory consumption during layer reuse. In particular, the combination of a shared KV cache and a 128-token sliding window makes it possible to limit additional memory costs even when working with a context of 1 million tokens.

At the same time, Young emphasized that Z.ai has not yet published the results of official testing directly for GLM-5.4, and the neural network's weights remain unavailable. This limits the possibilities for independent evaluation of the characteristics claimed by the developers.

The release of GLM-5.4 took place against the backdrop of intensifying competition between Chinese and American artificial intelligence developers.

Recall that Z.ai previously released the GLM-5.2 model, the cost of using which turned out to be approximately six times lower compared to analogues from OpenAI and Anthropic.

In July 2026, another Chinese company, Moonshot AI, introduced the Kimi K3 model with 2.8 trillion parameters, which surpassed Claude Fable 5 in the Frontend Code Arena ranking.