Home › Providers › z-ai › Z.ai: GLM 5
Z.ai: GLM 5 API Pricing
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...
How much does Z.ai: GLM 5 cost for a real workload?
At 10M input + 2M output tokens per month, Z.ai: GLM 5 costs about $16.4 ($10 input + $6.4 output). Try your own volumes in the cost calculator.
What are cheaper alternatives to Z.ai: GLM 5?
- MoonshotAI: Kimi K2.6 — $0.65 in / $3.41 out per 1M
- MoonshotAI: Kimi K2.7 Code — $0.6712 in / $3.35 out per 1M
- Relace: Relace Search — $1 in / $3 out per 1M
- Nous: Hermes 4 405B — $1 in / $3 out per 1M
- Pareto 26.10 — $0.8 in / $3.2 out per 1M
- Pareto Latest — $0.8 in / $3.2 out per 1M
Where to run Z.ai: GLM 5
AI/ML API: one API key for 400+ models, including most models tracked here · Novita AI: pay-as-you-go APIs for open models (DeepSeek, Qwen, Llama and more) plus GPU cloud. Prices there follow each platform's own catalog and can differ from the list prices tracked here.
Run it on AI/ML API →Run it on Novita AI →
Disclosure: links to these platforms may be affiliate links — if you sign up or buy through them, LLMPrices may earn a commission at no extra cost to you.
Compare Z.ai: GLM 5 with other models
Z.ai: GLM 5 vs Z.ai: GLM 5.3 Flash (batch)Z.ai: GLM 5 vs Z.ai: GLM 4.7 FlashZ.ai: GLM 5 vs Z.ai: GLM 5.3 FlashZ.ai: GLM 5 vs Z.ai: GLM 4.5 AirZ.ai: GLM 5 vs Z.ai: GLM 4.6VZ.ai: GLM 5 vs Z.ai: GLM 5.3 FlashX
Frequently asked questions
How much does Z.ai: GLM 5 cost?
Z.ai: GLM 5 costs $1 per 1M input tokens and $3.2 per 1M output tokens (list price, snapshot October 22, 2026). At 10M input + 2M output tokens per month that is about $16.4.
What is the context window of Z.ai: GLM 5?
Z.ai: GLM 5 has a context window of 204,800 tokens and can return up to 131,072 output tokens per response.
What are cheaper alternatives to Z.ai: GLM 5?
Cheaper models include MoonshotAI: Kimi K2.6 ($0.65 in / $3.41 out), MoonshotAI: Kimi K2.7 Code ($0.6712 in / $3.35 out), Relace: Relace Search ($1 in / $3 out). See the full list on this page.
Is Z.ai: GLM 5 free to use?
No. Z.ai: GLM 5 is a paid model at $1 input / $3.2 output per 1M tokens. 21 free models are listed on the free models page.
Provider: z-ai · Model ID: z-ai/glm-5 · Modality: text->text · Price snapshot October 22, 2026, refreshed daily. How we collect prices