by Z.ai
Z.ai's newest flagship, reachable through the GLM Coding Plan while its API and open weights are still to come.
Z.ai's documentation, read on 2 December 2026, says GLM-5.4 matches 2T to 3T parameter models from a 750B base and quotes up to 200 tokens per second off-peak. It is on the GLM Coding Plan only, with the API and open weights promised, so teams that need either today should use GLM-5.3.
Checked 2 Dec against Z.ai's own pages.
Z.ai had published no per-token price for GLM-5.4 on 2 December 2026. It is part of the GLM Coding Plan, where weekly-quota plans get 1.5 times the quota of the previous model, and Z.ai says the Model API follows a security assessment. Plan prices are on Z.ai's subscribe page and are not stored here.
GLM-5.4 is Z.ai's latest flagship model and the first built on a Loop Transformer, which loops 28 layers of the GLM-5 base model twice. It accepts text, image, video and file input, returns text, and has a 1 million token context window with up to 128K tokens of output.
Reads
Writes
Loop Transformer
A shared block of layers runs twice per token, adding depth without adding parameters.
Million-token window
Up to 128K tokens can come back in one reply.
Text, image, video and file input
Output is text, with thinking mode and function calling.
Hybrid KV cache
The second pass adds only a sliding window of cache, so a loop does not double memory use.
Structured output and caching
JSON output and context caching are both listed in the documentation.
base model parameters, looped for two passes
Source: Z.ai GLM-5.4 documentation, read 2 December 2026| Model | Lab | Context | In / out per 1M | Reads and writes |
|---|---|---|---|---|
| Z.ai | 1M | -- | text, image, video → text | |
| Z.ai | 1M | $1.40 / $4.40 | text → text | |
| Moonshot AI | 1M | $2 / $10 | text, image → text | |
| Amazon | 1M | $1 / $3 | text → text |
Marathon thinking loops
Z.ai states that the model tends to get caught in overly long reflection loops, which it says still improve accuracy.
Workaround: Stream output and set a maximum output length so a runaway chain can be cut off.
Speed falls at peak load
Peak-hour output slows to 70 to 80 tokens a second in Z.ai's own figures.
Workaround: Schedule long batch jobs for off-peak hours.
No API yet
Access today is through the Coding Plan; the Model API has not launched.
Workaround: Use the Coding Plan through supported coding tools, or call GLM-5.3 by API in the meantime.
glm-5.4 · 23 Nov 2026
First Loop Transformer flagship; Coding Plan only at launch.
glm-5.3 · 14 Aug 2026
Predecessor, with API and open weights.
Z.ai had published no per-token API price for GLM-5.4 on 2 December 2026, and its blog lists the API as coming soon. For now you reach the model through the GLM Coding Plan, with 1.5 times the weekly quota of GLM-5.3 on weekly-quota plans. Check Z.ai's subscribe page for the plan prices.
Not yet. Z.ai's blog promises to release the weights after safety hardening, with no date given, and no public Hugging Face repository was found on 2 December 2026. GLM-5.3, by comparison, has open weights on Hokai.
A Loop Transformer runs a group of weight-shared layers for several passes, so the network gets deeper without more parameters. GLM-5.4 loops 28 layers of its 750B GLM-5 base twice, and Z.ai says this moves part of the reasoning from output tokens into the loop, cutting average output length 10 to 14% in its 30B ablation on benchmarks such as GPQA-Diamond and MMLU-Pro.
Not in text that Hokai could read. Z.ai's documentation and blog describe capabilities and a 30B ablation but give no score table for GLM-5.4, and BenchLM listed it as not publicly ranked on 2 December 2026. Treat every capability claim as vendor-reported until an independent board lists it.
Z.ai quotes as much as 200 tokens a second when load is light and 70 to 80 when it is heavy. It says a multi-pass model needed fused kernels and close co-design with its serving stack to get there. No independent speed measurement was found.
GLM-5.4 is the latest flagship model from Z.ai, and its documentation calls it the first model built on a Loop Transformer. It reuses 28 layers of the GLM-5 base model across two passes, which makes the network deeper without adding parameters. Per the vendor's own pages on 2 December 2026, the result reaches intelligence levels comparable to 2T-3T parameter models, a claim with no test shown; and BenchLM, read on 2 December 2026, lists the model as not publicly ranked with no price.
Z.ai describes three changes that make the loop practical at that size. Gated progressive updates give each pass its own per-token gates so activations stay in range, a hybrid KV cache lets the second pass reuse the sparse entries chosen in the first pass and add only a sliding window of its own, and the second pass reuses the sparse attention indices from the first. Z.ai says an extra loop therefore costs one sliding window of cache rather than a full copy, which keeps long-context serving costs close to those of the previous model.
The documentation lists text, image, video and file input, text output, a 1M-token context window and 128K tokens of output. It supports thinking mode, streaming, function calling, context caching and structured output such as JSON. Z.ai reports up to 200 tokens per second off-peak and 70 to 80 at peak load, and says part of the reasoning moves from output tokens into the loop, with output length down 10 to 14% on its 30B test model. Z.ai frames the release as the start of Generalized Coding: demos include code that generates and edits video, builds games and models a six-axis robotic arm in FreeCAD, none of which Hokai could verify independently.
Availability is narrow. GLM-5.4 is open to all GLM Coding Plan users, and on weekly-quota plans the quota for it is 1.5 times that for GLM-5.3. The Model API is listed as coming after a security assessment, and Z.ai says it plans to open-source the weights after safety hardening, with no date. No public Hugging Face repository for it was found on 2 December 2026, so unlike GLM-5.3 it cannot yet be self-hosted.
Who should look elsewhere: teams that need an API price, published benchmark scores or downloadable weights today should use GLM-5.3, or an open-weights alternative such as Amazon Ergo or Kimi K3.1 Pro. Z.ai itself says GLM-5.4 tends to fall into overly long thinking loops, which help accuracy but slow answers. Z.ai is also one of six China-based companies named in US advisory AA26-251A of 8 September 2026, an allegation by US agencies about distillation of US models, which may matter to buyers who must show a clean supply chain for model providers.
Not published by Z.ai on 2 December 2026: an API price, benchmark scores, a training cutoff and a data-retention policy. Hokai found no independent review, so the claims above come from Z.ai's documentation and launch post and should be read as vendor-reported.
Our call: use GLM-5.4 only if you are already on the GLM Coding Plan and want to try its video input and long-context coding. Everyone else should use GLM-5.3, Amazon Ergo or Kimi K3.1 Pro today and revisit GLM-5.4 once the API, price and weights are published.
Specifications on this page (context window, token prices, benchmark scores, licence) are read from Z.ai's own model card and documentation. The verdict is Hokai's reading of them, not the provider's claim.