AI news ·
Z.ai releases GLM-5.4, its first loop transformer model for generalized coding
Z.ai released its 750B-parameter GLM-5.4 model, matching the intelligence of 2-3 trillion-parameter systems by looping 28 layers twice instead of adding weights.

Z.ai released GLM-5.4 on 23 November, its first flagship model built on a Loop Transformer architecture that runs some layers more than once. The Chinese lab, also known as Zhipu AI, said the 750-billion-parameter model matches the intelligence of systems with 2 to 3 trillion parameters without adding extra weights.
GLM-5.4 is available now to subscribers of the GLM Coding Plan through the ZCode tool and Z.ai Chat. API access will follow a safety evaluation, and the company plans to release open weights after safety hardening.
How looping layers works
In a standard Transformer, each layer runs once per pass. GLM-5.4 takes 28 layers from the GLM-5 base model and runs them twice. The result is a deeper network with no increase in parameter count. Z.ai traced the concept back to the 2018 Universal Transformer. Thinking Machines released a looped model for laptops last week.
Looped models trained from scratch still trail standard ones on the same compute budget, according to Z.ai. So the team adapted its already-trained base model through continued training. To keep costs down, the second pass reuses the first pass's cache and attention indices, adding only a small sliding window of its own.
Z.ai tested the design on 1B, 4B, 30B and 750B base models. On the 30B version, looping used about 10% more training compute and brought the biggest gains in maths, scientific reasoning and long-context tasks. Average output length on benchmarks such as GPQA-Diamond and MMLU-Pro fell by 10% to 14%. The company did not publish benchmark scores for GLM-5.4 itself but said the model reaches up to 200 tokens a second off-peak and 70 to 80 at peak load.
Generalized coding across media
Z.ai calls this release the start of "Generalized Coding," where code becomes the basis for a wider range of tasks. Demos include a music video the model narrated itself, a complete game, a 3D scene built with custom shaders, and a 6-axis robotic arm modeled in FreeCAD. The model also adds vision capabilities for stronger visual coding.
The company named one limitation: the model tends to get caught in overly long "marathon thinking" loops. Z.ai said that extra self-correction still improves accuracy. For users with weekly quotas, GLM-5.4 comes with 50% more quota compared to the previous GLM-5.3 release.
The earlier model focused on coding and cybersecurity. Anthropic said in October that it nearly matched Mythos at cyber exploits. Z.ai and Concordia AI have also proposed six stages for managing the risks of open-weight models. Z.ai said a significantly larger model is coming soon.
Why this matters for product and development teams
Looping layers instead of scaling parameters points to a practical path for building capable models without the hardware costs of trillion-parameter systems. For teams working on AI Code Generation Courses or integrating coding assistants into workflows, the move toward generalized code that spans video, CAD, and game development broadens what a single model can produce. The 200 tokens-per-second speed at off-peak times also matters for real-time tools where latency kills adoption. Watch for the open-weight release - it will determine whether smaller labs can run and fine-tune this architecture locally.