GLM 4.7
z-ai/glm-4.7
GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution.
Key facts
- Input price
- $0.54 / 1M tokens
- Output price
- $1.98 / 1M tokens
- Context window
- 205K tokens
- Max output
- 131K tokens
- Accepts
- Text
- Returns
- Text
Example: 1,000 requests with 1,000 input and 500 output tokens each would cost about $1.53 (1M input tokens × $0.54 + 0.5M output tokens × $1.98). Estimate your own usage.
Prices are the provider’s own per-token rates with zero markup, from our price list as of Oct 18, 2026. If a call has extra provider charges (images, audio, web search, cached prompts), you pay the reported cost.
Call it from your code
curl https://api.tokenctr.com/v1/chat/completions \
-H "Authorization: Bearer $TOKENCENTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "z-ai/glm-4.7", "messages": [{"role": "user", "content": "Hello!"}]}'Works with any OpenAI-compatible SDK: set the base URL to https://api.tokenctr.com/v1. Quickstart
Benchmarks
Artificial Analysis
- Intelligence index
- 22.2
- Coding index
- 45.3
Design Arena
| Category | Rank | Elo | Win rate |
|---|---|---|---|
| Agents: Android native | 27 | 1127 | 56.1% |
| Models: ASCII art | 32 | 1168 | 48.2% |
| Agents: Godot game dev | 33 | 1058 | 35.8% |
| Agents: Mobile apps | 35 | 1103 | 48.9% |
| Agents: Full-stack | 36 | 1050 | 45.1% |
| Models: SVG | 48 | 1141 | 54.3% |
| Models: Websites | 52 | 1227 | 55.3% |
| Models: 3D | 53 | 1191 | 54.3% |
| Models: Code | 53 | 1218 | 54.8% |
| Models: Game dev | 57 | 1192 | 55.2% |
| Models: UI components | 57 | 1198 | 51.1% |
| Models: Data visualization | 59 | 1197 | 51.2% |
Source: Artificial Analysis indexes and Design Arena results as published in OpenRouter’s model data, fetched Oct 15, 2026. Higher is better. Not measured by TokenCenter. See all rankings.