Z.ai’s GLM-5.4 gets more out of its 750 billion parameters by running part of the network twice for every token. The company says that makes it as capable as models in the 2T-3T parameter range. For now only paying coding-plan subscribers can use it, and the API is not open yet.
The trick is a loop. A normal transformer sends data through each layer once. GLM-5.4 takes 28 layers of the older GLM-5 base model and runs them for two iterations, so the model is deeper without having more parameters. Z.ai did not train this from scratch. It retrained an existing model, because looped models built from scratch fall behind ordinary ones at the same training budget.
Looping a model that was never built for it caused a problem: values grow with each pass until later layers receive numbers outside what they were trained on. Z.ai added a gate for every token and every pass that controls how much of the new result is written back.
The first pass writes cautiously, and the second writes in full. To stop memory use doubling, the second pass shares the first pass’s cache and keeps only a small sliding window of its own. It also reuses the first pass’s choice of which earlier tokens to attend to. Z.ai says the extra cost over GLM-5.3 stays well under control at a one-million-token context.

Speed is quoted at up to 200 tokens a second off-peak and 70 to 80 under load. The model takes video, images, text and files and answers in text, with up to 128K tokens of output. Z.ai frames it as the start of what it calls Generalized Coding: writing code that produces videos, complete games, 3D scenes and CAD models. Its examples include a music video the model narrated itself and a six-axis robot arm modelled in FreeCAD. The company admits the model can get stuck in overly long “marathon thinking” loops.
It is available to every GLM Coding Plan user, with weekly-quota plans getting 1.5 times the GLM-5.3 allowance. This is the model our earlier post on the plan rollout found in the plan’s model list before any technical description existed. The API will open once a security assessment is finished, and no token prices are given.

The only benchmark numbers are for a 30B test model with the same design as the 750B base, not for GLM-5.4 itself. In Z.ai’s table the looped version scored 30.4 on the AIME25 maths test against 19.2 without the loop, and 56.3 against 47.6 on GPQA-Diamond. It also used 10 to 14 percent fewer output tokens on most tests. Z.ai says a significantly larger model will be ready soon.



