EN / 中文

Zhipu GLM-5.4: Loop Transformer Flagship Tested Against GLM-5.2 & GLM-5.3

by guangzixingqiu·November 25, 2026

Written by | Gao Xiaoyang Edited by | Hao Xin

On November 23, Zhipu launched GLM-5.4.

There was no launch event and no benchmark table. The model was first released in the Coding Plan at noon, and it wasn't until evening that the official WeChat account published a lengthy technical article.

As Zhipu's first-generation Loop Transformer flagship, its parameter count remains in the 750B range. The real change lies in the computation method—looping the weights of the middle 28 layers of the base model twice.

A close look at Zhipu's recent three generations of models reveals an intriguing detail: from GLM-5.2 to GLM-5.4, the parameter scale has remained largely stable. (The parameter counts displayed on the ModelScope community model cards for GLM-5.2 and GLM-5.3 are 753B; excluding the Multi-Token Prediction (MTP) layer parameters, this corresponds to the 744B shown in the GitHub community documentation.)

Table from the GitHub community documentation

Since the scale has stood still while capabilities have continuously iterated, the distinction between each generation lies not in size, but elsewhere. The most direct way to understand these differences is to have the models perform the same task.

Therefore, we decided to conduct a cross-comparison evaluation of Zhipu's three generations of models.

We selected three representative community projects: a mechanical astronomical clock, a single-file shooting game named NEBULA VANGUARD, and a pure code-generated 3D birdwatching scene. These corresponded to the highlight cases released with GLM-5.2, GLM-5.3, and GLM-5.4, respectively. We planned to give the same three tasks to all three models, running nine tasks in total, to see what each generation could deliver on "another's home turf."

The empirical tests yielded three core conclusions.

First, the strengths of the three generations are indeed different, but this time there was no scenario where the new generation completely overwhelmed the others. In the mechanical astronomical clock task, all three works ran normally, with differences lying in the orientation of their "craftsmanship." In the shooting game task, GLM-5.4 had the largest engineering volume, but its initial visual impression and operational smoothness were not the best.

Second, GLM-5.4's advantages lie in its willingness to expand details and repeatedly fill in gaps. For the same task, it produced the longest code and the most detailed output, but at the cost of much slower inference and faster quota consumption. Limited by this, only two of the three originally planned tests were completed fully.

Third, this update seems more like a groundwork than a finale. No public benchmarks, no simultaneous API opening, tight compute capacity on the first day, yet a direct 50% increase in quotas, plus the official explicit preview at the end of the article stating that the next generation model will significantly expand in scale. These signals combined suggest that the main protagonist is clearly not GLM-5.4.

From Window to Training, Then to Depth

Looking back at the timeline, GLM-5.2 was released in June, GLM-5.3 in August, and GLM-5.4 in November. All three generations share the same base model in the 750B range, but each bet on different dimensions of expansion.

GLM-5.2 expanded the window. The official goal at the time was clear: achieve 1M lossless context. To this end, they specifically expanded the training environment for Coding Agents over several months.

The accompanying engineering solution was IndexShare, where sparse attention every four layers shares the same indexer, thereby reducing the per-token compute overhead under long contexts. This generation was positioned for Coding and long-range tasks, meaning, in layman's terms, stuffing an entire project into a single inference chain.

GLM-5.3 expanded "training." Sharing the same base as GLM-5.2, all improvements came from post-training. Their original statement was "Scaling post-training is all we did," meaning investing in more environments, more tasks, and more compute power.

The results focused on programming and cybersecurity. On the Z.ai Code Bench, it improved by 50% compared to GLM-5.2, and scored 84.5 on CyberGym. This generation emphasized efficiency, targeting lower per-task costs at frontier intelligence levels.

With GLM-5.4, the change was no longer in the training recipe, but in the computational structure—it expanded "depth." Specifically, it changed the middle 28 layers of the base model's 78 layers to execute in a loop, running the same set of weights twice. Technical breakdowns can be found in Photon Planet's article released yesterday, "Architecture, RSI, Commercialization: Understanding the Three Lines of Zhipu GLM-5.4.")

Viewing the three upgrades together, the roadmap is very clear. First expand the window, then expand training, and finally expand depth.

The cost structures of the three are different: window expansion is costly in inference memory, training expansion is costly in compute time, and depth expansion is costly in forward computation per token. This largely explains why, despite all being called "upgrades," the actual user experience differs so markedly across the three generations.

