Today › AI API prices › Z.ai
glm-5 API pricing (Z.ai)
Input / 1M tokens$1.00
Output / 1M tokens$3.203.2× input
Context window200Kmax output 128K
Rank within Z.ai10 / 17
Among all modelscheaper than 31%of 725 models
Cost for typical workloads
| Workload | This model | Median of all models |
|---|---|---|
| 10,000 chats (2,000 in / 500 out tokens) | $36.00 | $20.50 |
| 100 long summaries (50,000 in / 1,000 out) | $5.32 | $2.97 |
| 1,000 articles (500 in / 2,000 out) | $6.90 | $2.50 |
Similarly priced models from other providers
| Model | Provider | Input | Output | Context |
|---|---|---|---|---|
| zai-org/GLM-5 | Together AI | $1.00 | $3.20 | 203K |
| grok-4.20 | xAI | $1.25 | $2.50 | 1M |
| grok-4.20-0309 | xAI | $1.25 | $2.50 | 1M |
| grok-4.20-0309-non-reasoning | xAI | $1.25 | $2.50 | 1M |
| grok-4.20-0309-reasoning | xAI | $1.25 | $2.50 | 1M |
| grok-4.20-beta | xAI | $1.25 | $2.50 | 1M |
Price history
| Date | Input | Output |
|---|---|---|
| 2026-10-03 | $1.00 | $3.20 |
Only dates with a change are listed (17 snapshots from 2026-10-03 to 2026-11-10).
Prices come from the open-source LiteLLM price table (MIT), fetched daily, and may differ from the official pricing pages; always check the provider before you buy. US dollars.
About this page
glm-5 on Z.ai costs $1.00 per million input tokens and $3.20 per million output tokens; it ranks 10 of 17 Z.ai models by price, with a 200K context window.