Zhipu AI logo

GLM-5.2

zhipuai/glm-5.2

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

Input modalitiesT
Output modalitiesT
Source-linkedglmOpen weightsReleased 2026-06-13
Report data
Context window1M
Maximum output131.072K
Provider offers46
Knowledge cutoffUndisclosed
Capabilities

What this model supports

ReasoningYes
Tool callingYes
Structured outputYes
AttachmentsNo
Temperature controlYes
Open weightsYes
Creator
Zhipu AI
Family
glm
Modalities
Text
License
Not documented
Release date
2026-06-13
Model ID
zhipuai/glm-5.2
Market availability

Provider pricing

Report price →
Providers offering GLM-5.2
ProviderProvider model IDContextInput / 1MOutput / 1MCached / 1MFeaturesAll pricing
Model Oracle AI logoModel Oracle AIglm-5.21M$0 if offer.cost.input is defined else '—'}}$0 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{}
Zhipu AI Coding Plan logoZhipu AI Coding Planglm-5.21M$0 if offer.cost.input is defined else '—'}}$0 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0,
  "cache_write": 0,
  "input": 0,
  "output": 0
}
UnoRouter logoUnoRouterglm-5.2:free1M$0 if offer.cost.input is defined else '—'}}$0 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 0,
  "output": 0
}
Alibaba Token Plan logoAlibaba Token Planglm-5.21M$0 if offer.cost.input is defined else '—'}}$0 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0,
  "cache_write": 0,
  "input": 0,
  "output": 0
}
Z.AI Coding Plan logoZ.AI Coding Planglm-5.21M$0 if offer.cost.input is defined else '—'}}$0 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0,
  "cache_write": 0,
  "input": 0,
  "output": 0
}
Nvidia logoNvidiaz-ai/glm-5.21M$0 if offer.cost.input is defined else '—'}}$0 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 0,
  "output": 0
}
Kenari logoKenariglm-5-21M$0 if offer.cost.input is defined else '—'}}$0 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 0,
  "output": 0
}
Ollama Cloud logoOllama Cloudglm-5.2976K$0 if offer.cost.input is defined else '—'}}$0 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{}
Alibaba Token Plan (China) logoAlibaba Token Plan (China)glm-5.21M$0 if offer.cost.input is defined else '—'}}$0 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0,
  "cache_write": 0,
  "input": 0,
  "output": 0
}
OpenRouter logoOpenRouterz-ai/glm-5.21.04858M$0.42 if offer.cost.input is defined else '—'}}$1.32 if offer.cost.output is defined else '—'}}$0.078 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.078,
  "input": 0.42,
  "output": 1.32
}
CrofAI logoCrofAIglm-5.21M$0.5 if offer.cost.input is defined else '—'}}$2.2 if offer.cost.output is defined else '—'}}$0.08 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.08,
  "input": 0.5,
  "output": 2.2
}
routing.run logorouting.runglm-5.2200K$0.8 if offer.cost.input is defined else '—'}}$2.4 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 0.8,
  "output": 2.4
}
Vultr logoVultrzai-org/GLM-5.2-FP8393.216K$0.85 if offer.cost.input is defined else '—'}}$3.1 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 0.85,
  "output": 3.1
}
Deep Infra logoDeep Infrazai-org/GLM-5.21.04858M$0.93 if offer.cost.input is defined else '—'}}$3 if offer.cost.output is defined else '—'}}$0.18 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.18,
  "input": 0.93,
  "output": 3
}
GMI Cloud logoGMI Cloudzai-org/GLM-5.2-FP81M$0.979 if offer.cost.input is defined else '—'}}$3.08 if offer.cost.output is defined else '—'}}$0.182 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.182,
  "input": 0.979,
  "output": 3.08
}
DigitalOcean logoDigitalOceanglm-5.21M$1.05 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.21 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.21,
  "input": 1.05,
  "output": 4.4
}
Alibaba (China) logoAlibaba (China)glm-5.21M$1.1 if offer.cost.input is defined else '—'}}$3.851 if offer.cost.output is defined else '—'}}$0.275 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.275,
  "cache_write": 0,
  "input": 1.1,
  "output": 3.851
}
AIHubMix logoAIHubMixglm-5.21M$1.127 if offer.cost.input is defined else '—'}}$3.944 if offer.cost.output is defined else '—'}}$0.282 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.2817,
  "input": 1.1268,
  "output": 3.9438
}
CrossModel logoCrossModelz-ai/glm-5.21M$1.2 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.3 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.3,
  "cache_write": 1.2,
  "input": 1.2,
  "output": 4.4
}
Vivgrid logoVivgridglm-5.21M$1.2 if offer.cost.input is defined else '—'}}$4.2 if offer.cost.output is defined else '—'}}$0.3 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.3,
  "input": 1.2,
  "output": 4.2
}
Wafer logoWaferGLM-5.21.04858M$1.2 if offer.cost.input is defined else '—'}}$4.1 if offer.cost.output is defined else '—'}}$0.2 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.2,
  "cache_write": 0,
  "input": 1.2,
  "output": 4.1
}
Ambient logoAmbientzai-org/GLM-5.2-FP8202.752K$1.2 if offer.cost.input is defined else '—'}}$4.2 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "cache_write": 0,
  "input": 1.2,
  "output": 4.2
}
LLM Gateway logoLLM Gatewayglm-5.21.024M$1.26 if offer.cost.input is defined else '—'}}$3.96 if offer.cost.output is defined else '—'}}$0.234 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.234,
  "cache_write": 0,
  "input": 1.26,
  "output": 3.96
}
SiliconFlow (China) logoSiliconFlow (China)zai-org/GLM-5.21.049M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_write": 0,
  "input": 1.4,
  "output": 4.4
}
Nebius Token Factory logoNebius Token Factoryzai-org/GLM-5.2432K$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 1.4,
  "output": 4.4
}
OpenCode Go logoOpenCode Goglm-5.21M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
OpenCode Zen logoOpenCode Zenglm-5.21M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
SiliconFlow logoSiliconFlowzai-org/GLM-5.21.049M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_write": 0,
  "input": 1.4,
  "output": 4.4
}
Friendli logoFriendlizai-org/GLM-5.21M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
Together AI logoTogether AIzai-org/GLM-5.2262.144K$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
Subconscious logoSubconscioussubconscious/glm-5.21M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
Databricks logoDatabricksdatabricks-glm-5-21M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
Merge Gateway logoMerge Gatewayzai/glm-5.21M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 1.4,
  "output": 4.4
}
Synthetic logoSynthetichf:zai-org/GLM-5.2524.288K$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$1.4 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 1.4,
  "input": 1.4,
  "output": 4.4
}
Z.AI logoZ.AIglm-5.21M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "cache_write": 0,
  "input": 1.4,
  "output": 4.4
}
NovitaAI logoNovitaAIzai-org/glm-5.21.04858M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
Pioneer logoPioneerzai-org/GLM-5.21.04858M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "cache_write": 1.4,
  "input": 1.4,
  "output": 4.4
}
Abacus logoAbacuszai-org/GLM-5.21.04858M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
Zhipu AI logoZhipu AIglm-5.21M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "cache_write": 0,
  "input": 1.4,
  "output": 4.4
}
HPC-AI logoHPC-AIzai-org/glm-5.21.04858M$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0.26 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
Hugging Face logoHugging Facezai-org/GLM-5.2262.144K$1.4 if offer.cost.input is defined else '—'}}$4.4 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 1.4,
  "output": 4.4
}
Cortecs logoCortecsglm-5.21M$1.44 if offer.cost.input is defined else '—'}}$4.53 if offer.cost.output is defined else '—'}}$0.39 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "cache_read": 0.39,
  "input": 1.44,
  "output": 4.53
}
Tinfoil logoTinfoilglm-5-2384K$1.5 if offer.cost.input is defined else '—'}}$5.25 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 1.5,
  "output": 5.25
}
Berget.AI logoBerget.AIzai-org/GLM-5.2524.288K$1.54 if offer.cost.input is defined else '—'}}$4.84 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 1.54,
  "output": 4.84
}
UnoRouter logoUnoRouterglm-5.21M$1.6 if offer.cost.input is defined else '—'}}$5.029 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 1.6001,
  "output": 5.0288
}
Scaleway logoScalewayglm-5.2256K$1.8 if offer.cost.input is defined else '—'}}$5.5 if offer.cost.output is defined else '—'}}$0 if offer.cost.cache_read is defined else '—'}}R T S
View
{
  "input": 1.8,
  "output": 5.5
}
Evidence

Published benchmark results

FrontierSWE vs top 1 models
GLM-5.2
74.4
SWE-Bench Pro vs top 8 models
Claude Fable 5
80.3
Claude Opus 4.8
69.2
Grok 4.5
64.7
GPT-5.6 Sol
64.6
Claude Opus 4.7
64.3
GPT-5.6 Terra
63.4
Claude Sonnet 5
63.2
GLM-5.2
62.1
Terminal-Bench vs top 8 models
GPT-5.6 Sol
88.8
Claude Fable 5
88.0
GPT-5.6 Terra
87.4
GPT-5.6 Luna
84.7
Grok 4.5
83.3
GPT-5.5
82.7
GLM-5.2
82.7
Muse Spark 1.1
80.0