GLM-5.1 API pricing
Z.ai model · context 200,000 tokens · max output 128,000 · reasoning. Data last changed 2026-10-08. Official pricing ↗ · Data synced from the LiteLLM price list 2026-10-08.
| Input | $1.40 / 1M tokens |
|---|---|
| Output | $4.40 / 1M tokens |
| Cached input | $0.26 / 1M tokens |
| Cache write | $0.00 / 1M tokens |
What it costs per month
| Scenario (per month) | GLM-5.1 |
|---|---|
| Customer support chatbot 5,000 req/day · 1,200 in · 400 out · cache 60% | $380 |
| RAG over documents 2,000 req/day · 8,000 in · 600 out · cache 30% | $633 |
| Coding agent 1,500 req/day · 25,000 in · 2,000 out · cache 80% | $788 |
| Deep reasoning 800 req/day · 3,000 in · 6,000 out · cache 20% | $718 |
| Batch processing 50,000 req/day · 1,500 in · 150 out · batch | $4,140 |
Adjust the numbers in the calculator.
Cheaper alternatives
Lowest monthly cost for the chatbot scenario among reasoning models:
- Qwen Turbo — $21.00/mo
- MiMo V2.6 Flash — $27.18/mo
- GPT-5 nano — $28.14/mo
- Gemini 2.5 Flash Lite — $32.28/mo
- Qwen Flash — $33.00/mo
Comparisons
Price history
- 2026-10-08: Added — → —