← Model list

GLM-5.2

zhipuai·zhipuai/glm-5.2·BETA·Open weights·glm series·NEW

Open flagship GLM for long-horizon coding agents and million-token context work

At a glance
Official price$1.40 / $4.40 per 1M
Cache read $0.26 · Z.AI
Lowest paid$0.30 / $1.05
CrofAI Gateway · 7.7× spread
9 more $0 channels
Context1,000,000
⚠ Providers report 96,000–1,049,000; the table below is authoritative
Output limit131,072
Capabilities
ReasoningTool useStructured outputTemperatureAttachments
⚠ Providers report capability flags inconsistently
Modalities
TextImage
Knowledge cutoff
Released / updated2026-06-13 / 2026-06-13

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

Intelligence52.6
Value108
Coding68.8
Agentic45.7
Output speed113 tok/s
TTFT1.72 s
Cost per task$0.4445
Value formulaIQ 52.6 ÷ min blended $0.487 = 108
Reasoning tier → intelligence / speed (higher tier = stronger but slower)
Non-reasoningIQ 34.8 · 140 tok/s
maxIQ 52.6 · 113 tok/s

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

Available at 84 providers73 with public prices · 3 free · 6 subscription-covered

ProviderTierInputOutputCache readCache writeContextOutput limitStatus
Umans AI Coding Plan
umans-glm-5.2
GatewaySubscription$0$0405,504131,072
NvidiaFirst-partyFree1,000,000131,072
Alibaba Token PlanGatewaySubscription$0$01,000,000131,072
Kenari
glm-5-2
GatewayFree1,000,000131,072
UnoRouter
glm-5.2:free
GatewayFree1,000,000131,072
Zhipu AI Coding PlanGatewaySubscription$0$01,000,000131,072
Z.AI Coding PlanGatewaySubscription$0$01,000,000131,072
SCNet Token Plan
GLM-5.2
GatewaySubscription$01,000,000131,072
Alibaba Token Plan (China)GatewaySubscription$0$01,000,000131,072
CrofAIGateway$0.30$1.05$0.051,000,000131,072
Z.AIOfficialFirst-party$1.40$4.40$0.26$01,000,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$82.50
2NanoGPT$108.96
3SCX.ai$146.52
4DevPass (LLM Gateway)$146.52
5Ambient$166.00
6DigitalOcean$178.60
31Z.AI · Official$363.20

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

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

Benchmark19 items

NameConditionsScoreMetricSource
SWE-Bench Pro62.1resolve rateSource ↗
Terminal-Benchharness: Claude Code · v2.182.7success rateSource ↗
FrontierSWE74.4dominanceSource ↗
Humanity's Last Examdataset: text-only subset40.5accuracySource ↗
Humanity's Last Examvariant: with tools · dataset: text-only subset54.7accuracySource ↗
CritPt20.9accuracySource ↗
AIMEv202699.2accuracySource ↗
HMMTvNovember 202594.4accuracySource ↗
HMMTvFebruary 202692.5accuracySource ↗
IMOAnswerBench91accuracySource ↗
GPQA Diamond91.2accuracySource ↗
NL2Repo48.9resolve rateSource ↗
DeepSWE46.2resolve rateSource ↗
Program Bench63.7scoreSource ↗
Terminal-Benchharness: Terminus 2 · v2.181success rateSource ↗
PostTrainBench34.3scoreSource ↗
SWE Marathon13resolve rateSource ↗
MCP Atlasdataset: public subset76.8scoreSource ↗
Tool-Decathlon48.2scoreSource ↗

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

Reasoning control

Toggle (on / off)effort = higheffort = maxeffort = xhigheffort = noneeffort = loweffort = mediumeffort = minimalbudget_tokens

12 / 84 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-182026-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-18 · 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-18 · Output list $4.402026-08-05 · Min blended $0.6452026-08-06 · Min blended $0.6452026-08-07 · Min blended $0.6452026-08-08 · Min blended $0.6452026-08-09 · Min blended $0.152026-08-10 · Min blended $0.6452026-08-11 · Min blended $0.6452026-08-12 · Min blended $0.6452026-08-13 · Min blended $0.6452026-08-18 · Min blended $0.487