Context
200K
Max output
128K
Serving providers
1
Cheapest input
$1.20 /1M
Prices are on-demand list rates. 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 | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
Price history
input + output $/1M since we started tracking 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 and $5.00 per 1M output tokens at its cheapest provider via 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 Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI