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.
Price history
Tracked since 2026-10-21 (47 daily snapshots) with no price changes. Current: $1 input / $3.2 output per 1M tokens.
What are cheaper alternatives to Z.ai: GLM 5?
- MoonshotAI: Kimi K2.7 Code — $0.63 in / $3.5 out per 1M
- Qwen: Qwen3.5 397B A17B — $0.5 in / $3.6 out per 1M
- Z.ai: GLM Latest — $0.0698 in / $4 out per 1M
- Amazon Ergo — $1 in / $3 out per 1M
- Relace: Relace Search — $1 in / $3 out per 1M
- Nous: Hermes 4 405B — $1 in / $3 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 · CometAPI: one API for 500+ models (GPT, Claude, Gemini and more) at about 80% of official prices. 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 →Run it on CometAPI →
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 Flash (TEE)Z.ai: GLM 5 vs Z.ai: GLM 5.3 FlashZ.ai: GLM 5 vs Z.ai: GLM 4.6VZ.ai: GLM 5 vs Z.ai: GLM 4.5 Air
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 December 06, 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.7 Code ($0.63 in / $3.5 out), Qwen: Qwen3.5 397B A17B ($0.5 in / $3.6 out), Z.ai: GLM Latest ($0.0698 in / $4 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. 16 free models are listed on the free models page.
Provider: z-ai · Model ID: z-ai/glm-5 · Modality: text->text · Price snapshot December 06, 2026, refreshed daily. How we collect prices