Another detail worth noting is that among the three generations, only GLM-5.4 did not publish benchmark scores.

GLM-5.2 provided its ranking on Code Arena and item-by-item differences against competitors. GLM-5.3 posted complete absolute scores from public leaderboards along with evaluation footnotes. However, for GLM-5.4, the official announcement only stated that its "intelligence level reaches the 2–3T class," accompanied by a control experiment using a 30B-scale model with the same parameters.

Tests Truncated by Quotas and Speed

Let's start with the conclusion. In the two tasks ultimately completed across six comparable runs, all three generations delivered finished products that could be opened and run. There was no instance of any generation "submitting a blank paper."

However, the stylistic divergence among the three was very obvious.

GLM-5.4 delivered the thickest output, with the largest code volume and the most complete structure. GLM-5.3 delivered the cleverest output, achieving the best first-impression effect with the least amount of code. GLM-5.2 delivered the most stable output, with restrained aesthetics and the fewest detail errors. On these two tasks, the distinction was no longer about capability high-and-low, but rather their respective "personalities."

The testing method was as follows. All runs were based on the GLM Coding Plan, executed within Zhipu's ZCode, with a new conversation started each time. Verbatim identical Prompts were used to ensure independent execution. Since each task originated from a representative work of a specific generation, each round naturally featured one "home-field player."

Test 1: Mechanical Astronomical Clock. The requirement was pure SVG, prohibiting Canvas and external images. It needed to include at least five concentric layers, six gears with real tooth profiles, sixty minute ticks, dynamic moon phases, three hands rotating at different speeds, along with hover highlights and three interactive controls.

All three models delivered complete products, but their approaches were entirely different: GLM-5.2 did subtraction, GLM-5.3 did research, and GLM-5.4 did annotation.

GLM-5.2's product consisted of 632 lines of code. The gears were clustered in the center of the dial, meshing as a group. Roman numerals, star points, and gold gradients were restrained. The control bar was pressed to the bottom of the page, making the whole thing look like a real pocket watch. Its aesthetic was the most stable among the three generations, with almost no superfluous decoration.

GLM-5.3's product consisted of 729 lines of code, carrying the strongest horological flavor. The code defined the number of teeth and angular velocity for each gear separately, arranging them by meshing phase. The moon phase was not a static decorative drawing but a moving viewport. The control bar could directly read out "Moon Phase · Waxing Gibbous" and the current time. This version looked most like the work of someone who understands mechanical structures.

GLM-5.4's product consisted of 759 lines of code, containing the highest information density. It arranged sixteen gears in a circle, labeled four moon phases in four directions on the dial, and added an entire explanation panel on the right side. It explained the functions of the tick ring, star orbit ring, gear layer, moon phase layer, and hand layer layer by layer, attaching runtime duration and seconds per rotation.

Test 2: NEBULA VANGUARD. This was a single-file shooting game with fifteen requirements, including starfield parallax, particle trails, asteroids, energy bullets, health bars, screen shake, power-ups, start and end screens—not missing a single one.

All three models similarly delivered single-file products without external resources, but the differences remained distinct: GLM-5.2 did layout, GLM-5.3 did atmosphere, and GLM-5.4 did systems.

GLM-5.2 wrote 1,054 lines of code, resulting in the cleanest interface. The title used a gradient from cold blue to magenta, with four Chinese operation instructions listed clearly. Even mechanism details like "high-mass asteroids shatter into fragments when destroyed" were written into the prompts.

GLM-5.3 used only 881 lines of code, but the visuals were the most striking. The title spanned nearly the full screen width, backed by layered nebulas and stars, with a glowing core in the center of the frame. This version best deserved the phrase "one-shot success," and its actual gameplay feel was also the smoothest among the three works.

GLM-5.4 wrote 1,269 lines of code, featuring the most complete system structure. Instead of listing instructions, it created a standardized operation table, breaking down movement, shooting, guarding the core, picking up energy, and pausing item by item, and adding a high-score record. The engineering effort was visibly larger, but the initial screen information was too crowded, resulting in less impact at first glance compared to the previous two generations. Program optimization was also inferior to GLM-5.3, with noticeable stuttering and latency during gameplay.

These two tasks were benchmarks representing the current standard at their respective release times. Now that all three generations can submit smoothly, it indicates that the gap is no longer about the lower limit of capability, but about their working methods.

