Z.ai: GLM 5 — API Pricing, Context Window & Specifications
Z.ai: GLM 5 by Z-ai: $1.00 per 1M input tokens, $3.20 per 1M output tokens, 205K token context window, monthly workload cost estimates and rival LLM comparisons.
$1.00Input / 1M
$3.20Output / 1M
205KContext
131KMax Output
Z-aiProvider
text->textModality
Z.ai: GLM 5 token cost by volume
| Token volume | Input cost | Output cost |
|---|---|---|
| 10K tokens | $0.01 | $0.032 |
| 100K tokens | $0.10 | $0.32 |
| 1M tokens | $1.00 | $3.20 |
| 10M tokens | $10.00 | $32.00 |
| 100M tokens | $100.00 | $320.00 |
| Workload scenario (30 days) | Est. monthly bill |
|---|---|
| Customer chatbot (1,000 chats/day · 1.5K in + 500 out) | $93.00 |
| Enterprise RAG search (5,000 queries/day · 4K in + 600 out) | $888.00 |
| Coding / agentic workflow (500 runs/day · 12K in + 2K out) | $276.00 |
More models from Z-ai
- Z.ai: GLM 5.4
- 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
Frequently asked questions
How much does the Z.ai: GLM 5 API cost per million tokens?
Z.ai: GLM 5 (Z-ai) is priced at $1.00 per 1 million input tokens and $3.20 per 1 million output tokens, with prompt cache reads at $0.20 per 1M tokens.
What is Z.ai: GLM 5's maximum context window and output limit?
Z.ai: GLM 5 supports a context window of 204,800 tokens with up to 131,072 maximum completion tokens (text->text).