GLM 5.4 Pricing: $18–$168 Coding Plan Tiers, Credit Math and API Cost

Updated November 28, 2026

Official Z.ai Subscribe & DevPack Docs · Verified Nov 28, 2026 · No Standalone Metered API Yet

GLM 5.4 currently has no standalone pay-per-token API price—the only official way to use GLM 5.4 today is Z.ai’s GLM Coding Plan ($18 Lite, $80 Pro, $168 Max). On a realistic 200K-context multi-turn coding session, effective blended cost works out to $2.89–$4.33 per 1M output tokens at peak (or $1.44–$2.17 off-peak), including all 50M input tokens.

Coding Plan tiers
$18 / $80 / $168
200K-session cost / 1M out
$1.44–$4.33
Pay-per-token API
Not live (Plan only)

No pay-per-token API yet: GLM 5.4 Coding Plan tiers ($18 / $80 / $168)

Current billing fact (November 28, 2026): GLM 5.4 does not have a standalone pay-per-token public API price yet. Z.ai still marks metered API billing as pending security assessment, so the only official way to access GLM 5.4 today is the subscription-based GLM Coding Plan (usable in ZCode, Claude Code, OpenAI Codex CLI, Cline and OpenCode). Eligible Coding Plan and Team seats get 1.5× as many usable tokens on GLM 5.4 as on GLM-5.3 under the same credit budget (legacy V1 plans are excluded).

Official GLM Coding Plan tiers & credit allowances · Verified November 28, 2026
Plan tierMonthly price5-hour windowWeekly capMonthly cap (4.33 wk)Cost / 1,000 credits
Lite$18 / mo (~30% off yearly)2,000 credits10,000 credits43,300 credits$0.416
Pro$80 / mo (~30% off yearly)12,000 credits60,000 credits259,800 credits$0.308
Max$168 / mo (~30% off yearly)28,000 credits140,000 credits606,200 credits$0.277

All three tiers share the same 1M-token context window in ZCode (auto-compacting near 966K) and the same 50% off-peak credit discount outside Monday–Friday 14:00–18:00 UTC+8. Running off-peak effectively doubles every credit cap in the table above. See Z.ai Subscribe for current annual billing discounts and GLM 5.4 rate limits for how the 5-hour rolling window resets.

What the Coding Plan really costs per 1M output tokens (200K-context worked example)

Subscription plans hide per-token math behind credit buckets. Z.ai’s DevPack documentation publishes the exact formula: credits = (uncached_input × 4.6 + cached_input × 1.1 + output × 16) ÷ 10,000, halved outside peak hours. Comparing multipliers explains the 1.5× token boost over GLM-5.3:

Official DevPack credit multipliers per 10,000 tokens
ModelUncached inputCached inputOutput10-turn 200K session (40K out)
GLM 5.4 (glm-5.4)4.61.116.0417.0 credits peak (208.5 off-peak)
GLM-5.3 (glm-5.3)6.91.724.0633.6 credits peak (316.8 off-peak)

To translate credits into real per-token dollars, take a typical 10-turn, 200K-context coding session in Claude Code or Codex CLI:

  • Turn 1 (cold repo load): 200,000 uncached input + 4,000 output = (200,000 × 4.6 + 4,000 × 16) ÷ 10,000 = 98.4 credits peak (49.2 off-peak).
  • Turns 2–10 (9 warm follow-up turns): each turn sends 180,000 cached context + 20,000 new diff/tool tokens + 4,000 output = (20,000 × 4.6 + 180,000 × 1.1 + 4,000 × 16) ÷ 10,000 = 35.4 credits/turn × 9 = 318.6 credits peak (159.3 off-peak).
  • 10-turn session total: 2.0M input tokens (380K uncached, 1.62M cached = 81% cache hit) + 40,000 output tokens = 417.0 credits peak (208.5 off-peak).
  • Scaled to 1M output tokens (25 sessions): bundled with 50M total input tokens (9.5M uncached + 40.5M cached) = 10,425 credits peak (5,212.5 off-peak).
Effective blended cost per 1M output tokens (all 50M input tokens included)
Plan tierPeak (100% cap)Peak (50% util)Off-peak (100% cap)Off-peak (50% util)
Lite ($18/mo)$4.33 / 1M out$8.67 / 1M out$2.17 / 1M out$4.33 / 1M out
Pro ($80/mo)$3.21 / 1M out$6.42 / 1M out$1.61 / 1M out$3.21 / 1M out
Max ($168/mo)$2.89 / 1M out$5.78 / 1M out$1.44 / 1M out$2.89 / 1M out

Why this matters: If you ignored input context completely, 1M raw output tokens alone would burn just 1,600 credits peak ($0.44–$0.67/1M)—a theoretical floor no real coding agent hits. The realistic blended number above ($1.44–$4.33 at full cap, or $2.89–$8.67 at 50% utilization) includes the entire 50M-token input load. By contrast, running that exact same 25-session workload (9.5M uncached + 40.5M cached + 1M output) on metered GPT-5.4 ($2.50 / $0.25 / $15.00) costs $48.88—making Pro and Max roughly 7×–17× cheaper when you actually use your quota. Plug your own prompt mix into the GLM 5.4 token counter.

How many tokens you run per month → which Coding Plan tier to buy

Match your monthly coding volume (assuming 200K-context agent sessions with ~80% prompt caching) against the table below before upgrading. If your team works in US or European hours, nearly all of your traffic falls outside Beijing peak hours (14:00–18:00 UTC+8) and automatically qualifies for the off-peak column.

