GLM 5.4 is Z.ai's new flagship coding model, released on 23 November 2026, and the first GLM built on a Loop Transformer. Instead of adding parameters, it runs 28 layers of the GLM-5 base model twice, at what Z.ai calls "the 750B scale". It also reads images, which the text-only GLM-5.3 never did. You can use it today on the GLM Coding Plan, in ZCode and in Z.ai Chat. There is no API price, no open weights and no benchmark table for it yet.
For most users the bigger news is the price. On the Coding Plan, GLM 5.4 uses at least a third fewer credits per token than GLM-5.3, which is what Z.ai's "50% more quota" means in practice. This guide covers those numbers, the Claude Code setup and the first independent tests, which show why the default max effort wastes time on small tasks.
The Key Takeaways
- What it is: Z.ai's first Loop Transformer. GLM 5.4 runs 28 layers twice at the 750B scale, and Z.ai claims intelligence comparable to 2T-3T parameter models, with no benchmark table behind the claim yet.
- Where it works: every GLM Coding Plan tier (Lite, Pro and Max), ZCode and Z.ai Chat. The pay-as-you-go API is "coming soon" and the weights follow "safety hardening", with no dates.
- The quota boost is a per-token discount: weekly credits stay at 10,000 / 60,000 / 140,000, but GLM 5.4 costs 4.6 / 1.1 / 16 credits per unit against GLM-5.3's 6.9 / 1.7 / 24, so every credit buys 1.5x the tokens.
- Effort matters: Claude Code runs GLM 5.4 at max by default. In AICodeKing's tests Max scored highest on big builds, but KingBench 4 took 431 minutes against Gemini 4 Neon's 109, and Low won the small tasks.
- First independent score: 33.2 out of 60 on KingBench 4, 7th of 19 models and ahead of GLM-5.3's 27.5, from one reviewer with early access.
What Is GLM 5.4?
GLM 5.4 is a coding model from Z.ai, the company also known as Zhipu AI, and its first flagship built on a Loop Transformer. Z.ai introduced it in a technical blog post titled "GLM-5.4: Toward Generalized Coding with Our First Loop Transformer", dated 23 November 2026. Zixuan Li of Z.ai announced the Coding Plan rollout at 04:18 UTC that day. The official @Zai_org account followed at 10:27 UTC with this post, which also names what is still missing: the API and the weights.
Introducing GLM-5.4: Generalized Coding with Our First Loop Transformer.
— Z.ai (@Zai_org) November 23, 2026
- Loops existing layers in the GLM-5 base model for deeper reasoning
- Pushes beyond traditional coding to video, games, 3D shaders, and CAD modeling
- Adds vision capabilities for stronger visual coding
API access will open after safety evaluation. Model weights will be released responsibly.
Tech Blog: http://z.ai/blog/glm-5.4
How big is GLM 5.4?
GLM 5.4 sits at about 750 billion parameters, by Z.ai's own description. The blog never prints an exact count. It refers to "the 750B scale" and lists a 750B base among the model sizes Z.ai tested. Early-access testers put the figure at about 700B, and AICodeKing's review says "700B params". Use Z.ai's 750B until a model card settles it. AICodeKing's early-access charts label the model GLM X Preview.
Z.ai also claims GLM 5.4 reaches "intelligence levels comparable to 2T-3T parameter models". Treat that as a vendor claim. The blog publishes no benchmark table for GLM 5.4 itself. Its only chart is an ablation on a much smaller 30B model.
What Z.ai means by Generalized Coding
"Generalized Coding" is Z.ai's name for using code to produce things that are not software. The blog shows four demos, each built by GLM 5.4 writing code. Two are "Hello World", a music video the model narrated itself, and a 6-axis robotic arm modelled in FreeCAD, the open-source CAD program. The other two are a complete game with movement, physics, maps, combat and art assets, and an interactive 3D bird-watching scene built from geometry and custom GLSL shaders.
Z.ai credits the demos to two upgrades at once: stronger coding and vision. GLM 5.4 accepts images as input, and GLM-5.3 accepts text only.
How the GLM 5.4 Loop Transformer Works
A Loop Transformer runs the same layers more than once for every token. In a standard Transformer each layer runs once per forward pass. GLM 5.4 sends its hidden states through a block of 28 weight-shared layers twice, so the network gets deeper without a single new parameter. Z.ai's argument is that long reasoning chains, such as large codebases, security work and 3D modelling, need more compute per token rather than more memorised knowledge.
The idea is not new. Z.ai credits the 2018 Universal Transformer and notes that looped models trained from scratch still lag standard models on the same training budget. So Z.ai did not train GLM 5.4 from scratch. It took the already trained GLM-5 base and converted it into a looped model through continued training.
Three changes that keep the second pass cheap
Z.ai made three changes so that GLM 5.4's second pass adds little memory: gated updates, a shared KV cache and reused attention indices. Without them, a looped model keeps a full KV cache for every pass, which multiplies memory by the number of loops. The first change is gated progressive updates: per-token gates decide how much of each pass is written back. The first pass writes cautiously and the second refines, and harder tokens get bigger first-pass updates.
The second change is a hybrid KV cache. The second pass reuses the first pass's cache and keeps only a small sliding window of its own. In Z.ai's words, an extra loop "only costs one sliding window of KV cache rather than a full context cache". The third is sparse attention index reuse: the second pass reuses the attention indices the first pass already picked, which Z.ai says adds "zero indexing overhead".
Z.ai says the design keeps GLM 5.4's extra deployment cost over GLM-5.3 "well under control" at 1M-token context lengths. Z.ai quotes speeds of up to 200 tokens per second off-peak and 70-80 tokens per second at peak load.
What Z.ai's 30B test showed
Z.ai's only published evidence for the loop is a controlled test on a 30B model. The looped and standard versions had the same parameter count, and the looped one used about 10% more training compute. The biggest gains came in maths, scientific reasoning and long-context tasks. On Z.ai's table, AIME25 rose from 19.17 to 30.42, GPQA-Diamond from 47.58 to 56.26 and the AA-LCR long-context test from 40.33 to 47.67.
Answers also got shorter. Z.ai says average output length fell by 10-14% on most benchmarks, and its table shows 11.7% on GPQA-Diamond and 14.9% on MMLU-Pro. In Z.ai's words, "part of the reasoning shifts from explicit output tokens into the implicit depth of the loop".
GLM 5.4 is the second looped model in a week. Thinking Machines announced Inkling 2 Mini, a 26B looped transformer small enough for a laptop, on 20 November. Inkling 2 Mini is built to run on your own machine. GLM 5.4 applies the same idea at 750B, as a hosted model.
Where You Can Use GLM 5.4 Today
GLM 5.4 runs in three Z.ai products today and nowhere else. Every route that a developer outside Z.ai's own apps would need, the API, the weights and an independent benchmark, is still missing.
| Route | Status on 23 November 2026 | Detail |
|---|---|---|
| GLM Coding Plan | Live | All tiers: Lite, Pro and Max. Works in Claude Code, Cline and other agents that accept a custom model name. |
| ZCode | Live | Z.ai's own coding tool, listed in the launch blog. |
| Z.ai Chat | Live | chat.z.ai, listed in the launch blog. The model picker sits behind a login. |
| Pay-as-you-go API | Not yet | Listed as "Coming Soon". No GLM 5.4 row on the price list. |
| Open weights | Not yet | Promised "after completing necessary safety hardening". No date. |
| Benchmarks | None | No table from Z.ai, no Artificial Analysis page. |
We checked the four public places where a new GLM normally shows up, between 13:37 and 13:40 UTC on 23 November. We call this the Fello AI GLM 5.4 availability check. Z.ai's API price list still opens with GLM-5.3 at $1.40 input and $4.40 output per million tokens. Z.ai's release notes still end with GLM-5.3-Flash on 26 August. The newest repositories in the zai-org Hugging Face organisation are the GLM-5.3 family from August, and a Hugging Face search for "glm-5.4" returns nothing. Artificial Analysis has no GLM 5.4 page, and the GLM 5.4 docs page that Z.ai's blog links to returns a 404. Our GLM pricing guide has the full API rate card for the models you can call today.
Want GLM in a chat window on a Mac or iPhone without a coding subscription? Fello AI includes GLM next to ChatGPT, Claude and Gemini in one app. There is no Z.ai account to set up, and new models usually reach the app once their API opens. The GLM desktop client for macOS page covers that setup.
What "50% More Quota" Means for GLM 5.4
Your Coding Plan credits did not grow; GLM 5.4 simply costs fewer credits per token than GLM-5.3. Zixuan Li's announcement is the source of the "50% more quota" line that most launch coverage repeats:
GLM-5.4 is now available to all GLM Coding Plan users.
— Zixuan Li (@ZixuanLi_) November 23, 2026
New vision capabilities and stronger all-round coding performance.
For users with weekly quotas, GLM-5.4 now comes with 50% more quota compared to GLM-5.3.
Z.ai's plan documentation shows how the 50% is delivered. The Coding Plan meters usage in credits: 2,000 / 12,000 / 28,000 per five hours and 10,000 / 60,000 / 140,000 per week on Lite, Pro and Max. Those numbers are unchanged. What changed is the multiplier each model applies to tokens:
| Model | Input | Cached input | Output |
|---|---|---|---|
| GLM 5.4 | 4.6 | 1.1 | 16 |
| GLM-5.3 | 6.9 | 1.7 | 24 |
| GLM-5.3-Flash | 2.3 | 0.56 | 8 |
Credits used equal tokens times the multiplier, divided by 10,000. GLM-5.3's input multiplier of 6.9 is exactly 1.5 times GLM 5.4's 4.6, and 24 is exactly 1.5 times 16; the cached rate, 1.7 against 1.1, drops a little more. The same weekly credits therefore buy GLM 5.4 1.5 times as many tokens as GLM-5.3. Some early write-ups turned Li's post into larger credit totals of 15,000, 90,000 and 210,000 a week. Z.ai's credit table does not show those numbers.
What 1.5x buys in a week
On Lite, 1.5x means about 72-146 million GLM 5.4 tokens a week against 48-97 million on GLM-5.3, by Z.ai's own estimates at a 95% cache hit rate. The low end assumes every request runs at peak hours, the high end that every request runs off-peak at half the credit rate:
| Plan | GLM 5.4, million tokens a week | GLM-5.3, million tokens a week |
|---|---|---|
| Lite | 72-146 | 48-97 |
| Pro | 440-870 | 290-580 |
| Max | 1,014-2,028 | 676-1,352 |
Peak hours are Monday to Friday, 14:00 to 18:00 Singapore time (UTC+8). The Lite plan starts at $18 a month.
What one agent session costs
One long agent session costs 287.5 credits on GLM 5.4 against 436 credits on GLM-5.3 at the peak rate. The example session sends 1 million input tokens, 950,000 of them cached, and gets 100,000 output tokens back. Lite's 2,000-credit five-hour window fits four such sessions on GLM-5.3 and six on GLM 5.4. Off-peak, the same window fits nine on GLM-5.3 and thirteen on GLM 5.4.
The catch is reasoning. Output tokens carry the highest multiplier, and GLM 5.4 at max effort writes a lot of them. In AICodeKing's review it reasoned about 1.04 million tokens over one full KingBench 4 run. If GLM 5.4 writes 200,000 output tokens where GLM-5.3 wrote 100,000, the same session costs 447.5 credits, more than GLM-5.3's 436.
How to Use GLM 5.4 in Claude Code
Point Claude Code at Z.ai's Anthropic-compatible endpoint, then set all three model slots to glm-5.4[1m]. Z.ai's model-switching guide gives these steps:
- Have an active GLM Coding Plan and a Z.ai API key, and confirm an existing GLM model already works. Z.ai suggests testing
glm-5.3-flashfirst. - Check that Claude Code is configured with Z.ai's endpoint,
https://api.z.ai/api/anthropic. - Open
~/.claude/settings.jsonand add or update only the keys below. Do not replace the whole file. - Start
claude, type/status, and check that Model showsglm-5.4orglm-5.4[1m].
{
"env": {
"CLAUDE_CODE_AUTO_COMPACT_WINDOW": "1000000",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-5.4[1m]",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-5.4[1m]",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5.4[1m]"
}
}
The [1m] suffix and the compact window of 1,000,000 switch on the 1M-token context. If Claude Code says the model does not exist, update Claude Code and try again. Zhipu's Chinese guide to the same plan sets the compact window to 512,000 instead, a size it recommends for better coding results. In Cline and similar agents, choose an OpenAI-compatible provider, enter https://api.z.ai/api/coding/paas/v4 as the base URL and glm-5.4 as a custom model, and tick image support. Agents without a custom model setting cannot use GLM 5.4 yet.
Claude Code's /effort command changes how long GLM 5.4 thinks. Z.ai sets the default to max and recommends max for coding. Z.ai maps "medium" and "high" to its high level, and "minimal", "light" and "low" to its low level. Our guide to Claude Code effort levels explains the command itself.
GLM 5.4 Effort Levels: When Max Helps and When It Hurts
Max effort gives GLM 5.4 its best scores on long builds and wastes time on short tasks. The first independent evidence comes from AICodeKing, a YouTube coding reviewer who had early access. The review went up at 05:07 UTC on 23 November, about five hours before the @Zai_org launch post, and states that it is not sponsored:
I've been using GLM-5.4 for a while and I can confidently say that it's the best Open Model you can use right now.
— AICodeKing (@aicodeking) November 23, 2026
It places itself at #7 on KingBench 4 which is the #1 Open Model placement.
From what I can tell, the model is an honest effort and isn't very benchmaxxed or stuff like that and it has good vibes (just don't look at the reasoning tokens... you feel sad for the model at times)
As much as I know it's a looped transformer with 700B params and a technical report shall come later.
It's the most careful model that I have ever used... It has found out many bugs and security vulns in my apps that others haven't (incl. Fable). That's not say that it's the best either. The model takes a lot of time to reach a conclusion to a task especially the Max effort can make it spiral down for a while.
It is on average about 4x slower than Neon on Max reasoning effort. At Medium reasoning effort this does indeed but at the cost of performance. High is the best sweet spot for me.
It isn't slow because of TPS btw.. KingBench 4 took 431 minutes against Neon's 109. Each step isn't slower (22.9 s, against 26.7 s for Neon); it just takes far more of them, 1,128 against 244. It also reasoned 1.04M tokens against Neon's roughly 0.07M. About three-quarters of its time is spent generating and a quarter running builds and tests.
I wouldn't recommend you to just use this model but keeping it as a reviewer for work and making it work on more complex architecture or searching for bugs, security vulnerabilities is really worth it imo.
This is a model that you can use end-to-end on work without much issues but it isn't the best or SOTA.
I have it in my council of reviewers at all time before shipping anything and I am really happy about that.
How it behaves:
It reasons on almost every step. Under 1% of its steps have near-zero reasoning, against 14–39% for the GPT models. Max gives about 1.5× the reasoning of High.
It overthinks. On a security task, High and Max both hit the 180 s timeout while still thinking, and Medium passed in 95 s.
Tool errors are mid-pack. It fails 1.56% of tool calls across all harnesses, 11th of 17, and most of the failures are bad arguments to the edit tool.
It recovers well, though: 66% of failed calls are followed by a working retry, better than every Claude and Codex model.
Caching is excellent at 96–99%, and median time to first token is quick at 4.1 s.
Here's when you should use it:
- You don't care about 3d or Frontend
- You care a lot about shipping no bugs or security vulns. then either make it write it's own code and also review it with a council or just keep it as a reviewer
- You need a really good planner for your work
- You need a model that gets the bigger picture (it's hard to explain but it gets the bigger picture of a work much better than others)
I like the vibes with this model and can't wait for what a bigger model with similar arch can do.
PandaCode's Orchestrator uses it where it should for you automatically.. so, you can plug it in and see some better results with orchestration overall: https://github.com/aicodeking/pandacode
Also, a thanks to the @Zai_org team for letting me be 100% honest about the model and it's vibes. This review or anything isn't sponsored in any way btw it's all my own thoughts and they haven't seen any of this before your eyes.
Full Review video here: https://www.youtube.com/watch?v=AnTx-vALNH4
GLM 5.4 on KingBench 4
GLM 5.4 scored 33.2 out of 60 on AICodeKing's KingBench 4, 7th of 19 models. Claude Fable 5.2 leads the board at 42.0 and Gemini 4 Neon is second at 37.9. GLM-5.3 scored 27.5, though AICodeKing notes that its build was partial, scored after a timeout. AICodeKing calls GLM 5.4 "the best Open Model you can use right now", even though its weights are not public yet.
Read the score as one reviewer's result, not an industry benchmark.
The six tasks are build jobs, from an emulator and a container runtime to a Fitbit desktop app. Gemini 4 Neon graded most of GLM 5.4's tasks, and GLM 5.4 graded at least two of its own. Two tasks were rerun with a clarified prompt, and the same-prompt total is 31.8.
What each effort level scored
Max scored highest on the big KingBench 4 builds and Low scored highest on small tasks, in AICodeKing's runs at all four effort levels. The small tasks are a separate set of five deterministic checks:
| Effort | KingBench 4 (out of 60) | 5 small tasks: checks passed | 5 small tasks: total time |
|---|---|---|---|
| Low | 25.2 | 25 of 25 | 66 s |
| Medium | 24.1 | 24 of 25 | 175 s |
| High | 28.8 | 20 of 25 | 426 s |
| Max | 31.8 (33.2 with the rerun) | 20 of 25 | 454 s |
High and Max each failed one of the small tasks by thinking past a 180-second timeout. On the full benchmark, the Max run took 431 minutes against Gemini 4 Neon's 109. Each step was not slower, but GLM 5.4 took 1,128 steps against Neon's 244 and reasoned about 1.04 million tokens against roughly 70,000. AICodeKing ran the two models in different tools and at different effort levels, so the ratio is a rough guide. Z.ai's own blog names the same weakness: GLM 5.4 gets caught in overly long "marathon thinking" loops, which Z.ai says still improve accuracy.
The practical rule: keep max for long, multi-file builds and code reviews where accuracy matters more than time. Switch to low with /effort for quick fixes and small checks. AICodeKing settles on High as the everyday middle and uses GLM 5.4 mainly as a reviewer for bugs and security problems.
GLM 5.4 vs GLM 5.3
GLM 5.4 replaces GLM-5.3 as the model to pick on the Coding Plan, and GLM-5.3 stays the only one of the two you can call by API or download. GLM 5.3 was Z.ai's August flagship, built for coding and cybersecurity.
| GLM 5.4 | GLM-5.3 | |
|---|---|---|
| Architecture | Loop Transformer, 28 layers run twice | Standard, each layer runs once |
| Image input | Yes | No, text only |
| Context | 1M tokens | 1M tokens, 128K max output |
| Coding Plan credits (input / cached / output) | 4.6 / 1.1 / 16 | 6.9 / 1.7 / 24 |
| API price per 1M tokens | Not published | $1.40 input, $0.26 cached, $4.40 output |
| Open weights | Not yet | Yes, under Z.ai's own GLM-5.3 licence |
| Benchmarks from Z.ai | None for the model itself | Yes |
| KingBench 4 (AICodeKing) | 33.2 / 60 | 27.5 / 60 (partial build) |
On the Coding Plan, switching is an easy call: GLM 5.4 is cheaper per token, reads images and scored higher in the only independent test so far. Lower the effort for small jobs, or the extra reasoning eats the cheaper rate. Teams on the pay-as-you-go API should stay on GLM-5.3 until a GLM 5.4 price appears. Anyone who needs weights on their own servers should look at GLM-5.3 or the smaller, MIT-licensed GLM 5.3 Flash.
Is GLM 5.4 the GLM 5.5 People Expected?
No. GLM 5.4 is a point release on the existing GLM-5 base, and Z.ai says a bigger model comes next. The blog's closing lines say Z.ai is pursuing both deeper loops and larger models, and that its "next, significantly larger model will carry forward everything we learned here. It will be ready soon." Z.ai has not named that model or given a date. It also lists one open research question: adaptive compute, where harder tokens get more loop iterations than easy ones. Our explainer on why GLM 5.5 never shipped tracks what Z.ai has said about its next generation.
The Verdict on GLM 5.4
GLM 5.4 is worth switching to today if you already pay for the GLM Coding Plan, and worth waiting for if you need an API or weights. On the plan it is the cheaper model per token, it reads images, and it beat GLM-5.3 in the first independent test. The open questions are the ones Z.ai left open itself: no benchmark table to back the 2T-3T claim, no API price and no date for the weights. Switch the model string, drop the effort to low for quick jobs, and keep max for the large builds where the extra thinking pays for itself.
FAQ
Is GLM 5.4 open source?
Not yet. Z.ai says it plans to "open-source the model weights responsibly after completing necessary safety hardening", but gives no date. On 23 November the zai-org Hugging Face organisation had no GLM 5.4 repository. The newest open GLM weights are GLM-5.3 and GLM-5.3-Flash.
How much does GLM 5.4 cost?
GLM 5.4 has no per-token API price yet. The paid way to use it is the GLM Coding Plan, which starts at $18 a month for Lite. On the plan, GLM 5.4 uses 4.6 credits per input unit and 16 per output unit, against GLM-5.3's 6.9 and 24. Z.ai's launch blog also lists Z.ai Chat as a place to try it.
How many parameters does GLM 5.4 have?
About 750 billion, by Z.ai's description of "the 750B scale". Z.ai has not published an exact count, and early testers reported about 700 billion. Because GLM 5.4 runs 28 of its layers twice, it gets more depth without adding parameters.
When will the GLM 5.4 API be available?
Z.ai has not given a date. Z.ai's launch post on X says API access "will open after safety evaluation", and the blog lists the API as "Coming Soon". Until then, GLM 5.4 works only through the GLM Coding Plan, ZCode and Z.ai Chat.
Is GLM 5.4 better than GLM 5.3?
In the only independent test so far, yes: GLM 5.4 scored 33.2 out of 60 on AICodeKing's KingBench 4 against GLM-5.3's 27.5, and it adds image input. Z.ai has not published a benchmark table comparing the two, so treat that as an early result from one reviewer.
Úvodní obrázek k tomuto článku vznikl s pomocí AI.