As of Nov 29, 2026, GLM 5 Code costs $1.20 per million input tokens and $5.00 per million output tokens from Z.ai. No price change since Appndo started tracking it on Oct 14, 2026. Recent price changes
Providers (1)
Sorted by your monthly estimate. Prices per million tokens. Z.ai also lists up to 128K output tokens per request.
Z.aiOfficial
- Input / output
- $1.20 / $5.00
- Context
- 200K
- Per month
- $22.00
zai/glm-5-code
Cloud and hosted providers may add regional pricing, minimums or platform fees. Supports: Reasoning, Tool calling.
Similar models
Common questions
How much does the GLM 5 Code API cost?
As of Nov 29, 2026, GLM 5 Code costs $1.20 per million input tokens and $5.00 per million output tokens at Z.ai's official price. Cached input costs $0.30 per million tokens.
What is the context length of GLM 5 Code?
GLM 5 Code takes up to 200K tokens of context through Z.ai's API.
How does GLM 5 Code compare with similar models?
GLM 5 Code has no LMArena score yet. Other Z.ai models and their cheapest price per million input / output tokens: GLM 4.7 Flash ($0.024 / $0.16), GLM 5.2 ($0.56 / $1.76), and GLM 5.3 ($0.56 / $1.76).