Z.ai: GLM 5 API pricing
$1.00 per 1M input tokens and $3.20 per 1M output tokens on OpenRouter. Context window: 204,800 tokens.
$1.00input / 1M tokens
$3.20output / 1M tokens
$0.20cached input / 1M
200Kcontext
text->textmodality
What it costs in practice
| Workload | Cost |
|---|---|
| Chatbot: 10,000 messages (1,500 in / 400 out tokens each) | $27.80 |
| RAG: 1,000 queries (8,000 in / 600 out each) | $9.92 |
| Summarize 100 long documents (50,000 in / 1,000 out each) | $5.32 |
Cross-check against the provider's list price
LiteLLM's price map lists zai/glm-5 (zai) at $1.00 in / $3.20 out per 1M tokens. Matches OpenRouter
Price history
No price change recorded since we started tracking on Nov 17, 2026. We check every 6 hours and log every change.
Run it yourself instead
The open weights are on Hugging Face. See the VRAM GLM 5 needs and which GPUs fit it →
Cheaper alternatives with similar context
Text models with at least 125K context and a lower blended price (75% input, 25% output). Price only, not a quality ranking.
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Google: Gemini 4 Hydrogen (batch) | $0.75 | $3.75 | 1M |
| Google: Gemini 3.7 Flash | $0.75 | $3.75 | 1M |
| Google: Gemini 3.6 Flash | $0.75 | $3.75 | 1M |
| Mistral: Mistral Medium 3.5 (batch) | $0.75 | $3.75 | 256K |
| Relace: Relace Search | $1.00 | $3.00 | 250K |
| Nous: Hermes 4 405B | $1.00 | $3.00 | 128K |
| StepFun: Step 5 Preview | $1.00 | $2.70 | 977K |
| Pareto 26.10 | $0.80 | $3.20 | 1M |
Source: OpenRouter listing via the public models API · LiteLLM price map (MIT). Prices checked Nov 17, 2026. Model ID z-ai/glm-5, listed Feb 11, 2026. Report an error.