For a cross-comparison, the results were mixed. The good news is that basic capabilities have indeed been raised; no one submits an unopenable file for similar tasks. The bad news is that to test true capability gaps, the difficulty must be pushed deeper, which happened to hit the wall of quotas and compute power.

The originally planned Test 3 was ultimately not included in the body text. That task was GLM-5.4's "home field": generating a 3D birdwatching scene purely via code, requiring zero models, zero textures, rendering a Japanese Tit solely through mathematical geometry and GLSL shaders. However, only two generations completed this item; the third result was never obtained.

Running through the three tasks and nine jobs sequentially exhausted three 5-hour quotas. We assumed that single-file projects with no assets and no third-party dependencies would be sufficiently lightweight, but the actual load far exceeded expectations.

GLM-5.4's compute supply was particularly tight: while the other two models could run two tasks in parallel, GLM-5.4 would inevitably interrupt one and prompt a rate limit error if dual-run. The tests began in the evening, not during peak hours, yet the measured generation speed did not exceed 100 tokens/s, making overall progress quite difficult.

Continuing to force the run would not only cause time overruns but might also render the comparison of the first two items meaningless. Therefore, we actively cut the third item, adjusting the observational perspective from "who is stronger" to "how does GLM-5.4 perform on GLM-5.2 and GLM-5.3's home fields."

This shift actually made the conclusions cleaner. The first two items happened to be the home fields of the previous generations, so GLM-5.4 fought away throughout, revealing its truest nature.

This Generation Seems More Like Groundwork

Placed within Zhipu's overall roadmap, GLM-5.4 serves as validation, not completion.

Zhipu wrote frankly at the end of its technical blog: the team is not choosing between "expanding depth" and "expanding scale," but pursuing both simultaneously.

GLM-5.4 is responsible for validating the path of computational depth. The next model will be significantly larger in scale. In other words, Loop is a newly built road, and GLM-5.4 is just the first prototype car driven onto it for inspection—it can run, but it is far from mass production status.

Several practical details support this judgment:

GLM-5.4 did not publish benchmark scores, indicating this generation is not yet suitable for comprehensive public disclosure. The API requires waiting for security assessments, indicating the server side is not fully ready. Widespread connection interruptions and retries occurred on the first day, indicating online capacity was configured for validation scale. However, quotas were directly increased by 50%, which looks more like exchanging quota for developer patience.

Stringing these actions together, GLM-5.4 does not seem like a flagship intended to fight head-on in the market, but rather a public test drive aimed at core users. Moreover, on the day of launch, Zhipu explicitly previewed at the end of the article that the next generation would soon meet everyone.

As for why GLM-5.4 did not release benchmarks, there are roughly two possibilities.

One is caution. Loop is a brand-new architecture, and officials admitted the model tends to fall into overly long thinking loops. In such a state, showing off a beautiful leaderboard might easily backfire in the next comparison.

The other is leaving room, ceding the main narrative space to the truly major version. Considering Zhipu's eager pace in previewing the next generation, the latter possibility seems greater.

Following this line, market expectations for GLM-5.5 generally fall into three areas.

First is scale. Industry insiders previously widely expected Zhipu to launch a flagship at the three-trillion-parameter level by year-end.

Second is inheritance. Changes already validated in GLM-5.4, such as gated updates, KV sharing, and index reuse, will likely be absorbed by the next generation, allowing the paths of "depth" and "scale" to truly merge.

Third is filling gaps. Debts incurred by this generation regarding benchmarks, APIs, and online stability will likely be paid off all at once in the next generation.

If these three things land, GLM-5.4's historical position will be very clear: it is the generation that paved the new road, not necessarily the best one.

After testing all three generations together, the most intuitive feeling is not about who overshadowed whom, but how the same task illuminated the distinct personalities of the three models.

GLM-5.2 is like an engineer who polishes the blueprint to the final version—restrained and rarely wrong. GLM-5.3 is like a craftsman deeply skilled in proportion—knowing how to make the work beautiful and handy. GLM-5.4 is like an exceptionally serious intern who checks repeatedly but doesn't yet know when to stop.

In some ways, this is precisely the projection of Zhipu's own acknowledged "Thunderbolt Deep Thinking" on delivery.

The cyclic architecture gave GLM-5.4 another pair of "eyes," enabling it to see more details. However, after seeing more, it still needs to learn when to stop.