Showing posts with label Z.ai. Show all posts
Showing posts with label Z.ai. Show all posts

GLM-5.4 Review: Benchmarks, Architecture, Coding Performance & Comparisons

GLM-5.4 Review: Benchmarks, Architecture, Coding Performance & Comparisons

GLM-5.4 is Z.ai’s first flagship model built around a Loop Transformer architecture. The release combines iterative computation with coding and vision capabilities, and its first reported coding benchmark result puts it close to several leading proprietary models.

But how strong is it really? An early KingBench 4 evaluation gave GLM-5.4 33.2 out of 60 (55.3%), placing it seventh among 19 models in that creator’s test. That is a promising result, but the model also took substantially longer and used far more tokens than Gemini 4 Neon in the same creator’s comparison.

This review examines the architecture, available benchmark evidence, model comparisons, real-world demonstrations, speed claims and limitations.

Quick Verdict

GLM-5.4 looks particularly interesting for complex coding tasks, long-running agent workflows, code review and visual development. Its Loop Transformer architecture is a meaningful technical change, and its early KingBench 4 result is competitive.

However, the available evidence does not establish it as the best coding model overall. Its first benchmark result comes from a single creator-run evaluation, and that run showed a major efficiency trade-off: much longer execution time and considerably higher token usage than Gemini 4 Neon.

Our take: GLM-5.4 is worth testing for difficult engineering work, but developers should compare its completion quality, latency and token consumption against alternatives before making it their default coding model.

1. What Is GLM-5.4?

GLM-5.4 is a model developed by Z.ai. Its defining change is the introduction of a Loop Transformer architecture, which reuses a shared group of layers across multiple iterations rather than simply passing through every layer once.

Z.ai says this approach allows the model to perform additional computation without increasing the parameter count through an equivalent expansion of unique layers.

GLM-5.4 specifications

SpecificationDetails
DeveloperZ.ai
Model generationGLM-5 family
ArchitectureLoop Transformer
Model scale750B-scale base model
Loop design28 shared layers executed for two iterations
ContextZ.ai discusses operation at 1 million-token context lengths
ModalitiesText and vision capabilities
Main focusCoding, agentic engineering, long-horizon tasks and visual development
AccessZ.ai Chat, ZCode and GLM Coding Plan
APIListed as coming soon in the launch announcement
Open weightsZ.ai says it plans to release weights after safety hardening

Important clarification about model size: Z.ai describes the architecture at 750B scale. It also says its intelligence level is comparable to models in the 2T–3T parameter range. That comparison is the company’s characterization of capability; it does not mean GLM-5.4 contains 2T–3T parameters.

GLM-5.4 should also not be described as an already downloadable open-weight model. Z.ai says it plans to open-source the weights after completing safety hardening.

2. How the Loop Transformer Architecture Works

Traditional Transformer models process information through a sequence of layers. Each layer performs its computation once during a standard forward pass.

GLM-5.4 takes a different approach. Z.ai says the model reuses 28 layers from its GLM-5 base model for two iterations. The second pass can refine the representations created during the first pass, giving the model additional computational depth without adding a separate set of unique layers for that pass.

The three main architectural changes

1. Gated progressive updates

The model uses independent per-token gates to control how much each iteration changes the residual stream. According to Z.ai, the first pass generally builds global context and writes more conservatively. The second pass can then refine the representation with larger updates. The gates can also adjust their behaviour based on token difficulty.

2. Hybrid KV cache

Running multiple iterations can increase memory use if every pass stores a full key-value cache. Z.ai says GLM-5.4 avoids this by combining shared sparse KV information with a separate sliding window for the second pass. The stated goal is to limit the additional cache cost of looping, especially at long context lengths.

3. Sparse attention index reuse

The second iteration reuses attention indices generated during the first iteration instead of calculating them again. Z.ai says its experiments found this approach performed nearly identically to recomputing the indices.

Does looping actually improve performance?

Z.ai describes a controlled comparison using a 30B model with the same general architecture as its 750B base. The comparison used the same parameter count and approximately 10% more total training compute for the looped version.

The company reports improvements on longer-reasoning tasks, including mathematics, scientific reasoning and long-context tasks. It also reports that output lengths on several benchmarks, including GPQA-Diamond and MMLU-Pro, fell by approximately 10–14%.

These are Z.ai-reported internal experiments, not independent GLM-5.4 benchmark results. They support the motivation behind the architecture, but they should not be treated as proof that GLM-5.4 beats competing models on those benchmarks.

3. GLM-5.4 Benchmark Results

The first widely reported GLM-5.4 coding result comes from AICodeKing’s KingBench 4 evaluation.

