Context
200K
Max output
128K
Serving providers
1
Cheapest input
$1.20 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.
Pricing by serving provider
standard tier · per 1M tokens · click a provider to expand| Serving provider | Input /1M | Output /1M | Endpoints | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ZaiCheapest | $1.20 | $5.00 | 1 | ||||||||||||||||
Standardzai/glm-5-code
| |||||||||||||||||||
Price history
listed seller prices, input and output per 1M tokens Input Output
Cost calculator
estimate your monthly spend on this model$640
estimated / month
Model IDs
copy the exact identifier for your platformzai/glm-5-code
Frequently asked questions
GLM 5 Code pricing, context and availabilityHow much does GLM 5 Code cost?
GLM 5 Code costs $1.20 per 1M input tokens from Zai, and $5.00 per 1M output tokens from Zai.
What is the context window of GLM 5 Code?
GLM 5 Code accepts up to 200K tokens of context and can return up to 128K output tokens.
What can GLM 5 Code do?
GLM 5 Code supports tool use, reasoning and prompt caching.
Other Zhipu models
compare pricing across the Zhipu lineup Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI