LimitDigest
Home / Guides / GLM-5.4: how to use it, plan limits and API status

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.

Quick answer

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

QuestionAnswer
ReleasedNov 23, 2026, by Z.ai (Zhipu)
Where you can use itThe GLM Coding Plan (Lite, Pro and Max); Z.ai's post also points to Z.ai Chat and its ZCode app
Pay-per-token APINot yet. Z.ai lists the API as "Coming Soon" and its price page has no GLM-5.4 row
Open weightsPlanned after safety hardening, no date given
Size and design750B scale; 28 layers of the GLM-5 base run twice per token (a Loop Transformer)
Context and inputUp to 1M tokens in Claude Code with the glm-5.4[1m] model name; adds image input
SpeedUp to 200 tokens/s off-peak, 70 to 80 tokens/s at peak (Z.ai claim)
QualityComparable to 2T to 3T parameter models (Z.ai claim)
Independent rankingsNot 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.

PlanCredits per 5 hoursCredits per weekGLM-5.4 tokens per week (est.)
Lite2,00010,00072M to 146M
Pro12,00060,000440M to 870M
Max28,000140,0001,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.

ModelInputCached inputOutput
GLM-5.44.61.116
GLM-5.36.91.724
GLM-5.3-Flash2.30.568

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

  1. Subscribe to any GLM Coding Plan tier and create a Coding Plan API key.
  2. Point Claude Code at https://api.z.ai/api/anthropic with that key.
  3. In ~/.claude/settings.json, set ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL and ANTHROPIC_DEFAULT_HAIKU_MODEL to glm-5.4[1m], and CLAUDE_CODE_AUTO_COMPACT_WINDOW to 1000000 for the 1M context.
  4. Run claude, type /status and 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

More guides