MetricGLM-5.4 result
Score33.2 / 60
Percentage55.3%
Reported position7th out of 19 models
EvaluationKingBench 4
EvaluatorAICodeKing
Evaluation typeCreator-run coding-tool test

KingBench 4 asks models to build several substantial applications through their respective coding tools. The tasks include projects such as a 3D room designer, a QMK keyboard configurator, an emulator and a Fitbit-style desktop application.

Each application is graded out of 10, giving a total score out of 60. The test is useful because it examines whether a model can produce working applications rather than simply answer coding questions. However, it has limitations: the test set is public, the applications are graded by one person, and the model is evaluated together with its coding tool and workflow.

Interpretation: 55.3% is a useful early signal. It is not a standardized measure of general intelligence or a definitive ranking of coding ability across every development environment.

4. GLM-5.4 vs Other Leading Models: KingBench 4

The most useful early comparison is to look at models evaluated on the same KingBench 4 task set.

ModelKingBench 4 score
Fable 5.270.0%
Gemini 4 Neon63.2%
Claude Opus 5.557.8%
GPT-6 Astra56.5%
GPT-6.2 Astra56.0%
GLM-5.455.3%
GPT-6.1 Sol55.0%
Gemini 4 Argon54.3%
Kimi K3.153.7%
Qwen 4 Max51.0%
GLM-5.345.8%

Comparison note: GLM-5.4’s 55.3% result was reported after its November 23 release. The other figures are from the KingBench 4 directory snapshot updated November 18. The directory had not yet incorporated GLM-5.4, so this is a comparison of reported results on the same benchmark, not a single simultaneous leaderboard run.

What the numbers suggest

  • Against GLM-5.3: GLM-5.4’s reported score is 9.5 percentage points higher. This is an encouraging generational improvement, although the results should still be interpreted in light of the evaluation setup.
  • Against GPT-6 Astra and GPT-6.2 Astra: GLM-5.4 is close in this particular test, scoring 1.2 and 0.7 percentage points lower, respectively.
  • Against GPT-6.1 Sol: GLM-5.4 is 0.3 percentage points higher. That difference is too small to establish a meaningful general advantage.
  • Against Claude Opus 5.5: GLM-5.4 is 2.5 percentage points lower.
  • Against Gemini 4 Neon: GLM-5.4 is 7.9 percentage points lower.
  • Against Fable 5.2: GLM-5.4 is 14.7 percentage points lower.

The important takeaway is that GLM-5.4 is competitive in this specific application-building test. It does not lead the group, and a small difference in a single-person evaluation should not be overinterpreted.

Why this is not a universal model ranking

KingBench 4 measures a particular kind of work: building applications through coding tools under a time limit. It does not measure every important aspect of software engineering.

It also combines model quality with tool integration, execution behaviour and the ability to complete the requested application within the test conditions. A model that is excellent at debugging, mathematics or terminal operations may not necessarily rank first on this test.

For that reason, the scores above should be read as a task-specific comparison, not an overall ranking of the models.

5. What About Terminal-Bench and Other Independent Coding Benchmarks?

A second benchmark can help prevent overreliance on one evaluation. The Terminal-Bench 4 Artificial Analysis leaderboard measures a different set of technical tasks performed through a terminal. Its November 22 snapshot includes results for models such as Gemini 4 Carbon, GPT-6.2 Astra, Gemini 4 Neon, Claude Opus 5.5 and GLM-5.3.

However, that snapshot does not yet provide a GLM-5.4 result. It would therefore be misleading to insert a GLM-5.4 score into that table or imply that it has beaten models on Terminal-Bench.

This is an important evidence gap. Until GLM-5.4 has results on more independently maintained evaluations, readers should treat KingBench 4 as an early indication rather than a complete assessment.

What we still need: comparable GLM-5.4 results on Terminal-Bench, SWE-bench-style software engineering tasks, long-context evaluations and independently run coding-agent tests.

6. Coding Quality vs Speed and Token Consumption

One of the most interesting parts of the first GLM-5.4 evaluation is not its score. It is how much work the model took to achieve it. AICodeKing’s reported KingBench 4 run recorded:

MeasurementGLM-5.4Gemini 4 Neon
Total evaluation time431 minutes109 minutes
Agent steps1,128About 245
Token usageAbout 1.04 millionAbout 15 times fewer

These are figures from one creator-run comparison, not controlled measurements of every user's experience.

The result suggests that GLM-5.4 can be extremely thorough, but that thoroughness may come with a substantial efficiency cost. AICodeKing described the model as particularly cautious, noting that it repeatedly checked its work and identified bugs and security issues.

That behaviour could be useful for code review, complex planning and tasks where correctness matters more than speed. It may be less attractive for routine edits, quick prototyping or high-volume agent workflows.

