Z.ai: GLM 5.4 — API Pricing, Context Window & Specifications
Z.ai: GLM 5.4 by Z-ai: $1.40 per 1M input tokens, $4.40 per 1M output tokens, 1.0M token context window, monthly workload cost estimates and rival LLM comparisons.
$1.40Input / 1M
$4.40Output / 1M
1.0MContext
944KMax Output
Z-aiProvider
text+image+video->textModality
Z.ai: GLM 5.4 token cost by volume
| Token volume | Input cost | Output cost |
|---|---|---|
| 10K tokens | $0.014 | $0.044 |
| 100K tokens | $0.14 | $0.44 |
| 1M tokens | $1.40 | $4.40 |
| 10M tokens | $14.00 | $44.00 |
| 100M tokens | $140.00 | $440.00 |
| Workload scenario (30 days) | Est. monthly bill |
|---|---|
| Customer chatbot (1,000 chats/day · 1.5K in + 500 out) | $129.00 |
| Enterprise RAG search (5,000 queries/day · 4K in + 600 out) | $1,236.00 |
| Coding / agentic workflow (500 runs/day · 12K in + 2K out) | $384.00 |
Compare side by side
More models from Z-ai
- Z.ai: GLM 5.3 FlashX Legal
- Z.ai: GLM 5.3 Prime
- Z.ai: GLM 5.3 FlashX
- Z.ai: GLM Flash Latest
- Z.ai: GLM 5.3 Flash
- Z.ai: GLM Latest
- Z.ai: GLM 5.3
- Z.ai: GLM 5.2
- Z.ai: GLM 5.1
- Z.ai: GLM 5V Turbo
- Z.ai: GLM 5 Turbo
- Z.ai: GLM 5
Frequently asked questions
How much does the Z.ai: GLM 5.4 API cost per million tokens?
Z.ai: GLM 5.4 (Z-ai) is priced at $1.40 per 1 million input tokens and $4.40 per 1 million output tokens, with prompt cache reads at $0.26 per 1M tokens.
What is Z.ai: GLM 5.4's maximum context window and output limit?
Z.ai: GLM 5.4 supports a context window of 1,048,576 tokens with up to 943,718 maximum completion tokens (text+image+video->text).