Z.ai: GLM-5
Chatz-ai/glm-5GLM-5 is Z.ai's flagship open-source foundation model, engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks and combines advanced agentic planning, deep backend reasoning, and iterative self-correction, moving beyond code generation toward full-system construction and autonomous execution. It supports reasoning, function calling (tool use), prompt caching, and web search. Context: 200K tokens, output: 128K. Available via OpenAI and Anthropic protocols through Ofox.
Providers
provider.type: "aliyun"/v1/chat/completionsprovider.type: "zai"/v1/chat/completionsCode Examples
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.io/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="z-ai/glm-5",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
Uptime & Status
Benchmarks
Z.ai: GLM-5 scores 1456 in the Overall category of the LMArena text leaderboard (style control), ranking #44 of 374 models based on 27,815 human preference votes (updated 2026-07-12).
| Category | Arena Score | 95% CI | Rank | Votes |
|---|---|---|---|---|
| Overall | 1456 | 1452โ1461 | #44 of 374 | 27,815 |
| Hard Prompts | 1478 | 1472โ1483 | #44 of 374 | 17,145 |
| Coding | 1498 | 1490โ1505 | #54 of 369 | 7,214 |
| Math | 1443 | 1428โ1457 | #56 of 362 | 1,607 |
| Creative Writing | 1445 | 1435โ1454 | #32 of 372 | 4,518 |
| Instruction Following | 1446 | 1440โ1453 | #46 of 374 | 8,912 |
| Chinese | 1523 | 1507โ1539 | #14 of 344 | 1,511 |
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.