GLM-5.4 API Pricing
Z.AI · released Nov 23, 2026 · 1M context · API model ID glm-5.4
GLM-5.4 by Z.AI API pricing: $1.40 per 1M input tokens and $4.40 per 1M output tokens (provider list price via models.dev, Dec 4, 2026).
Prices
| Price | USD per 1M tokens |
|---|---|
| Input | $1.40 |
| Output | $4.40 |
| Cache read | $0.26 |
| Cache write | Free |
Z.AI's list price for its own API, as compiled by models.dev and checked Dec 4, 2026, 18:49 UTC. Prices on cloud platforms and resellers can differ. Provider documentation
Estimated monthly cost
$1,080
per month
- per day
- $36.00
- per request
- $0.0036
Cannot estimate: a needed price is not published.
Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.
Monthly cost by workload
| Workload | Per month |
|---|---|
| Chatbot1,000 in / 500 out tokens, 10,000 requests a day | $1,080/mo |
| RAG8,000 in / 500 out tokens, 5,000 requests a day | $2,010/mo |
| Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input | $996.00/mo |
Context and capabilities
- Context
- 1,000,000 tokens
- Max output
- 131,072 tokens
- Input
- text, image, video, pdf
- Output
- text
- Knowledge cutoff
- Not published
- Open weights
- No
- Tool calling
- Yes
- Reasoning
- Yes
- Structured outputs
- Yes
Capabilities and limits as listed by models.dev.
Similarly priced models
- Qwen4 Max · $1.50 in / $4.50 out · Compare
- DeepSeek V4 Pro · $1.32 in / $3.96 out · Compare
- Grok 4.20 (Non-Reasoning) · $1.25 in / $2.50 out · Compare
- Gemini 4 Hydrogen · $1.50 in / $7.50 out · Compare
Compare GLM-5.4
- GLM-5.4 vs Claude Fable 5.2
- GLM-5.4 vs Claude Haiku 5.5
- GLM-5.4 vs Claude Sonnet 5.5
- GLM-5.4 vs DeepSeek V4.1 Flash 1017
- GLM-5.4 vs DeepSeek V4 Pro
- GLM-5.4 vs Gemini 4 Carbon
- GLM-5.4 vs Gemini 4 Hydrogen
- GLM-5.4 vs Gemini 4 Neon
- GLM-5.4 vs GPT-6.1 Sol Healthcare
- GLM-5.4 vs GPT-6.2 Astra
- GLM-5.4 vs GPT-6 Astra Healthcare
- GLM-5.4 vs Grok 4.20 (Non-Reasoning)
- GLM-5.4 vs Grok 4.7
- GLM-5.4 vs Kimi K3.1 Pro
- GLM-5.4 vs MiniMax-M4
- GLM-5.4 vs Mistral Large 4
- GLM-5.4 vs Muse Ember
- GLM-5.4 vs Qwen4 35B-A3B
- GLM-5.4 vs Qwen4 Max
- GLM-5.4 vs Seed 2.0 Pro
Price history
- New model listed
Questions
- How much does GLM-5.4 cost per month?
- For a chatbot handling 10,000 requests a day with 1,000 input and 500 output tokens each, GLM-5.4 costs about $1,080 per month at Z.AI's list prices ($1.40 per 1M input tokens, $4.40 per 1M output tokens).
- Does GLM-5.4 support prompt caching?
- Yes. Cached input costs $0.26 per 1M tokens, compared with $1.40 for regular input. Writing to the cache costs Free per 1M tokens.
- How long is GLM-5.4's context window?
- GLM-5.4 accepts up to 1,000,000 tokens (1M) of context and returns up to 131,072 tokens per response.