GLM 5 vs GLM 5.2
GLM 5 (Z.ai) and GLM 5.2 (Z.ai) are listed at different prices. GLM 5.2 costs less: $0.62 per 1M input tokens and $2.42 per 1M output tokens, against $1.00 and $3.20 for GLM 5. GLM 5.2 has the larger context window, 1,048,576 tokens against 204,800 for GLM 5. Only GLM 5.2 supports a reasoning effort setting. Both accept text and produce text.
Z.ai: GLM 5 and Z.ai: GLM 5.2 both accept and produce text and support tools, structured outputs, response formats, and reasoning. GLM 5.2 has a 1,048,576-token context window, compared with 204,800 tokens for GLM 5.
Compared from catalog data checked
Side by side
0.00 the better figure in a row| Specification | GLM 5 | GLM 5.2 |
|---|---|---|
| Maker | Z.ai | Z.ai |
| Added to catalog | 11 Feb 2026 | 16 Jun 2026 |
| Input, per 1M tokens | $1.00 | $0.62 |
| Output, per 1M tokens | $3.20 | $2.42 |
| Cached input read, per 1M | $0.20 | $0.14 |
| Context windowTokens | 204,800 | 1,048,576 |
| Max outputTokens | 131,072 | 943,718 |
| Accepts | text | text |
| Produces | text | text |
| Tool calling | Yes | Yes |
| Structured outputs | Yes | Yes |
| Reasoning effort control | No | Yes |
List prices through OpenRouter, in US dollars. Each model's page has its variants, price history and sample outputs.
What the same task costs
List price for one request, from the token counts shown. The same four tasks are priced on every model page.
| Task | GLM 5 | GLM 5.2 |
|---|---|---|
| Answer a short question500 in / 300 out | $0.0015 | $0.0010 |
| Summarise a 50-page PDF25,000 in / 800 out | $0.028 | $0.017 |
| Review a 2,000-line source file30,000 in / 2,000 out | $0.036 | $0.023 |
| Read a 300-page contract set150,000 in / 1,500 out | $0.155 | $0.097 |
Which to choose
Choose GLM 5 if
No row of the table favours GLM 5. The difference, if there is one, is in the answers it writes: try it on your own task.
GLM 5 detailsChoose GLM 5.2 if
- Input tokens cost less: $0.62 against $1.00 per 1M
- Output tokens cost less: $2.42 against $3.20 per 1M
- Cached input costs less: $0.14 against $0.20 per 1M
- You need the larger context window: 1,048,576 tokens against 204,800
- You need longer answers in one response: 943,718 tokens against 131,072
- You want to set how much it reasons before it answers
Neither maker's quality claims are repeated here. The reliable test is your own task: ask both the same question and read the two answers.