Z.ai: GLM 5.1
Chatz-ai/glm-5.1GLM 5.1 is Z.ai's GLM-series chat model released on 2026-03-27, a newer iteration of the line aimed at general-purpose and agentic workloads. It supports reasoning, function calling (tool use), prompt caching, and web search. Context: 200K tokens, output: 128K. Pricing is $1.40/M input tokens and $4.40/M output, with cached input reads at $0.26/M. Available via OpenAI and Anthropic protocols through Ofox.
Providers
/v1/chat/completions/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.1",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
Uptime & Status
Benchmarks
Z.ai: GLM 5.1 scores 1472 in the Overall category of the LMArena text leaderboard (style control), ranking #25 of 374 models based on 27,322 human preference votes (updated 2026-07-12).
| Category | Arena Score | 95% CI | Rank | Votes |
|---|---|---|---|---|
| Overall | 1472 | 1467–1477 | #25 of 374 | 27,322 |
| Hard Prompts | 1494 | 1488–1500 | #22 of 374 | 18,029 |
| Coding | 1522 | 1514–1529 | #17 of 369 | 7,638 |
| Math | 1479 | 1463–1495 | #18 of 362 | 1,432 |
| Creative Writing | 1454 | 1445–1464 | #19 of 372 | 4,644 |
| Instruction Following | 1465 | 1458–1472 | #21 of 374 | 9,253 |
| Chinese | 1518 | 1502–1534 | #18 of 344 | 1,561 |
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.