← Model list
GLM-5
zhipuai·zhipuai/glm-5-2·Deprecated·Open weights·glm series
General GLM flagship for coding, analysis, and tool-heavy engineering workflows
At a glance
Official price$1.00 / $3.20 per 1M
Cache read $0.20 · Z.AI
Lowest paid$0.48 / $1.90
CrofAI Gateway · 2.1× spread
6 more $0 channels
Context204,800
⚠ Providers report 64,000–205,000; the table below is authoritative
Output limit131,072
Capabilities
✓ Reasoning✓ Tool use✓ Structured output✓ TemperatureAttachments
⚠ Providers report capability flags inconsistently
Modalities
Text
Knowledge cutoff2025-04
Released / updated2026-02-12 / 2026-02-12
Quality & performanceArtificial Analysis · Intelligence Index v4.1 · rep. tier Reasoning
Intelligence40.6
Value49
Coding—
Agentic—
Output speed46 tok/s
TTFT1.71 s
Value formulaIQ 40.6 ÷ min blended $0.835 = 49
Reasoning tier → intelligence / speed (higher tier = stronger but slower)
Non-reasoningIQ 33.2 · 40 tok/s
ReasoningIQ 40.6 · 46 tok/s
Quality is independently evaluated by Artificial Analysis. Speed/latency are model-level medians.
Available at 44 providers38 with public prices · 6 subscription-covered
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Alibaba Token Plan glm-5 | Gateway | Subscription | $0 | $0 | 202,752 ⚠ | 16,384 | ||
| Alibaba Coding Plan (China) glm-5 | Gateway | Subscription | $0 | $0 | 202,752 ⚠ | 16,384 | ||
| Alibaba Coding Plan glm-5 | Gateway | Subscription | $0 | $0 | 202,752 ⚠ | 16,384 | ||
| Tencent Coding Plan (China) glm-5 | Gateway | Subscription | $0 | $0 | 202,752 ⚠ | 16,384 | ||
| SCNet Token Plan GLM-5 | Gateway | Subscription | $0 | — | 204,800 | 131,072 | ||
| Alibaba Token Plan (China) glm-5 | Gateway | Subscription | $0 | $0 | 202,752 ⚠ | 16,384 | ||
| CrofAI glm-5 | Gateway | $0.48 | $1.90 | $0.10 | $0 | 202,752 ⚠ | 202,752 | |
| OpenRouter z-ai/glm-5 | Gateway | $0.60 | $1.92 | $0.12 | — | 204,800 | 128,000 | |
| GMI Cloud zai-org/GLM-5-FP8 | Cloud | $0.60 | $1.92 | $0.12 | — | 202,752 ⚠ | 131,072 | |
| Kilo Gateway z-ai/glm-5 | Gateway | $0.60 | $1.92 | $0.12 | — | 198,000 ⚠ | 128,000 | |
| Z.AIOfficial glm-5 | First-party | $1.00 | $3.20 | $0.20 | $0 | 204,800 | 131,072 | |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
Your usage cost
1CrofAI$145.40
2OpenRouter$158.40
3GMI Cloud$158.40
4Kilo Gateway$158.40
5Deep Infra$166.40
6NanoGPT$183.10
18Z.AI · Official$264.00
6 more channels offer $0 (Alibaba Token Plan, Alibaba Coding Plan (China), Alibaba Coding Plan etc.); free tiers usually have rate limits and no SLA, excluded from ranking.
Switch to CrofAI to save $118.60/mo (45%)
Note: this is a gateway; verify availability and rate limits yourself.
Benchmark4 items
| Name | Conditions | Score | Metric | Source |
|---|---|---|---|---|
| SWE-Bench Verified | — | 72.8 | resolved | Source ↗ |
| SWE-Atlas Codebase QnA | harness: Mini-SWE-Agent | 20.5 | score | Source ↗ |
| SWE-Atlas Refactoring | harness: Mini-SWE-Agent | 24.24 | score | Source ↗ |
| SWE-Atlas Test Writing | harness: Mini-SWE-Agent | 28.74 | score | Source ↗ |
The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.
Reasoning control
Toggle (on / off)effort = noneeffort = higheffort = minimaleffort = loweffort = mediumeffort = xhigheffort = maxbudget_tokens ≤ 32,768
14 / 44 providers expose no reasoning control (reasoning_options: []).
Related models
GLM Latestsame series$1.40 / $4.40Z.ai: GLM Latestsame series$1.40 / $4.40GLM 5.3 Preview Thinkingsame series$1.40 / $4.40DeepSeek V4 Procheaper alternative$0.435 / $0.87DeepSeek V4 Flashcheaper alternative$0.14 / $0.28MiniMax-M2.7cheaper alternative$0.30 / $1.20DeepSeek V4 Flash 0731cheaper alternative$0.479 / $1.44
Price historyone sample accumulated per data sync
Input listOutput listMin blended