跪拜 Guibai
← All articles
Artificial Intelligence · LLM

GLM-5.4 Benchmarks: Up on 5.3, Mixed vs Kimi, and a Loop That Reuses 28 Layers

By AAA爱学习的刘哥 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

For teams picking a coding model, GLM-5.4's gains are measurable but task-dependent: it beats Kimi on building complete apps, loses on fixing existing bugs, and its loop architecture shows a compute-accuracy tradeoff that could shape future model design.

Summary

Zhipu's own 200-scenario coding test puts GLM-5.4 ahead of GLM-5.3 by a 28-point win-loss margin, but that lead shrinks to 10.5 points against Kimi K3.1 Pro and to just 3.4 against DeepSeek-V4.1-Flash-1017. On AICodeKing's six-app KingBench 4, GLM-5.4's Max reasoning tier scores 33.2, a 5.7-point jump over 5.3 and a hair above GPT-6.1 Sol's 33.0; Kimi sits at 32.2. But in Paweł Huryn's Bug Hunt Bench, GLM-5.4 fixes 28 of 105 known defects in a single run, while Kimi averages 36 across three runs. The model hit service overload during that test and needed recovery before finishing.

The architecture behind those numbers: GLM-5.4 runs layers 27 through 54 twice per token, sharing one set of weights. The second pass reuses the context positions found in the first and caches only the nearby new results. Zhipu's 30B parameter experiment, with 200K long-context fine-tuning, shows the loop adds about 10% training compute but lifts AIME25 from 19.17 to 30.42, AA-LCR from 40.33 to 47.67, and GPQA-Diamond from 47.58 to 56.26, while average output length drops 11.7%. Zhipu reports peak serving speed of 70-80 tokens per second, up to 200 off-peak.

JavaGuide's hands-on tests show the model's output quality varies by task: a Blender pavilion was planned and modeled in about 74 minutes with Python scripts and renders, a video edit aligned narration well, but a bicycle chain missed the guide pulley on the first version despite a correct 3.50-turn count. The article does not pick an overall winner; it says the verdict depends on whether you measure app delivery, code repair, or finished video quality.

Takeaways
— In Zhipu's self-run 200 coding scenarios, GLM-5.4 wins 51.1% and loses 23.1% against GLM-5.3, a 28-point win-loss margin.
— Against Kimi K3.1 Pro, GLM-5.4 wins 41.8% and loses 31.3% (10.5-point margin); against DeepSeek-V4.1-Flash-1017, 36.6% vs 33.2% (3.4-point margin).
— On AICodeKing's six-app KingBench 4 (max 60 points), GLM-5.4 Max scored 33.2, ahead of GPT-6.1 Sol's 33.0, Kimi's 32.2, and GLM-5.3's 27.5.
— On Bug Hunt Bench, GLM-5.4 fixed 28 of 105 defects in a single run; GLM-5.3 fixed 19; Kimi K3.1 Pro averaged 36 over three runs, and GLM-5.4 hit service overload during its run.
— The loop architecture runs layers 27-54 twice per token, sharing weights and gating updates, with output speed of 70-80 tokens/sec peak.
— In a 30B parameter experiment, adding the loop added ~10% training compute and improved AIME25 from 19.17 to 30.42, AA-LCR from 40.33 to 47.67, and GPQA-Diamond from 47.58 to 56.26, while cutting average output length by 11.7%.
Conclusions

The loop's benefit is conditional on fine-tuning: the 30B gains appeared after 200K long-context supervised fine-tuning, so the architecture alone may not explain the scores.

Zhipu's reported win margin shrinks from 28 points against its own prior model to single digits against competitors, which suggests the improvement is real but not a leap.

Public benchmarks disagree by task: AICodeKing puts GLM-5.4 above Kimi, while Bug Hunt Bench puts Kimi ahead, so the 'better model' answer depends on whether you're building new apps or fixing legacy code.

Concepts & terms
Loop
In GLM-5.4, the model runs layers 27 to 54 twice per token, using the same weights; the first pass produces an intermediate state, the second continues processing with gated updates, and a small cache is kept for the most recent new context.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