Newsroom Wire

CN China11-24 17:21⏱ 7 min read

GLM-5.4 Debuts: Zhipu's First Loop Transformer Model Draws “Beyond Expectations” Reactions

Zhipu has released GLM-5.4, its first model built on a Loop Transformer architecture: 28 middle layers run a second pass with the same weights before results move on. On a 30B control model, adding Loop raised AIME25 from 19.17 to 30.42, GPQA Diamond from 47.58 to 56.26 with 11.7% fewer output tokens, and MMLU-Pro from 71.65 to 75.05 with 14.9% fewer output tokens, at about 10% more training compute. For the 750B GLM-5.4, Zhipu added per-pass gating for write-backs and split the KV Cache so even 1M-token contexts only need an extra cache for a small sliding window. Creator Mike Luan's “Hello World” MV was made entirely with GLM-5.4 — all visuals drawn in real time by frontend code, zero external image assets — with throughput reaching 200 tokens/s off-peak and 70-80 tokens/s at peak. Zhipu says model weights will be open-sourced after necessary safety hardening.

Zhipu has just unveiled GLM-5.4, its first new model built on the Loop Transformer architecture.

Come, straight to the recently viral code-crafted music video to see what GLM-5.4 produced:

Video: https://mp.weixin.qq.com/s/ln8fIodXFxbow3kanPhcxA

The MV, titled “Hello World”, was created by artist Mike Luan with GLM-5.4, covering the whole pipeline from concept and arrangement to storyboard animation and frame rendering.

More specifically, every frame was drawn in real time with frontend code (zero external image assets), while the music was planned by GLM-5.4 around the chapter narrative and camera work, calling third-party music-generation models and iterating through multiple rounds of music prompt revisions on its own.

Next, GLM-5.4 taking on the classic 3D pelican-on-a-bicycle “benchmark”:

Video: https://mp.weixin.qq.com/s/ln8fIodXFxbow3kanPhcxA

As for progress, quite a few users have already posted comparisons between GLM-5.3 and GLM-5.4:

Video: https://mp.weixin.qq.com/s/ln8fIodXFxbow3kanPhcxA

Remember the first-ever use of the Loop Transformer we mentioned at the start?

This time Zhipu has branded the upgrade “pan-Coding” — you can feel that positioning from the singing alphabet to the pelican out for a spin.

According to official Zhipu figures, throughput tops out at 200 tokens/s during off-peak hours and runs at 70-80 tokens/s at peak.

This demo is titled “Rainy Night Convenience Store”, with the whole street looking like a miniature model set on a table.

Video: https://mp.weixin.qq.com/s/ln8fIodXFxbow3kanPhcxA

Judging by the details of zooming and transitions, the fidelity this HTML achieves is already far finer than what AI managed in previous months.

The convenience store door opening by itself, the product displays inside — the details are all clearly visible.

So for this task, GLM-5.4 is already handling it with ease.

Next, let's raise the difficulty and put its 3D skills inside professional software.

This time it built a Blender modeling and lighting console, with a brick-built Gringotts as the scene:

Video: https://mp.weixin.qq.com/s/ln8fIodXFxbow3kanPhcxA

Start with the fire dragon lying on the roof in the video: click “Dome Dragon” on the left and the camera pulls up to the rooftop; drag the “Flame Intensity” slider to the right and the fire in the dragon's mouth brightens in step.

The scene ships with three lighting presets — “Bright”, “Dark Night” and “Golden Hall” — and wherever it feels too dark, you can adjust it separately. The whole flow still runs like clockwork.

Having seen scene-building, here is a Coding-to-Game demo you can actually play.

Video: https://mp.weixin.qq.com/s/ln8fIodXFxbow3kanPhcxA

As the result shows, this game made by GLM-5.4 fully reaches the level of a web mini-game.

The whole loop — seating customers, taking orders, preparing dishes, serving — plays with details on par with the mini-games we normally run into.

Finally, we also ran a task in ZCode that comes up more often in everyday software work: adding version history to an existing drafts board.

