← Model list

GLM-5.1

zhipuai·zhipuai/glm-5.1·Deprecated·Open weights·glm series

Strong GLM coding model for agentic engineering, terminals, and repository generation

At a glance
Official price$1.40 / $4.40 per 1M
Cache read $0.26 · Z.AI
Lowest paid$0.45 / $2.15
CrofAI Gateway · 3.9× spread
5 more $0 channels
Context200,000
⚠ Providers report 163,840–204,800; the table below is authoritative
Output limit131,072
Capabilities
ReasoningTool useStructured outputTemperatureAttachments
⚠ Providers report capability flags inconsistently
Modalities
Text
Knowledge cutoff2025-04
Released / updated2026-04-07 / 2026-04-07

Quality & performanceArtificial Analysis · Intelligence Index v4.1 · rep. tier Reasoning

Intelligence41
Value47
Coding55.8
Agentic30.6
Output speed83 tok/s
TTFT1.53 s
Cost per task$0.3042
Value formulaIQ 41 ÷ min blended $0.875 = 47
Reasoning tier → intelligence / speed (higher tier = stronger but slower)
Non-reasoningIQ 36.3 · 62 tok/s
ReasoningIQ 41 · 83 tok/s

Quality is independently evaluated by Artificial Analysis. Speed/latency are model-level medians.

Available at 52 providers46 with public prices · 1 free · 4 subscription-covered

ProviderTierInputOutputCache readCache writeContextOutput limitStatus
Alibaba Token PlanGatewaySubscription$0$0202,752128,000
Kenari
glm-5-1
GatewayFree200,000131,072
Zhipu AI Coding PlanGatewaySubscription$0$0200,000131,072
SCNet Token Plan
GLM-5.1
GatewaySubscription$0200,000131,072
Alibaba Token Plan (China)GatewaySubscription$0$0202,752128,000
CrofAIGateway$0.45$2.15$0.08$0202,752202,752
HPC-AICloud$0.615$2.46$0.133202,000202,000
NanoGPTGateway$0.75$2.60$0.15200,000131,072
DevPass (LLM Gateway)Gateway$0.931$2.93$0.173$0204,800131,072
EmpirioLabs AI
glm-5-1
Gateway$0.825
tiered >32K: $1.10
$3.30$0.165202,000128,000
Z.AIOfficialFirst-party$1.40$4.40$0.26$0200,000131,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$153.10
2HPC-AI$188.16
3NanoGPT$208.00
4DevPass (LLM Gateway)$241.74
5OpenRouter$250.61
6EmpirioLabs AI$250.85
26Z.AI · Official$363.20

5 more channels offer $0 (Alibaba Token Plan, Kenari, Zhipu AI Coding Plan etc.); free tiers usually have rate limits and no SLA, excluded from ranking.

Switch to CrofAI to save $210.10/mo (58%)
Note: this is a gateway; verify availability and rate limits yourself.

Benchmark4 items

NameConditionsScoreMetricSource
Artificial Analysis Coding Agent Indexharness: Claude Code52.7average pass@1Source ↗
SWE-Atlas Codebase QnAharness: Claude Code73.2pass@1Source ↗
SWE-Bench Proharness: Claude Code · dataset: hard-aa19.8pass@1Source ↗
Terminal-Benchharness: Claude Code · v2.165.1pass@1Source ↗

The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.

Reasoning control

Toggle (on / off)effort = noneeffort = loweffort = mediumeffort = higheffort = minimaleffort = xhigheffort = maxbudget_tokens

18 / 52 providers expose no reasoning control (reasoning_options: []).

Related models

Price historyone sample accumulated per data sync

Input listOutput listMin blended
$4.40$02026-08-052026-08-132026-08-05 · Input list $1.402026-08-06 · Input list $1.402026-08-07 · Input list $1.402026-08-08 · Input list $1.402026-08-09 · Input list $1.402026-08-10 · Input list $1.402026-08-11 · Input list $1.402026-08-12 · Input list $1.402026-08-13 · Input list $1.402026-08-05 · Output list $4.402026-08-06 · Output list $4.402026-08-07 · Output list $4.402026-08-08 · Output list $4.402026-08-09 · Output list $4.402026-08-10 · Output list $4.402026-08-11 · Output list $4.402026-08-12 · Output list $4.402026-08-13 · Output list $4.402026-08-05 · Min blended $0.8752026-08-06 · Min blended $0.8752026-08-07 · Min blended $0.8752026-08-08 · Min blended $0.8752026-08-09 · Min blended $0.8752026-08-10 · Min blended $0.8752026-08-11 · Min blended $0.8752026-08-12 · Min blended $0.8752026-08-13 · Min blended $0.875