GLM-5.4: specs, API changes, pricing, open-weights status & what it means for GLM 5.3 users
GLM-5.4 (API id glm-5.4) is Z.ai’s (Zhipu AI) new flagship and the successor to the GLM 5.3 we serve in the Frontier Pool. It reached Coding Plan subscribers on November 23, 2026 and the public, pay-per-token API on December 2, 2026 — at exactly GLM 5.3’s list price: $1.40 input, $0.26 cached input, $4.40 output per 1M tokens. The architecture is the news: GLM-5.4 is Z.ai’s first Loop Transformer, which reuses 28 layers of the GLM-5 base model across two iterations — “a deeper network without increasing the parameter count”, in Z.ai’s words — with a 1M-token context, 128K-token output and image input, where GLM 5.3 was text-only.
Two things are not published as of today, and they decide what we can say. There is no numeric benchmark table from Z.ai — its model page shows a single “win rate” chart image and a 30B-parameter ablation — and Artificial Analysis has not scored it, so GLM-5.4 has no place yet on our Pareto Frontier. And there are no open weights: no GLM-5.4 repository exists on Z.ai’s Hugging Face organization, whose newest checkpoints are still GLM-5.3 and GLM-5.3-Flash. That second point is the one this page will keep current — see Open weights and license — because it is the gate for our pools: GLM-5.4 is under review, waiting on weights.
GLM-5.4 specs
Section titled “GLM-5.4 specs”| Released | November 23, 2026 on the GLM Coding Plan; December 2, 2026 on the public API (glm-5.4) |
| Architecture | Loop Transformer: 28 layers of the GLM-5 base (a ~750B-parameter MoE; GLM 5.3 is 753B total / 40B active) run for two iterations with per-token gates, a hybrid KV cache (global sharing plus a sliding window for the second pass) and reuse of the first pass’s sparse-attention indices. Total and active parameter counts for 5.4 are not published |
| Input / output | Text, image, video and file in; text out. Image input is new versus GLM 5.3 |
| Context window | 1M tokens |
| Max output | 128K tokens |
| Reasoning | Always on. thinking.type accepts only enabled; disabling it returns an error. Effort via reasoning_effort: low, high, max (default max) |
| API changes vs GLM 5.3 | Thinking can no longer be turned off; reasoning_effort added; streaming tool calls with tool_stream: true; defaults temperature 1.0 and top_p 0.95 (tune one, not both). “Text parameters are consistent with GLM-5.3” — Z.ai |
| Speed (Z.ai’s figures) | Up to 200 output tok/s off-peak, 70–80 tok/s at peak load |
| List price | $1.40 in / $0.26 cached in / $4.40 out per 1M tokens — identical to GLM 5.3 and GLM 5.2 |
| Open weights | Not published as of December 2, 2026. No repository, model card or license on Hugging Face |
| Benchmarks | No numeric table published by Z.ai; no Artificial Analysis score |
From Z.ai’s GLM-5.4 model page, migration guide and pricing page, read on December 2, 2026.
What a Loop Transformer buys, according to Z.ai
Section titled “What a Loop Transformer buys, according to Z.ai”Z.ai’s argument, continued from its GLM-5.3 technical blog: memory-heavy tasks benefit from more parameters, reasoning-heavy tasks from more effective compute per token. A looped model spends compute twice on each token through the same weights instead of adding weights. Three engineering pieces make the second pass cheap:
- Gated progressive updates — each iteration writes back through its own per-token gate; after training the first pass “builds global context and writes conservatively”, the second “reuses this state to refine the output”. Harder tokens open the gates wider.
- Hybrid KV cache — the second loop reuses the sparse KV selected in the first pass and keeps only a sliding window of its own, so an extra loop costs one window of cache rather than a full 1M-token context. Z.ai says this keeps 5.4’s deployment cost increase over 5.3 “well under control” at 1M context.
- Sparse-attention index reuse — the second pass reuses the first pass’s attention indices instead of recomputing them.
The only numbers Z.ai attaches are from an iso-parameter ablation on a 30B model, not from GLM-5.4 itself: the looped version gains most on math, science and long-context tasks, and average output length drops 10–14% on GPQA-Diamond and MMLU-Pro because “part of the reasoning shifts from explicit output tokens into the implicit depth of the loop”. For GLM-5.4 proper there is a “win rate” chart against unnamed baselines and no table. Until Z.ai or Artificial Analysis publishes figures, we treat GLM-5.4’s quality as unmeasured, which is also why it is not on our Pareto chart. The reference point is its predecessor: GLM 5.3 scores 32 on the Artificial Analysis Intelligence Index (v5.0.2) at 81 output tok/s, $5.01 and 24.3 minutes per index task — the slowest and most verbose of the models we serve, so a successor that reasons in fewer output tokens is the right direction on paper.
Pricing: GLM-5.4 vs GLM 5.3 and the field
Section titled “Pricing: GLM-5.4 vs GLM 5.3 and the field”| GLM-5.4 | GLM 5.3 | Amazon Ergo | Qwen4-Max | |
|---|---|---|---|---|
| Input, per 1M tokens | $1.40 | $1.40 | $1.00 | $1.50 |
| Cached input, per 1M tokens | $0.26 | $0.26 | $0.03 | $0.075 |
| Output, per 1M tokens | $4.40 | $4.40 | $3.00 | $4.50 |
| AA Intelligence Index (v5.0.2) | not scored | 32 | 38 | 43 |
| Open weights | pending | yes (GLM-5.3 License) | yes | no |
Same price as the model it replaces, with reasoning that can no longer be switched off — so the real per-task cost depends on how many tokens the loop saves, which nobody has measured yet. OpenRouter already lists GLM-5.4 from Z.ai and six infrastructure hosts at the same $1.40 / $4.40 (Baseten, Crusoe, Friendli, Modal, Inferact; Prime Intellect at $0.40 / $2.46). Independent hosts normally serve from a checkpoint, which suggests a partner release ahead of the public weights — but no public repository exists, and we do not count a partner-only drop as open weights.
Open weights and license: what is and is not published
Section titled “Open weights and license: what is and is not published”As of December 2, 2026:
- GLM-5.4 is API-only. Z.ai’s own page said the model API would follow “completion of the security assessment”; the API opened today. Nothing has been said about a weights date.
- No GLM-5.4 repository on Hugging Face. zai-org still tops out at GLM-5.3 and GLM-5.3-Flash. There is no model card and no license text to read.
- The precedent is encouraging. GLM 5.3 went API-first on August 14 and open-weighted on August 28, 2026 — fourteen days — under the custom GLM-5.3 License (commercial use allowed; a security-review clause only for model-as-a-service operators above US$10B revenue). GLM-5.3-Flash and GLM-5 shipped under plain MIT. Z.ai has published weights for every GLM-5.x flagship so far.
- Which license 5.4 gets is unknown. Z.ai has alternated between MIT (GLM-5, GLM-5.3-Flash) and its own text (GLM-5.3). Either permits commercial serving at our size.
We will update this section the day a GLM-5.4 repository or license appears.
Where it stands in our review — and what GLM 5.3 users should do
Section titled “Where it stands in our review — and what GLM 5.3 users should do”GLM-5.4 is under review, waiting on weights. Every model in our pools belongs to a generation whose weights are published under a license that permits commercial serving — the line we held for GLM 5.3 itself, which replaced GLM 5.2 in the Frontier Pool two days after its weights shipped. If and when GLM-5.4’s weights ship, the natural path is the same in-place upgrade of the Frontier Pool’s GLM slot, at the same subscription — same list price upstream, same pool fee for you. Two things we will verify first: that reasoning-always-on does not change the cost profile of real subscriber traffic, and that the model’s quality is measured by someone other than its vendor.
Today the Frontier Pool serves GLM 5.3 (glm-5.3) and MiniMax M3 unlimited during your reserved hours from $71/mo, OpenAI- and Anthropic-compatible, including in Claude Code. Nothing changes for existing keys. The live pipeline status is on the models-under-review page, and additions land in the changelog the day they ship.
Common questions
Section titled “Common questions”What is GLM-5.4? Z.ai’s new flagship model, released to Coding Plan subscribers on November 23 and to the public API on December 2, 2026. It is the first GLM built as a Loop Transformer — 28 layers of the GLM-5 base run twice per token — with a 1M-token context, 128K output and image input. Z.ai markets it for “generalized coding”: software engineering, 3D modeling, video and game generation driven by code.
How much does the GLM-5.4 API cost? $1.40 per 1M input tokens, $0.26 per 1M cached input tokens and $4.40 per 1M output tokens on Z.ai’s API — the same list price as GLM 5.3 and GLM 5.2. Reasoning tokens bill as output and cannot be disabled.
Is GLM-5.4 open source? Does it have open weights? Not yet. As of December 2, 2026 there is no GLM-5.4 repository, model card or license on Hugging Face; the model is available only through Z.ai’s API and Coding Plan, and through hosts on OpenRouter. Z.ai has published open weights for every previous GLM-5.x flagship, typically a few weeks after the API; GLM 5.3’s took fourteen days.
What changed in the API from GLM 5.3 to GLM-5.4?
Thinking is forced on (thinking.type must be enabled; disabling it returns an error); reasoning_effort controls depth (low, high, max); tool-call arguments can stream with tool_stream: true; defaults are temperature 1.0 and top_p 0.95. Z.ai says the other text parameters are consistent with GLM 5.3. Image input is new.
How does GLM-5.4 compare to GLM 5.3 on benchmarks? Unknown in numbers. Z.ai has published a win-rate chart but no benchmark table, and Artificial Analysis has not scored GLM-5.4. The only figures are from a 30B-parameter ablation of the loop architecture (10–14% shorter outputs on GPQA-Diamond and MMLU-Pro). GLM 5.3 scores 32 on the Artificial Analysis Intelligence Index v5.0.2.
Is GLM-5.4 better than Amazon Ergo or Qwen4-Max? There is no independent measurement to say. Ergo scores 38 and Qwen4-Max 43 on the Artificial Analysis index; GLM-5.4 is unscored. On price, GLM-5.4 ($1.40 / $4.40) sits between Ergo ($1 / $3) and Qwen4-Max ($1.50 / $4.50). Ergo’s weights are open; GLM-5.4’s and Qwen4-Max’s are not.
Will CheapestInference serve GLM-5.4? Is there an unlimited GLM-5.4 API subscription? Not today — GLM-5.4 is under review and waiting on its open weights (live status). When they ship under a license that permits commercial serving, the Frontier Pool’s GLM slot is the natural place for it, as an in-place upgrade. The Frontier Pool serves GLM 5.3 and MiniMax M3 unlimited from $71/mo today.
CheapestInference serves Kimi K3.1 Pro and Qwen3.8 Max (Flagship Pool), GLM 5.3 and MiniMax M3 (Frontier Pool) and DeepSeek V4.1 Flash and MiMo V2.6 Flash (Core Pool) through one OpenAI- and Anthropic-compatible API on unlimited time-block subscriptions. See the pools or get started.