Monthly token volume → recommended GLM 5.4 Coding Plan tier
Monthly output tokensMonthly total tokens (~80% cached)200K-context sessions / dayPeak-hours tierOff-peak tier (50% discount)
Up to 4M outUp to ~200M total1–3 sessions / dayLite ($18/mo)Lite ($18/mo)
4M – 8M out~200M – 410M total3–6 sessions / dayPro ($80/mo)Lite ($18/mo)
8M – 25M out~410M – 1.25B total7–20 sessions / dayPro ($80/mo)Pro ($80/mo)
25M – 50M out~1.25B – 2.5B total20–40 sessions / dayMax ($168/mo)Pro ($80/mo)
50M – 115M out~2.5B – 5.8B total40–95 sessions / dayMax + extra seatMax ($168/mo)

Rule of thumb: Buy Lite ($18) for solo IDE chat and light bug fixes; buy Pro ($80) if you run Claude Code or Codex CLI for several hours every day; step up to Max ($168) only when you consistently hit the 12,000-credit 5-hour wall on parallel agent runs. Check GLM 5.4 rate limits before buying extra seats so you do not overpay for bursts that off-peak scheduling can absorb.

Coding Plan API endpoints for Claude Code, Codex and Cline

Even without a standalone pay-per-token API, Coding Plan subscribers can wire GLM 5.4 directly into terminal and IDE agents through three protocol-compatible endpoints. See our GLM 5.4 API setup guide and Claude Code integration walkthrough for copy-paste configs.

Official GLM Coding Plan developer endpoints
Client / agent harnessBase URLProtocol
Claude Code, Goosehttps://api.z.ai/api/anthropicAnthropic Messages API compatible
OpenAI Codex CLIhttps://api.z.ai/api/v1OpenAI Responses / Chat compatible
Cline, OpenCode, Roo Codehttps://api.z.ai/api/coding/paas/v4Z.ai Coding PaaS v4

Standalone public API status and competitor rate references

Z.ai’s launch report still lists standalone pay-per-token API billing as coming soon after security assessment—so any third-party site quoting an official metered GLM 5.4 per-token rate today is speculating. For teams modeling future metered spend once the public API opens, Z.ai’s published GLM-5 ($1.00 / $3.20) and GLM-5.3 ($1.40 / $4.40) rates remain the closest first-party anchors, alongside GLM 5.4 benchmarks showing a 12% midpoint output reduction in the 30B loop ablation.

Metered API rate references (USD per 1M text tokens) · Verified November 28, 2026
ModelInput / output ($/1M)Published billing status
GLM 5.4$18–$168/mo Plan · No metered API yetCoding Plan live ($1.44–$4.33/1M blended out at cap); standalone API pending
GLM-5$1.00 / $3.20Z.ai public API price list baseline
GLM-5.3$1.40 / $4.40 ($0.26 cached)Z.ai public API price list (GLM 5.4 vs GLM 5.3)
GPT-5.4$2.50 / $15.00 ($0.25 cached)OpenAI API · 2× input / 1.5× output above 272K (GLM 5.4 vs GPT-5.4)
Claude Opus 5.5$4.00 / $20.00Anthropic public API rate (GLM 5.4 vs Claude Opus 5.5)
Gemini 4 Carbon$2.00 / $10.00Google introductory rate through Nov 30 ($4 / $20 after)

If you are weighing Coding Plan subscriptions against future self-hosting once 750B open weights arrive, estimate GPU cluster costs in our GLM 5.4 VRAM calculator.

Frequently asked questions

Does GLM 5.4 have a standalone pay-per-token API price?

No. As of November 28, 2026, Z.ai has not published a standalone pay-per-token API price for GLM 5.4 and marks the metered public API as coming soon after security assessment. The only official way to use GLM 5.4 right now is subscribing to Z.ai’s GLM Coding Plan ($18 Lite, $80 Pro or $168 Max).

What does GLM 5.4 actually cost per 1M output tokens on the Coding Plan?

On a realistic 10-turn 200K-context coding session (81% prompt cache hit, 40K output tokens per session = 417 credits peak / 208.5 off-peak), producing 1M output tokens bundled with 50M total input tokens costs $4.33 on Lite, $3.21 on Pro and $2.89 on Max at 100% peak cap utilization—or $2.17 / $1.61 / $1.44 off-peak. At realistic 50% monthly utilization, double those figures ($5.78–$8.67 peak; $2.89–$4.33 off-peak).

How many credits do the $18, $80 and $168 Coding Plan tiers include?

Lite ($18/mo) gives 2,000 credits per 5-hour window and 10,000/week (~43,300/mo); Pro ($80/mo) gives 12,000/5h and 60,000/week (~259,800/mo); Max ($168/mo) gives 28,000/5h and 140,000/week (~606,200/mo). Annual billing saves roughly 30%.

How are GLM 5.4 Coding Plan credits calculated?

Per Z.ai’s DevPack documentation, credits equal (uncached_input × 4.6 + cached_input × 1.1 + output × 16) ÷ 10,000. Because GLM-5.3 uses 6.9 / 1.7 / 24, GLM 5.4 delivers 1.5× more usable tokens per credit.

Does GLM 5.4 have an off-peak credit discount?

Yes. Requests sent outside peak hours (Monday–Friday 14:00–18:00 UTC+8) consume 50% fewer Coding Plan credits, doubling both your 5-hour and weekly effective token capacity.