GLM-5.4: how to use it, plan limits and API status
Updated 2026-11-23. From Z.ai's launch post and Coding Plan docs; Claude prices from the official pricing page.
Right now you can only use GLM-5.4 through Z.ai's GLM Coding Plan, which starts at $18 a month. Z.ai released it on Nov 23, 2026 and lists the pay-per-token API as coming soon, with open weights planned later. On the plan it's cheaper to run than GLM-5.3: each token costs one third fewer credits, so the same quota stretches about 50% further. Lite gives 2,000 credits per 5 hours and 10,000 per week, Pro 12,000 and 60,000, Max 28,000 and 140,000.
GLM-5.4: what we know and what we don't
| Question | Answer |
|---|---|
| Released | Nov 23, 2026, by Z.ai (Zhipu) |
| Where you can use it | The GLM Coding Plan (Lite, Pro and Max); Z.ai's post also points to Z.ai Chat and its ZCode app |
| Pay-per-token API | Not yet. Z.ai lists the API as "Coming Soon" and its price page has no GLM-5.4 row |
| Open weights | Planned after safety hardening, no date given |
| Size and design | 750B scale; 28 layers of the GLM-5 base run twice per token (a Loop Transformer) |
| Context and input | Up to 1M tokens in Claude Code with the glm-5.4[1m] model name; adds image input |
| Speed | Up to 200 tokens/s off-peak, 70 to 80 tokens/s at peak (Z.ai claim) |
| Quality | Comparable to 2T to 3T parameter models (Z.ai claim) |
| Independent rankings | Not on LMArena's boards yet |
From Z.ai's launch post and Coding Plan docs, checked 2026-11-23.
GLM Coding Plan limits for GLM-5.4
Every plan has two caps: a 5-hour credit limit and a weekly one. Hit either and you wait. The 5-hour credits come back 5 hours after you spend them, and the weekly credits reset every 7 days from the day you subscribed, not on a fixed weekday.
| Plan | Credits per 5 hours | Credits per week | GLM-5.4 tokens per week (est.) |
|---|---|---|---|
| Lite | 2,000 | 10,000 | 72M to 146M |
| Pro | 12,000 | 60,000 | 440M to 870M |
| Max | 28,000 | 140,000 | 1,014M to 2,028M |
Credits from Z.ai's Coding Plan overview. Token estimates are Z.ai's own, at a 95% cache hit rate: the low end is all peak-hour use, the high end all off-peak.
Off-peak use costs half the credits. Peak hours are Monday to Friday, 2 PM to 6 PM Singapore time, which is 1 AM to 5 AM ET. So for most people in the Americas and Europe, nearly all daytime use is already off-peak.
GLM-5.4 vs GLM-5.3 on the Coding Plan
GLM-5.4 comes out ahead on cost. Z.ai charges it fewer credits per token than GLM-5.3 on every line, so the same plan buys about 1.5 times as many GLM-5.4 tokens. That is where the "50% more quota" in the launch posts comes from.
| 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 per 10,000 tokens, from Z.ai's Coding Plan overview. Output is the expensive line for every model.
The catch is thinking length. Z.ai says GLM-5.4 can fall into long "marathon thinking" runs, and its default effort is max. Long reasoning means more output tokens, the line that costs most, so a hard task can still burn quota fast. For simple edits, turn the effort down with /effort in Claude Code.
Is there a GLM-5.4 API price?
Not yet. Z.ai's launch post lists the API as "Coming Soon", and its API price page still tops out at GLM-5.3, at $1.4 input and $4.4 output per 1M tokens. Any per-token GLM-5.4 price you see elsewhere right now is a guess or a reseller's own number. We will add the official one to AI API prices when Z.ai publishes it.
Until then, the API key from your Coding Plan works with the glm-5.4 model name, but only inside the coding tools Z.ai supports. Plan keys and pay-per-token keys are separate, so a standard API key won't reach GLM-5.4.
How to use GLM-5.4 in Claude Code
- Subscribe to any GLM Coding Plan tier and create a Coding Plan API key.
- Point Claude Code at
https://api.z.ai/api/anthropicwith that key. - In
~/.claude/settings.json, setANTHROPIC_DEFAULT_OPUS_MODEL,ANTHROPIC_DEFAULT_SONNET_MODELandANTHROPIC_DEFAULT_HAIKU_MODELtoglm-5.4[1m], andCLAUDE_CODE_AUTO_COMPACT_WINDOWto1000000for the 1M context. - Run
claude, type/statusand check that the model shows glm-5.4.
That's from Z.ai's model switching guide. Codex uses https://api.z.ai/api/v1 and other OpenAI-style tools use https://api.z.ai/api/coding/paas/v4. GLM-5.4 isn't the default after you subscribe, so you have to pick it.
GLM Coding Plan vs Claude Pro for coding
On price, the GLM plan wins: Lite starts at $18 a month, against $20 for Claude Pro with Claude Code. Both meter you in 5-hour and weekly windows, so the shape of the limits is familiar. On quality, Z.ai has published only its own claims so far, so wait for independent rankings before treating it as a full replacement. It also works as a second plan for when Claude hits its weekly cap; see the cheapest fallback when Claude's weekly limit runs out and Claude Code limits explained.
Sources
FAQ
Is GLM-5.4 available on the API?
Not yet. Z.ai lists the pay-per-token API as coming soon. For coding tools, the GLM Coding Plan is the only official way in today.
How much does GLM-5.4 cost?
There's no per-token price yet. On the GLM Coding Plan, which starts at $18 a month, GLM-5.4 costs 4.6 credits per 10,000 input tokens and 16 per 10,000 output tokens.
What are the GLM Coding Plan limits?
Lite: 2,000 credits per 5 hours and 10,000 per week. Pro: 12,000 and 60,000. Max: 28,000 and 140,000. Off-peak use costs half the credits.
Does GLM-5.4 use more quota than GLM-5.3?
No, less per token. Its credit rates are one third lower than GLM-5.3's, so the same plan covers about 50% more tokens. Long thinking runs can still use a lot.
Can I use GLM-5.4 in Claude Code?
Yes. Point Claude Code at https://api.z.ai/api/anthropic with a Coding Plan key and set the model names to glm-5.4[1m] in ~/.claude/settings.json.
Will GLM-5.4 be open source?
Z.ai says it plans to release the weights after safety hardening, with no date. Earlier GLM models were released as open weights.
Related
- GLM API pricing explained
- GLM-5.3 API price
- Cheapest fallback when Claude's weekly limit runs out
- Best Chinese LLM APIs
- Claude Code limits explained
- Codex limits explained
- AI coding plans under $20
- Kimi API pricing explained
More guides
- Mistral Medium 3.5 deprecated: switch to Large 4
- AI plans with 5-hour session limits
- Gemini 4 Argon usage limits explained
- Claude Fable 5.2 and Mythos 5.2: prices, limits and what changed
- Gemini 4 Neon usage limits: which plans get it and how limits work
- Claude Fable 5.2 vs Mythos 5.2: which one should you use?
Not sure a plan beats the API for you? Try the plan vs API cost calculator.