Z.ai's GLM-5.4 Doubles Vision Scores by Running Its Layers Twice
Z.ai's new flagship doubles vision benchmark scores and jumps 10 points on the Intelligence Index without raising per-task cost, using a Loop Transformer that runs 28 layers twice.
Takeaways
- GLM-5.4 scores 42 on Artificial Analysis Intelligence Index, up from 32 for GLM-5.3
- First GLM flagship with native image and video input, built on new Loop Transformer architecture
- 28 layers run twice per token, approximating 2T-3T parameter models at 750B scale
- Vision benchmarks doubled: HLE-Diamond 18%-37%, GDP.pdf 11%-22%
- Pricing unchanged at $1.40/M input, $4.40/M output; 1M context window
- Proprietary at launch via Z.ai API; weights promised after safety review
Z.ai’s GLM-5.4 brings image and video input to the company’s flagship model while keeping token prices at GLM-5.3 levels. In independent testing, Artificial Analysis results put it at 42 on the Intelligence Index, up from 32 for GLM-5.3, with average evaluation costs of $5.08 and $5.01 per task, respectively. The largest gains appeared in visual reasoning, repository-level coding and physics.
One stack, two passes
GLM-5.4 introduces an architecture Z.ai calls the Loop Transformer. According to a technical overview, the model applies the 28 layers of its GLM-5 base twice for each token. Every token therefore passes through the same weights two times before the model produces output.
Reusing the layer stack deepens the computation graph without storing a second set of parameters. The loop still requires additional computation and may increase latency relative to a single pass, but it avoids the memory demands of adding another distinct stack. Z.ai describes GLM-5.4 as operating at the 750B scale and claims reasoning comparable to models with 2 trillion to 3 trillion parameters. Independent benchmarks can measure output quality, though they cannot confirm that architectural equivalence.
Vision doubles, coding advances
Scores on Artificial Analysis evaluations involving images roughly doubled from GLM-5.3. HLE-Diamond, which tests figure inspection on Humanity’s Last Exam, rose from 18% to 37%. GDP.pdf, an evaluation of PDF page comprehension, increased from 11% to 22%. On the composite Intelligence Index, GLM-5.4 placed between Qwen4 Max with extra-high reasoning at 43 and Step 5 at 40.
| Benchmark | What it measures | GLM-5.4 | Comparison |
|---|---|---|---|
| CritPt v2 | Hard physics problems | 52% | Ahead of Kimi K3.1 Pro, Qwen4 Max and Step 5 |
| FrontierCode-AA 2.0 | Repository-level coding | 28% | Ahead of the same three models |
| Terminal-Bench 4.1 | Long-running terminal tasks | 46% | Behind Kimi K3.1 Pro at 68% |
The results support GLM-5.4 for codebase analysis and difficult scientific reasoning. Kimi K3.1 Pro retains a substantial advantage on extended terminal sessions, where models must plan, execute commands and recover from errors across multiple steps.
Fewer fabrications, more abstentions
GLM-5.4 cut its AA-Omniscience hallucination rate from 39% to 12%, while its answer rate fell from 60% to 36%. Raw accuracy also declined from 32% to 26%. The composite Omniscience score still rose from 6 to 17 because the evaluation penalizes incorrect answers more heavily than abstentions.
Applications that prioritize broad coverage should measure unanswered requests separately during migration tests. Products that can route abstentions to retrieval, another model or human review may benefit from the more cautious behavior. Systems that require an answer on every request could see lower effective coverage despite the improved composite score.
Pricing depends heavily on input volume
Published token prices match GLM-5.3, and average Intelligence Index cost changed little at $5.08 per task versus $5.01. Input accounted for 93% of GLM-5.4’s evaluation cost, with average input volume reaching 17 million tokens per task. Much of that increase came from AA-Briefcase, which consumed 3.9 billion total input tokens compared with 1.6 billion for GLM-5.3. Average output fell from 119,000 to 79,000 tokens per task, partially offsetting the larger prompts.
Those figures describe the benchmark suite rather than a typical API request. Production costs will depend on prompt size, cache reuse, image or video payloads and the number of agent steps.
| Specification | GLM-5.4 |
|---|---|
| Architecture | 750B-scale Loop Transformer with 28 layers applied twice |
| Context window | 1 million tokens |
| Input | Text, images and video |
| Output | Text |
| Input price | $1.40 per 1 million tokens; $0.26 with caching |
| Output price | $4.40 per 1 million tokens |
| Weights | Closed at launch |
API first, weights later
Z.ai announced GLM-5.4 on November 23 and set standard API access for December 2. The model is also offered through Coding Plan tiers priced at $18, $80 and $168 per month.
The weights remain closed while Z.ai completes additional safety work, with a release planned afterward. Self-hosting is therefore unavailable at launch. GLM-4.5 and GLM-5.1 shipped with open weights, making the initial API-only release a change from the company’s recent approach.
Where the upgrade fits
The Loop Transformer gives model builders another scaling option: spend more computation on reused weights instead of expanding parameter storage. Its practical value will depend on latency, throughput and performance across production workloads, details that a composite benchmark does not resolve.
Teams using GLM-5.3 gain native visual input and stronger benchmark performance without higher published token rates, though larger inputs can still raise the total bill. Repository analysis and multimodal workflows are the clearest upgrade cases. Terminal-heavy agents should compare GLM-5.4 directly with Kimi K3.1 Pro, while applications that require high answer coverage should test the model’s increased tendency to abstain.