Z.ai, the Beijing lab behind the GLM models, released GLM-5.4 on Monday 23 November. Z.ai says the model was built by looping part of an existing 750B base and claims intelligence comparable to models with 2 to 3 trillion parameters. Public evidence for that claim is thin, and current terms restrict GLM-5.4 to subscribers using approved coding tools.
How the loop works
A standard transformer passes each token through its stack of layers once. GLM-5.4 reuses 28 layers of the GLM-5 base model across two iterations, so the model gains computational depth while its parameter count stays the same. Z.ai converted a pre-trained base through continued training, which avoided a new pre-training run.
Looping can destabilise a network, because each pass adds to the same running representation of a token. Z.ai's answer is a set of per-token gates that limit how much each iteration writes back.
Memory is the second difficulty. The KV cache holds attention data for earlier tokens, and giving the second pass a full cache would be expensive at long context. In GLM-5.4, the second pass reuses the first pass's sparse cache and adds only a local sliding window. The second pass also reuses the first pass's sparse attention indices, which record the earlier tokens selected for attention.
Looped models predate GLM-5.4. The authors of the 2025 Ouro paper attributed their looped models' advantage to better manipulation of knowledge, with no gain in knowledge capacity. If that finding carries over to GLM-5.4, builders should expect a second pass to help reasoning more than factual recall.
What the scores show
Z.ai's main architecture evidence comes from a smaller model. In a 30B comparison using about 10% more training compute, AIME 2025 maths accuracy rose from 19.17% to 30.42%, and GPQA Diamond science accuracy rose from 47.58% to 56.26%. Average output length also fell by 10% to 14% on benchmarks including GPQA-Diamond and MMLU-Pro. Both findings concern the 30B model, and Z.ai hasn't published a comprehensive comparison of the flagship against Claude or GPT.
For the full model, Z.ai's mainland China arm ran an internal test on 200 real-world programming scenarios. A launch guide that transcribed the vendor's chart reports that GLM-5.4 beat GLM-5.3 in 51.1% of comparisons, tied in 25.7% and lost 23.1%. The guide notes that no grading protocol was published. Against DeepSeek V4.1 Flash 1017, the same chart shows 36.6% wins and 33.2% losses, which is close to even.
Outside results are few and mixed. On KingBench 4, a six-project coding suite graded by one reviewer with early access, GLM-5.4 scored 33.2 out of 60, up from 27.5 for GLM-5.3. Claude Opus 5.5 scored 34.7 on the same suite. A separate timed challenge, AI Decathlon, is reported to place GLM-5.4 at High effort in a tie for 16th of 27 entries. AI Decathlon tests each model together with its own coding agent, so its ranking reflects the agent as well as the model.
Long thinking is the main weakness
Z.ai acknowledges that GLM-5.4 gets caught in overly long "marathon thinking" loops, while arguing that the extra reflection improves accuracy. The KingBench run shows the cost: GLM-5.4 took 431 minutes and about 1.04 million reasoning tokens, against 109 minutes and roughly 70,000 tokens for Gemini 4 Neon. Gemini 4 Neon scored higher, at 37.9.
Raw generation speed is a smaller concern. Z.ai quotes up to 200 tokens per second off-peak and 70 to 80 at peak load.
Effort settings therefore deserve attention. In Claude Code the default effort is max, which Z.ai recommends for coding. Medium and high both map to high, while the lighter settings map to low. Disabling thinking also maps to low.
Price, quota and the New Zealand clock
GLM-5.4 has no entry on Z.ai's metered price list, where GLM-5.3 costs US$1.40 per million input tokens and US$4.40 per million output. The GLM-5.4 API will open after a security assessment, with no date given. Downloadable weights are also pending, and the first page of Z.ai's Hugging Face catalogue shows no GLM-5.4 checkpoint.
Access comes through the GLM Coding Plan, at US$18, US$80 or US$168 a month for Lite, Pro and Max. Usage draws down credits under a published formula:
- GLM-5.4 multipliers: 4.6 for input, 1.1 for cached input and 16 for output. Each token count is multiplied by its rate, and the total is divided by 10,000.
- GLM-5.3 multipliers: 6.9, 1.7 and 24.
- Lite allowance: 2,000 credits per five hours and 10,000 per week.
- Off-peak usage: charged at half the standard credit rate.
By our arithmetic, a task with 2 million input tokens (95% cached) and 20,000 output tokens costs 287 credits at peak, or about 144 off-peak. A Lite subscriber could run 13 such tasks in an off-peak five-hour window. The reasoning tokens reported for the whole KingBench run would cost about 1,660 credits at peak before any input is counted, which is most of a Lite window.
Peak hours are Monday to Friday, 14:00 to 18:00 Singapore time. In New Zealand the window currently falls between 7pm and 11pm, so a normal working day is entirely off-peak. After daylight saving ends on 4 April 2027, the window will move to 6pm to 10pm.
What the plan allows
The Coding Plan can't power a product. Its terms bar calling the models from your own apps, bots, websites or SaaS products without a separate written agreement, and each individual plan is licensed to one person. Purchases can't be refunded, even when the allowance is unused.
Supported tools include Claude Code, Codex, OpenCode and Cline. In Claude Code, users point the default model variables at [glm-5.4[1m]](https://docs.z.ai/devpack/latest-model) for the million-token window. GLM-5.4 accepts video, image, text and file input and returns up to 128K tokens of text.
Teams handling client code should settle the legal questions before connecting a repository. Z.ai's policy says its group companies and service providers are typically located in Singapore. The same document sets separate terms for API and consumer services, and doesn't say which apply to Coding Plan traffic. Z.ai has also been on the US Commerce Department's Entity List since January 2025, a point for firms with US customers or export obligations to raise with counsel.
A sensible trial is a month of Lite on non-sensitive code, with tasks that have automated checks and a hard time limit. Run each task at high and at max, then record the credits spent and whether the checks passed. Builders who need a metered endpoint for a live product can use GLM-5.3 until Z.ai sets a GLM-5.4 price.
Sources
- GLM-5.4 (Z.ai developer documentation)
- GLM-5.4 guide (BigModel, in Chinese)
- GLM Coding Plan overview (Z.ai)
- How to switch models (Z.ai)
- Pricing (Z.ai)
- Subscription terms (Z.ai)
- Coding Plan usage policy (Z.ai)
- Privacy policy (Z.ai)
- Z.ai models on Hugging Face
- China's Z.ai Says Its New AI Model Can Think Like One Four Times Its Size (Decrypt)
- GLM-5.4 launch: How to use it, pricing and API status (Kingy)
- GLM-5.4 vs Claude Opus 5.5 (DataCamp)
- How Much Does GLM-5.4 Cost? (Apidog)
- AI All-Round Bench repository (GitHub)
- Scaling Latent Reasoning via Looped Language Models (arXiv)
- Daylight saving (New Zealand Government)
Build with people working on the same things
Join the Auckland Society for AI: NZ$599 a year with a ForgeBox and the members' projects area. Our Auckland meetups are open to everyone.