GLM-5 pricing
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. GLM-5 from Zhipu AI (GLM) costs $1.00 per 1M input tokens and $3.20 per 1M output tokens. Cached input is $0.200 per 1M. Context window 204,800 tokens.
API id glm-5 · Zhipu AI (GLM) · source · updated 2026-09-25 · general-purpose
$1.00
Input / 1M tokens
$3.20
Output / 1M tokens
$0.200
Cached input / 1M
205K
Context window
GLM-5 specifications
- Provider
- Zhipu AI (GLM)
- API id
glm-5- Model type
- general-purpose
- Context window
- 205K tokens
- Max output
- 128K tokens
- Currency
- USD
- Price source
- First-party
- Last checked
- 2026-09-25
GLM-5 across providers
The same model, priced by every seller we track. Ranked by the cost of 1M input + 1M output tokens, standard tier; savings measured against buying from the vendor directly.
| Provider | Input /1M | Cached /1M | Output /1M | 1M in + 1M out | vs vendor |
|---|---|---|---|---|---|
| $0.600 | $0.120 | $1.92 | $2.52 | −40% | |
| $1.00 | $0.200 | $3.20 | $4.20 | — |
What GLM-5 costs in practice
| Workload | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0026 |
| Document summary | 50,000 | 2,000 | $0.06 |
| 1M tokens in, 200K out | 1,000,000 | 200,000 | $1.64 |
Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.
Common questions
- How much does GLM-5 cost per 1M tokens?
- GLM-5 costs $1.00 per 1M input tokens and $3.20 per 1M output tokens on the standard tier. Cached input is $0.200 per 1M.
- What is GLM-5's context window?
- GLM-5 accepts up to 204,800 tokens in a single request, and can return up to 128,000 output tokens.
- Is there a cheaper GLM model than GLM-5?
- Yes. GLM-4.6V-Flash is free per 1M input tokens versus $1.00 for GLM-5.
- Where does this GLM-5 price come from?
- Directly from Zhipu AI (GLM)'s published pricing page, re-read every day and normalized to USD per 1,000,000 tokens.