Reasoning effort can affect completion time

The same evaluation reported that one security-related task timed out after 180 seconds on High and Max settings, while Medium completed in 95 seconds. This is a specific test observation, not evidence that High or Max will always be slower or less reliable.

  • Use lower or medium reasoning effort for routine coding and straightforward edits.
  • Use higher effort for complex debugging, architecture decisions and security reviews.
  • Use the maximum setting selectively when the task genuinely benefits from deeper analysis.

The best setting should be determined by the task and the coding environment, not by assuming that maximum reasoning always produces the best result.

7. Speed: What Does Z.ai Claim?

Z.ai reports that GLM-5.4 can reach:

  • Up to 200 tokens per second during off-peak hours.
  • Around 70–80 tokens per second during peak load.

These are provider-reported throughput figures. Actual performance will depend on server load, request length, reasoning behaviour, the coding tool and the user's access plan.

A creator's separate test also reported a noticeable speed reduction compared with their GLM-5.3 experience. That observation is environment-specific and should not be treated as a universal speed comparison.

The practical distinction is important: tokens per second is not the same as time to complete a task. A model can generate quickly but spend more time thinking, taking tool actions or retrying. The 431-minute KingBench run illustrates why end-to-end completion time matters.

8. Vision, 3D Design and Creative Coding

GLM-5.4 adds vision capabilities to the flagship GLM-5 line, according to Z.ai's launch announcement. This matters because coding agents increasingly need to work with screenshots, visual references, interfaces and design feedback rather than relying only on text instructions.

Z.ai has demonstrated GLM-5.4 creating or editing several kinds of visual and interactive projects:

  • A self-narrated music video titled “Hello World”.
  • A six-axis robotic arm designed through FreeCAD.
  • A complete game with movement, physics, maps, combat systems and art assets.
  • An interactive 3D bird-watching experience using mathematical geometry and custom GLSL shaders.

These examples show the range of tasks Z.ai wants the model to handle. They are demonstrations from the developer, not independent evidence that every user can reproduce the same results reliably.

Other creator demonstrations have explored 3D scenes and visual website development. One extended website-building showcase described a solar-panel website with a frontend, backend, SVG graphics, animations, mobile testing and an administration dashboard for managing leads. That is useful as a demonstration of what an agentic coding workflow can attempt, but it should not be treated as a standardized benchmark or a guarantee of production-ready output.

Does vision mean strong scene understanding?

Not automatically. Supporting image input does not prove that a model understands every visual relationship or can reliably interpret complex scenes. GLM-5.4's vision capabilities need to be evaluated separately on tasks such as screenshot interpretation, visual debugging, object relationships, interface understanding and multi-image reasoning.

9. GLM-5.4 vs GLM-5.3

The most direct generational comparison is between GLM-5.4 and its predecessor.

AreaGLM-5.3GLM-5.4
Core architectureGLM-5 generation architectureLoop Transformer
Iterative computationNo GLM-5.4-style loop design announced28 shared layers run for two iterations
VisionThe original GLM-5.3 flagship was described as text-only in Z.ai's Coding Plan guidanceVision capabilities announced
Long-context approachGLM-5.3 already targeted long-context workHybrid KV cache designed to control extra loop memory
Coding benchmark45.8% on the KingBench 4 directory snapshot55.3% in the early creator-run result
Open weightsGLM-5.3 weights were availableGLM-5.4 weights planned after safety hardening

The KingBench difference is encouraging, but it should not be interpreted as a guaranteed 9.5-point improvement for every coding workflow. The result comes from a creator-run evaluation, and performance can vary with the tool, prompt, reasoning setting and task.

10. GLM-5.4 vs Gemini 4 Neon and Claude Opus 5.5

The KingBench 4 comparison places GLM-5.4 below Gemini 4 Neon and Claude Opus 5.5 in the reported scores. The creator-run efficiency comparison also favoured Gemini 4 Neon: GLM-5.4 took about four times as long in that run and used roughly 15 times as many tokens.

That does not prove Neon is better at every coding task. It does show why developers should look beyond the final benchmark score.

Decision factorGLM-5.4Gemini 4 NeonClaude Opus 5.5
KingBench 4 reported score55.3%63.2%57.8%
Early evidenceOne creator-run GLM-5.4 resultExisting directory result and creator comparisonExisting directory result
Efficiency in the reported creator comparisonMuch higher time and token use than NeonFaster and lower token use in that runNo directly comparable timing in that run
Best-supported conclusionPromising, but efficiency needs scrutinyStrong result on this application-building testSlightly ahead of GLM-5.4 on this test