The project already supports editing and saving drafts, and the database holds four old drafts. Our requirements: after the upgrade the four drafts must still be in place; one click on save leaves a version, so we can restore it if we change our minds; and author and read-only account permissions must stay the same as before.

After the run, all four drafts still opened, with a “Version History” entry added below the edit box. Even a draft that had not been edited showed an “Initial Version” on first click:

So the results show GLM-5.4 has a firm grip on all kinds of tasks.

With the demos covered, let's talk about the Loop Transformer architecture Zhipu is debuting here.

We know that an ordinary Transformer passes information forward layer by layer when generating a token, with every layer computing once. This time Zhipu modified the 28 layers in the middle of the model. Once this block finishes its first pass, the result is sent back to the start and computed a second time with the same weights, before being handed to the layers behind it.

That is the Loop in GLM-5.4. The same block of layers works one extra round, so before generating the next token the model can process the freshly computed result once more. Because both rounds use the same weights, the model's parameter scale stays basically at its original magnitude.

Zhipu ran a controlled experiment on a 30B model at matched parameter counts. With Loop added, overall training compute rose about 10%, and the AIME25 score climbed from 19.17 to 30.42.

Further down, the GPQA Diamond score also rose from 47.58 to 56.26, while the model used 11.7% fewer output tokens on average. MMLU-Pro showed a similar pattern, rising from 71.65 to 75.05 with 14.9% fewer output tokens on average.

In other words, in this comparison, computing one extra round inside the model let it answer some questions more accurately with fewer output tokens.

But actually fitting Loop onto the 750B-class GLM-5.4 left Zhipu with another problem to solve. The original base was already trained; now that the middle runs twice, how much of the first pass's result should be kept, and how much should the second pass change?

Zhipu's answer was to add a gate to each of the two passes, regulating how much of each pass's computed result is written back. In the trained model, the first pass tends to sort through the global context first and writes back a relatively small share; the second pass, with that result as a base, does finer processing and writes back a correspondingly larger share.

Deployment brings another memory cost. The context the model has read is kept as a cache, the KV Cache, which can be fetched directly when needed later. If both passes each stored a copy, longer contexts would see memory easily eaten up by these caches.

So Zhipu split the cache by distance. Content far from the current token shares one copy across both passes; only a small stretch of recent content is stored separately by each pass. Likewise, wherever the first pass had already worked out which positions of the preceding text to attend to, the second pass can directly reuse the sparse attention index it left behind.

This way, even with the context stretched to 1M tokens, the second pass only needs to reserve one extra copy of the cache for the small stretch of content inside the sliding window.

Looping the same block of layers was explored as far back as 2018 by the Universal Transformer. Zhipu's route this time is to add the Loop through post-training on top of an already pretrained base. Having validated the approach from 1B and 4B all the way through 30B, Zhipu finally applied the structure to the 750B-class GLM-5.4.

Going from 30B upward is a different matter from the controlled experiment above. A score bump at 30B tells you this block of layers can be used one more time. But at 750B you already have a trained large model in hand: you need it to adapt to a second round of computation, and you need the modified model to run online. The gating, caching and index reuse described above are the adjustments Zhipu made along the way for Loop.

That is also what makes GLM-5.4 so interesting this time. A Chinese model team took an architecture-modification scheme of its own choosing from experiments on small models all the way to a flagship launch. Zhipu has an even larger base to build next, so this method has a chance to keep climbing.

As for Zhipu's “pan-Coding”, looking back at that Gringotts scene, what I most want to study a little longer are actually those sliders on the left.

The fire dragon is already built; on the same page users can switch camera angles, adjust the lights and view the renders. Want to see what the underground vault looks like with the lights a bit lower? Just click a couple of times. Code has reached the point where it can connect several operations inside professional software into a reusable tool.

Zhipu says the GLM-5.5 base will keep growing. When it arrives, we can see on one hand how much this Loop still adds, and on the other, give it a job like the Gringotts build again and see how far it can get on its own, from understanding the requirement to wiring up operations inside software.

Zhipu said GLM-5.4 will have its model weights open-sourced once the necessary safety hardening is complete.

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…