GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...
At a glance
- Context window
- 1Mtokens
- Max output
- 128Ktokens
- Knowledge to
- —
- Released
- 2026
Capabilities
Benchmarks
- Intelligence index
- 34
- Coding index
- 69
- Agentic index
- 39
Design Arena
| Category | Elo | Win rate |
|---|---|---|
| models · 3d | 1,321 | 54 |
| models · dataviz | 1,312 | 53.9 |
| models · codecategories | 1,309 | 53 |
| models · uicomponent | 1,309 | 55.7 |
| models · website | 1,305 | 53.3 |
| models · gamedev | 1,297 | 49.9 |
| models · svg | 1,249 | 50.7 |
| models · asciiart | 1,228 | 48.7 |
Standard evaluations
| Benchmark | Score | Tasks |
|---|---|---|
| gpqa_diamond | 0.86 | 2,355 |
| tau_bench_verified_airline | 0.75 | 548 |
Source: Artificial Analysis, Design Arena · as of Sep 16, 2026
Performance
Uptime on IranRouter
0%
Reference uptime
100%
Median latency
1,314 ms
Throughput
62.9 tok/s
IranRouter uptime comes from our own automated probes; the reference figures are daily measurements of this model's upstream routes. Each card shows a 30-day average, and a day without data stays empty.
Popularity
- Current rank
- #15
- Rank change, 7 days
- -4
Daily tokens · 90 days
416.5B
Ranked by daily token volume across the global model market; the figure above the chart is the daily average.
Supported parameters
Parameters this model accepts; anything else is ignored.
Quick start
from openai import OpenAI
client = OpenAI(
api_key="ir-...",
base_url="https://iranrouter.com/v1",
)
resp = client.chat.completions.create(
model="z-ai/glm-5.2",
messages=[{"role": "user", "content": "سلام!"}],
)
print(resp.choices[0].message.content)Only base_url and the key change; the rest of your code stays as it is.