Z.ai: GLM 4.7
Chatz-ai/glm-4.7GLM-4.7 is Z.ai's flagship GLM model released on 2025-12-23, built around advanced reasoning and best-in-class Chinese language understanding. It supports reasoning, function calling (tool use), prompt caching, and web search, letting it plan multi-step tasks and bring in external information when a request calls for it. Context: 200K tokens, output: 128K, leaving room for long documents and extended agent traces. 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.run/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="z-ai/glm-4.7",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
Benchmarks
Z.ai: GLM 4.7 scores 1443 in the Overall category of the LMArena text leaderboard (style control), ranking #64 of 374 models based on 12,095 human preference votes (updated 2026-07-12).
| Category | Arena Score | 95% CI | Rank | Votes |
|---|---|---|---|---|
| Overall | 1436โ1449 | #64 of 374 | 12,095 | |
| Hard Prompts | 1455โ1471 | #61 of 374 | 6,602 | |
| Coding | 1474โ1498 | #70 of 369 | 2,411 | |
| Math | 1407โ1449 | #80 of 362 | 707 | |
| Creative Writing | 1392โ1419 | #72 of 372 | 1,917 | |
| Instruction Following | 1418โ1438 | #67 of 374 | 3,209 | |
| Chinese | 1465โ1509 | #57 of 344 | 683 |
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.