These scores do not establish a universal winner. Different coding tools, agent scaffolds, task types and reasoning settings can change the outcome. For a developer choosing a model, the best comparison is to run the same repository tasks through each model using the same tools, time limits and success criteria.

11. Limitations and Open Questions

GLM-5.4 has several areas that deserve more testing.

1. Long reasoning loops
Z.ai itself acknowledges that GLM-5.4 can get caught in overly long “marathon thinking” loops. Extra reflection may improve accuracy, but it can also increase latency and resource consumption.

2. High token consumption
The early KingBench run used about 1.04 million tokens. That is a substantial amount of usage for a set of application-building tasks and could matter for subscription limits or API economics.

3. Timeouts
The reported security-task timeout on higher reasoning settings shows that deeper reasoning does not guarantee task completion.

4. Vision reliability
Vision support is a useful addition, but independent evaluations are still needed to establish how reliably the model understands complex scenes and visual interfaces.

5. Limited independent benchmark coverage
The first public coding result is interesting, but GLM-5.4 needs more results from independent benchmark suites before its overall position can be judged confidently.

6. Open-weight availability
Z.ai has announced plans to release the weights after safety hardening. Until that happens, developers should not assume they can download and self-host GLM-5.4.

12. Availability and Access

Z.ai's launch announcement lists the following access routes:

  • GLM Coding Plan: subscription access for coding workflows.
  • ZCode: Z.ai's coding environment.
  • Z.ai Chat: web-based model access.
  • API: marked as coming soon in the announcement.
  • Open weights: planned after safety hardening.

Availability, quota and pricing can change. Check Z.ai's official pages before choosing a plan or building a workflow around the model.

13. Who Should Use GLM-5.4?

GLM-5.4 is worth testing if you:

  • Work on complex coding tasks that benefit from repeated checking.
  • Need an agent to plan or inspect large engineering changes.
  • Want to experiment with coding-driven 3D, video or visual projects.
  • Are interested in the practical benefits of Loop Transformer architectures.
  • Can tolerate longer task completion times in exchange for potentially more thorough work.

It may be less suitable as a default choice if you:

  • Need consistently fast responses.
  • Run many agent tasks and need predictable token costs.
  • Have strict execution time limits.
  • Need a downloadable open-weight model today.
  • Want a model whose independent benchmark performance is already extensively established.

Final Verdict: Is GLM-5.4 Worth Using?

GLM-5.4 is a technically interesting release. Its Loop Transformer architecture introduces a different way to increase computational depth, and its early KingBench 4 result suggests that it can compete with several leading models on application-building tasks.

But the benchmark comparison also shows that it is not currently the leader in that evaluation. Gemini 4 Neon and Fable 5.2 scored higher, while Claude Opus 5.5 and several GPT-6 variants were close to or ahead of it.

The efficiency trade-off is just as important. In the first creator-run comparison, GLM-5.4 used considerably more time and tokens than Gemini 4 Neon. That may be acceptable for complex code review or difficult engineering work, but it is a meaningful disadvantage for everyday coding.

Our recommendation: test GLM-5.4 on complex debugging, code review and long-horizon engineering tasks. Start with a moderate reasoning setting, measure the quality of the final result and track total time and token use. Do not choose it solely because of its architecture or one early benchmark score.

GLM-5.4 is a promising model to watch. More independent evaluations are needed before calling it the best open coding model or a general replacement for leading proprietary systems.


Sources and Methodology

  1. Z.ai — GLM-5.4: Toward Generalized Coding with Our First Loop Transformer — primary source for architecture, model scale, loop design, internal ablations, speed claims, demonstrations and availability.
  2. AICoreUpdates — GLM-5.4 Is Live — source for the early AICodeKing KingBench 4 result and reported time, step and token measurements.
  3. KingBench 4 leaderboard — source for the comparison scores of models tested before GLM-5.4's release, plus the benchmark's methodology and limitations.
  4. Google — Gemini 4 Neon Model Evaluation — additional context for Gemini 4 Neon and its published comparisons with other models.
  5. Terminal-Bench 4-AA leaderboard — source for the separate terminal-task benchmark snapshot; it does not yet provide a GLM-5.4 result.

Editorial methodology: This article distinguishes Z.ai's official claims, creator-run tests and benchmark-directory results. DevBrunch has not independently run GLM-5.4 or reproduced the benchmark. The KingBench comparison is task-specific, and the GLM-5.4 score was published after the directory's November 18 snapshot. No claim is made that one benchmark establishes an overall model ranking.

GLM-5.4 Review: Benchmarks, Architecture, Coding Performance & Comparisons

GLM-5.4 Review: Benchmarks, Architecture, Coding Performance & Comparisons GLM-5.4 is Z.ai’s first flagship model built aro...