GLM 5.4 API pricing
As of December 3, 2026, Z.ai GLM 5.4 costs $1.40 per million input tokens and $4.40 per million output tokens on Z.ai's own API, with cached input at $0.26 per million.
- Input, per million tokens$1.40
- Output, per million tokens$4.40
- Cached input, per million$0.26
- Context window1.05M tokens
- Max output944K tokens
- Output speedNot measured
What a request costs
Three fixed token mixes at the list price, without cache or batch discounts. For a whole month, use the calculator.
| Workload | Tokens | One request | 1,000 requests | Fits the context window |
|---|---|---|---|---|
| Chat turn | 1K input + 500 output tokens | $0.0036 | $3.60 | Yes |
| Repository review | 50K input + 3K output tokens | $0.083 | $83.20 | Yes |
| Agent loop | 200K input + 10K output tokens | $0.324 | $324.00 | Yes |
| Solved coding task | One SWE-bench Verified attempt, divided by the share that succeed | Not computable | Not computable |
Price history
We have read Z.ai's own price every day since December 2, 2026. It has not changed yet; any change will be listed here with its date.
- December 2, 2026 First recorded: $1.40 input, $4.40 output
Cheaper models as good as GLM 5.4
Models within two points of GLM 5.4 or above it on the Vibe Coding Index, with a lower output price. Cheapest first.
GLM 5.4 pricing questions
- How much does GLM 5.4 cost per million tokens?
- $1.40 per million input tokens and $4.40 per million output tokens, as listed on OpenRouter on December 3, 2026.
- Does GLM 5.4 support prompt caching?
- Yes. OpenRouter lists cached input at $0.26 per million tokens, against $1.40 for uncached input.
- Is there a cheaper model as good as GLM 5.4?
- Qwen4 Max scores 74.0 on the Vibe Coding Index, within two points of GLM 5.4 or above it, and costs $4.275 per million output tokens.
- Has the price of GLM 5.4 changed?
- Not since we started recording it daily on December 2, 2026.