// Yapay Zeka

Z.ai’s GLM-5.4 model thinks more deeply

Z.ai has unveiled its new 750-billion-parameter model, GLM-5.4. By running its layers twice, the model deepens its reasoning without increasing the number of parameters.

Chinese AI company Z.ai introduced its new flagship model, GLM-5.4, on November 23, 2026. The 750-billion-parameter model increases reasoning depth without increasing its parameter count by reusing its existing layers. The company says the model offers an intelligence level close to that of competitors with 2 to 3 trillion parameters.

GLM-5.4 is the first flagship model built on Z.ai’s “Loop Transformer” architecture. It is designed for tasks that require multi-step causal reasoning, such as large-scale software engineering, cybersecurity, 3D modeling, and physical control.

The layers run twice

A classic Transformer runs each layer once per forward pass. GLM-5.4, by contrast, runs the 28 layers it inherited from the GLM-5 base model twice, using shared weights. On the second pass, internal representations are updated based on the previous pass, providing greater computational depth.

Rather than training a looped model from scratch, Z.ai converted a pretrained base model through continued training. According to the company, looped models trained from scratch with the same pretraining budget fall behind models with non-shared layers; adapting an existing base, on the other hand, raises the capability ceiling with little additional computation.

Three changes for stability and cost

The first change is independent gates for each token: they control how much of an update is applied to the internal state on each pass and prevent direct overwrites that could disrupt activation scales. According to Z.ai, the first pass usually writes conservatively and establishes the overall context, while the second opens the gates and makes more complete refinements. The gates also adjust the step size to the difficulty of each token.

The second is a hybrid KV cache, which stores attention data during generation and allows the second loop to reuse the sparse inputs selected during the first pass. Newly generated inputs remain in a separate local window, so an additional loop does not require a new full-context cache. Z.ai says this limits the increase in deployment costs compared with GLM-5.3 at context lengths of 1 million tokens.

Third, the second loop also reuses the first pass’s sparse attention indices, eliminating additional indexing work. The company reports results close to recalculating them on every pass.

What it can do

Z.ai gradually tested looping in base models with 1, 4, and 30 billion parameters before applying it to its flagship model. In a controlled comparison using 30-billion-parameter models, the looped and non-looped versions had the same number of parameters, while the looped version used about 10% more training compute. After long-context fine-tuning, the biggest gains appeared in math, scientific reasoning, and long-context tasks; average outputs were 10–14% shorter on most benchmarks.

Using an approach called “Generalized Coding,” the model can generate and edit videos by writing code, build games from scratch, and perform 3D modeling and mechanical design. The presentation featured a six-axis robotic arm modeled in FreeCAD and an interactive 3D bird-watching experience built with mathematical geometry.

The company reports an output speed of 70–80 tokens per second at peak load and up to 200 tokens per second during off-peak hours. GLM-5.4 is available through Z.ai Chat, GLM Coding Plan, and ZCode; the API is expected to launch soon. Z.ai plans to release the model weights as open source once safety hardening is complete.

The real limit: excessively long loops

Z.ai identifies excessively long reasoning loops as the model’s main limitation. According to the company, this reflection and self-correction behavior pushes accuracy beyond what the parameter count would suggest, but it also makes efficiency gains conditional: short answers don’t mean that a long internal process was avoided on every run.

Z.ai says it is exploring adaptive computation that assigns more passes to difficult tokens and plans to develop a much larger model soon that incorporates these lessons.

Source: Unite.AI

// JOIN THE CONVERSATION

Share your experience

Bir sorunun, farklı bir çözümün veya eklemek istediğin bir notun var mı? Giriş yapmadan da yazabilirsin.

// KEEP READING

One more note.

All posts ↗︎