GLM 5.2
z-ai/glm-5.2
GLM 5.2 is a large-scale reasoning model from Z.ai.
Key facts
- Input price
- $0.62 / 1M tokens
- Output price
- $2.42 / 1M tokens
- Context window
- 1M tokens
- Max output
- 944K tokens
- Accepts
- Text
- Returns
- Text
Example: 1,000 requests with 1,000 input and 500 output tokens each would cost about $1.83 (1M input tokens × $0.62 + 0.5M output tokens × $2.42). Estimate your own usage.
Prices are the provider’s own per-token rates with zero markup, from our price list as of Oct 18, 2026. If a call has extra provider charges (images, audio, web search, cached prompts), you pay the reported cost.
Call it from your code
curl https://api.tokenctr.com/v1/chat/completions \
-H "Authorization: Bearer $TOKENCENTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "z-ai/glm-5.2", "messages": [{"role": "user", "content": "Hello!"}]}'Works with any OpenAI-compatible SDK: set the base URL to https://api.tokenctr.com/v1. Quickstart
Benchmarks
Artificial Analysis
- Intelligence index
- 33.7
- Coding index
- 68.8
- Agentic index
- 38.4
Design Arena
| Category | Rank | Elo | Win rate |
|---|---|---|---|
| Agents: Agentic game dev | 10 | 1205 | 49% |
| Agents: Full-stack | 12 | 1241 | 60.5% |
| Agents: HTML slides | 13 | 1175 | 49.5% |
| Agents: Web apps | 15 | 1215 | 56% |
| Agents: Android native | 16 | 1193 | 53.2% |
| Agents: Slides (python-pptx) | 16 | 1194 | 48.7% |
| Models: Data visualization | 16 | 1287 | 52% |
| Models: 3D | 20 | 1288 | 53.3% |
| Models: Code | 20 | 1290 | 50.4% |
| Models: UI components | 20 | 1295 | 55.2% |
| Models: Websites | 20 | 1287 | 49.5% |
| Agents: Godot game dev | 22 | 1142 | 40.1% |
| Models: SVG | 22 | 1214 | 48.8% |
| Agents: Mobile apps | 25 | 1156 | 48.1% |
| Models: Game dev | 25 | 1271 | 49.5% |
| Models: ASCII art | 27 | 1195 | 46% |
Source: Artificial Analysis indexes and Design Arena results as published in OpenRouter’s model data, fetched Oct 15, 2026. Higher is better. Not measured by TokenCenter. See all rankings.