← 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
ReasoningTool useStructured outputTemperatureAttachments
⚠ 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

ProviderTierInputOutputCache readCache writeContextOutput limitStatus
Alibaba Token Plan
glm-5
GatewaySubscription$0$0202,75216,384
Alibaba Coding Plan (China)
glm-5
GatewaySubscription$0$0202,75216,384
Alibaba Coding Plan
glm-5
GatewaySubscription$0$0202,75216,384
Tencent Coding Plan (China)
glm-5
GatewaySubscription$0$0202,75216,384
SCNet Token Plan
GLM-5
GatewaySubscription$0204,800131,072
Alibaba Token Plan (China)
glm-5
GatewaySubscription$0$0202,75216,384
CrofAI
glm-5
Gateway$0.48$1.90$0.10$0202,752202,752
OpenRouter
z-ai/glm-5
Gateway$0.60$1.92$0.12204,800128,000
GMI Cloud
zai-org/GLM-5-FP8
Cloud$0.60$1.92$0.12202,752131,072
Kilo Gateway
z-ai/glm-5
Gateway$0.60$1.92$0.12198,000128,000
Z.AIOfficial
glm-5
First-party$1.00$3.20$0.20$0204,800131,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

NameConditionsScoreMetricSource
SWE-Bench Verified72.8resolvedSource ↗
SWE-Atlas Codebase QnAharness: Mini-SWE-Agent20.5scoreSource ↗
SWE-Atlas Refactoringharness: Mini-SWE-Agent24.24scoreSource ↗
SWE-Atlas Test Writingharness: Mini-SWE-Agent28.74scoreSource ↗

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

Price historyone sample accumulated per data sync

Input listOutput listMin blended
$3.20$02026-08-052026-08-132026-08-05 · Input list $0.952026-08-06 · Input list $0.952026-08-07 · Input list $0.952026-08-08 · Input list $0.952026-08-09 · Input list $0.952026-08-10 · Input list $0.952026-08-11 · Input list $0.952026-08-12 · Input list $0.952026-08-13 · Input list $1.002026-08-05 · Output list $2.552026-08-06 · Output list $2.552026-08-07 · Output list $2.552026-08-08 · Output list $2.552026-08-09 · Output list $2.552026-08-10 · Output list $2.552026-08-11 · Output list $2.552026-08-12 · Output list $2.552026-08-13 · Output list $3.202026-08-05 · Min blended $1.352026-08-06 · Min blended $1.352026-08-07 · Min blended $1.352026-08-08 · Min blended $1.352026-08-09 · Min blended $1.352026-08-10 · Min blended $1.352026-08-11 · Min blended $1.352026-08-12 · Min blended $1.352026-08-13 · Min blended $0.835