GLM-5.2 pricing
GLM-5.2 from Zhipu AI (GLM) costs $1.40 per 1M input tokens and $4.40 per 1M output tokens. Cached input is $0.260 per 1M. Context window 1,048,576 tokens.
API id glm-5.2 · Zhipu AI (GLM) · source · updated 2026-08-11
$1.40
Input / 1M tokens
$4.40
Output / 1M tokens
$0.260
Cached input / 1M
1M
Context window
What GLM-5.2 costs in practice
| Workload | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0036 |
| Document summary | 50,000 | 2,000 | $0.08 |
| 1M tokens in, 200K out | 1,000,000 | 200,000 | $2.28 |
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.2 cost per 1M tokens?
- GLM-5.2 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens on the standard tier. Cached input is $0.260 per 1M.
- What is GLM-5.2's context window?
- GLM-5.2 accepts up to 1,048,576 tokens in a single request, and can return up to 131,072 output tokens.
- Is there a cheaper GLM model than GLM-5.2?
- Yes. GLM-4.6V-Flash is free per 1M input tokens versus $1.40 for GLM-5.2.
- Where does this GLM-5.2 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.