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. Context: 200K tokens, output: 128K. Pricing is $0.40/M input tokens and $2.00/M output, with cached input reads at $0.08/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-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.