Z.ai · LLMs & Coding
GLM-5.2
Catalog data · checked Nov 16, 2026
GLM-5.2 is a language model from Z.ai, released in June 2026. It reads text and writes text, with a context window of 1M tokens and up to 131.1K output tokens per answer. It costs $1.4 per million input tokens and $4.4 per million output tokens. That puts it in the upper price range: 63% of the 185 paid language models we track cost less.
What it can do
- Tool calling
- Structured output
- Reasoning mode
- Image input
- File input
- Audio input
- Video input
- Image output
- Audio output
- Prompt caching
More prices
| Cached input (read) | $0.26 /1M |
| Cache write | $0 /1M |
What it costs in practice
| 1,000 support replies1,000 chats with 800 input and 250 output tokens each | $2.22 |
| Summarize a 300-page reportabout 150,000 input tokens in one request, 2,000 tokens out | $0.219 |
| 10,000 product descriptions300 input and 200 output tokens per text | $13 |
| One day of agentic codingabout 3M input and 150K output tokens across many calls | $4.86 |
Calculated from the list prices above. Your bill depends on your real token counts. Use your own numbers →
Compare GLM-5.2 with
Questions & answers
How much does GLM-5.2 cost?
GLM-5.2 costs $1.4 per 1 million input tokens and $4.4 per 1 million output tokens (USD, list price checked Nov 16, 2026).
How large is the context window of GLM-5.2?
GLM-5.2 can process up to 1,000,000 tokens per request and return up to 131,072 tokens. As a rule of thumb, 1,000 tokens are about 750 English words.
Does GLM-5.2 support tool calling?
Yes. The API accepts tool (function) definitions and also supports structured JSON output.
Can GLM-5.2 read images?
No, this model accepts text only.
