Z.ai GLM API pricing
Z.ai GLM API pricing: current per-token rates
Z.ai GLM's current API rates per 1M tokens, input / output / cached-read, verified 2026-10-21. Every rate links to its official source.
Current Z.ai GLM model prices
| Model | Input ($/1M) | Output ($/1M) | Cached in ($/1M) | Context |
|---|---|---|---|---|
| GLM 4.7 | $0.54 | $1.98 | $0.10 | 205K |
| GLM 5 | $1 | $3.20 | $0.20 | 205K |
| GLM 5.1 | $1.40 | $4.40 | $0.26 | 205K |
| GLM 5.2 | $0.03 | $7 | $0.03 | 1M |
| GLM 5.3 | $1.40 | $4.40 | $0.14 | 1M |
| GLM 5.3 Flash | $0.04 | $0.38 | $0.00 | 1.3M |
| GLM 5.3 FlashX | $0.37 | $1.25 | $0.09 | 1M |
Non-official data by OpenRouter top-provider pricing (open-weight model, hosted by multiple providers — the top provider’s rate, not necessarily the creator’s first-party price); verify against the provider's own page before relying on it.
Recent price changes
- GLM 5: $0.60/$1.92 → $1/$3.20 per 1M (effective 2026-10-21)
- GLM 5.1: $0.97/$3.04 → $1.40/$4.40 per 1M (effective 2026-10-21)
- GLM 5.2: $0.04/$7 → $0.03/$7 per 1M (effective 2026-10-21)
- GLM 5.3 Flash: $0.05/$0.16 → $0.04/$0.38 per 1M (effective 2026-10-21)
- GLM 4.7: $0.60/$2.20 → $0.54/$1.98 per 1M (effective 2026-10-17)
- GLM 5.3: $0.30/$4.40 → $1.40/$4.40 per 1M (effective 2026-10-02)
Common questions
Can I use the Z.ai GLM API for free?
No — API access is metered per token at the rates above. Subscriptions (where offered) bundle usage into a flat monthly price; the API itself is pay-as-you-go.
Which model is cheapest?
The lowest input/output rate in the table above for light work; match the model to the task rather than defaulting to the cheapest — routing the hard steps up and the cheap steps down usually beats a single choice.
Prices change. Verified 2026-10-21 — re-check the source before relying on them. Corrections: hello@aiarch.dev.
Learn to cost-model agents like an architect.
Free with an account: Track 0 (The Mindset Shift) and the Track 0 coach allowance, no card · every claim cited · full curriculum with membership
What a Claude agent actually costs, or compare Professional Membership pricing.