Z.ai: GLM-5.2
Chatz-ai/glm-5.2GLM-5.2 is the flagship reasoning model on Z.ai's international platform (api.z.ai), built on an open-weights MoE architecture with a 1M-token context window. It features embedded thinking (reasoning_content), prompt caching, tool calling, and web search, with strong coding and long-horizon agentic execution. Available via OpenAI-compatible and Anthropic protocols.
Providers
/v1/chat/completionsCode Examples
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.run/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="z-ai/glm-5.2",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
Uptime & Status
Benchmarks
Z.ai: GLM-5.2 scores 1464 in the Overall category of the LMArena text leaderboard (style control), ranking #35 of 374 models based on 14,228 human preference votes (updated 2026-07-12).
| Category | Arena Score | 95% CI | Rank | Votes |
|---|---|---|---|---|
| Overall | 1464 | 1458–1471 | #35 of 374 | 14,228 |
| Hard Prompts | 1487 | 1480–1494 | #32 of 374 | 9,331 |
| Coding | 1511 | 1501–1521 | #33 of 369 | 3,968 |
| Math | 1477 | 1455–1499 | #22 of 362 | 708 |
| Creative Writing | 1443 | 1431–1455 | #38 of 372 | 2,561 |
| Instruction Following | 1461 | 1452–1470 | #29 of 374 | 4,852 |
| Chinese | 1504 | 1481–1526 | #29 of 344 | 728 |
Source: LMArena · CC BY 4.0 · Updated 2026-07-12 · Methodology ↗ · Ranks compare models within each category of the LMArena text leaderboard (style control). Scores come from third-party human preference evaluations, not from OFOX.