Zhipu AI logo

GLM-5.2

zhipuai/glm-5.2

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

Source-linkedglmOpen weightsReleased 2026-06-13
Report data
Context window1M
Maximum output131.072K
Provider offers45
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
Alibaba Token Planglm-5.21M$0.000$0.000$0.000R T S
View
{
  "cache_read": 0,
  "cache_write": 0,
  "input": 0,
  "output": 0
}
Alibaba Token Plan (China)glm-5.21M$0.000$0.000$0.000R T S
View
{
  "cache_read": 0,
  "cache_write": 0,
  "input": 0,
  "output": 0
}
Ollama Cloudglm-5.2976KR T S
View
{}
Kenariglm-5-21M$0.000$0.000R T S
View
{
  "input": 0,
  "output": 0
}
Zhipu AI Coding Planglm-5.21M$0.000$0.000$0.000R T S
View
{
  "cache_read": 0,
  "cache_write": 0,
  "input": 0,
  "output": 0
}
Model Oracle AIglm-5.21MR T S
View
{}
UnoRouterglm-5.2:free1M$0.000$0.000R T S
View
{
  "input": 0,
  "output": 0
}
Nvidiaz-ai/glm-5.21M$0.000$0.000R T S
View
{
  "input": 0,
  "output": 0
}
Z.AI Coding Planglm-5.21M$0.000$0.000$0.000R T S
View
{
  "cache_read": 0,
  "cache_write": 0,
  "input": 0,
  "output": 0
}
OpenRouterz-ai/glm-5.21.04858M$0.350$1.100$0.065R T S
View
{
  "cache_read": 0.065,
  "input": 0.35,
  "output": 1.1
}
CrofAIglm-5.21M$0.500$2.200$0.080R T S
View
{
  "cache_read": 0.08,
  "input": 0.5,
  "output": 2.2
}
routing.runglm-5.2200K$0.800$2.400R T S
View
{
  "input": 0.8,
  "output": 2.4
}
Vultrzai-org/GLM-5.2-FP8393.216K$0.850$3.100R T S
View
{
  "input": 0.85,
  "output": 3.1
}
Deep Infrazai-org/GLM-5.21.04858M$0.930$3.000$0.180R T S
View
{
  "cache_read": 0.18,
  "input": 0.93,
  "output": 3
}
GMI Cloudzai-org/GLM-5.2-FP81M$0.979$3.080$0.182R T S
View
{
  "cache_read": 0.182,
  "input": 0.979,
  "output": 3.08
}
DigitalOceanglm-5.21M$1.050$4.400$0.210R T S
View
{
  "cache_read": 0.21,
  "input": 1.05,
  "output": 4.4
}
Alibaba (China)glm-5.21M$1.100$3.851$0.275R T S
View
{
  "cache_read": 0.275,
  "cache_write": 0,
  "input": 1.1,
  "output": 3.851
}
AIHubMixglm-5.21M$1.127$3.944$0.282R T S
View
{
  "cache_read": 0.2817,
  "input": 1.1268,
  "output": 3.9438
}
Vivgridglm-5.21M$1.200$4.200$0.300R T S
View
{
  "cache_read": 0.3,
  "input": 1.2,
  "output": 4.2
}
CrossModelz-ai/glm-5.21M$1.200$4.400$0.300R T S
View
{
  "cache_read": 0.3,
  "cache_write": 1.2,
  "input": 1.2,
  "output": 4.4
}
Ambientzai-org/GLM-5.2-FP8202.752K$1.200$4.200$0.260R T S
View
{
  "cache_read": 0.26,
  "cache_write": 0,
  "input": 1.2,
  "output": 4.2
}
WaferGLM-5.21.04858M$1.200$4.100$0.200R T S
View
{
  "cache_read": 0.2,
  "cache_write": 0,
  "input": 1.2,
  "output": 4.1
}
LLM Gatewayglm-5.21.024M$1.260$3.960$0.234R T S
View
{
  "cache_read": 0.234,
  "cache_write": 0,
  "input": 1.26,
  "output": 3.96
}
Subconscioussubconscious/glm-5.21M$1.400$4.400$0.260R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
OpenCode Zenglm-5.21M$1.400$4.400$0.260R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
Synthetichf:zai-org/GLM-5.2524.288K$1.400$4.400$1.400R T S
View
{
  "cache_read": 1.4,
  "input": 1.4,
  "output": 4.4
}
Z.AIglm-5.21M$1.400$4.400$0.260R T S
View
{
  "cache_read": 0.26,
  "cache_write": 0,
  "input": 1.4,
  "output": 4.4
}
NovitaAIzai-org/glm-5.21.04858M$1.400$4.400$0.260R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
Pioneerzai-org/GLM-5.21.04858M$1.400$4.400$0.260R T S
View
{
  "cache_read": 0.26,
  "cache_write": 1.4,
  "input": 1.4,
  "output": 4.4
}
Together AIzai-org/GLM-5.2262.144K$1.400$4.400$0.260R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
Friendlizai-org/GLM-5.21M$1.400$4.400$0.260R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
Abacuszai-org/GLM-5.21.04858M$1.400$4.400$0.260R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
SiliconFlowzai-org/GLM-5.21.049M$1.400$4.400R T S
View
{
  "cache_write": 0,
  "input": 1.4,
  "output": 4.4
}
Zhipu AIglm-5.21M$1.400$4.400$0.260R T S
View
{
  "cache_read": 0.26,
  "cache_write": 0,
  "input": 1.4,
  "output": 4.4
}
Databricksdatabricks-glm-5-21M$1.400$4.400$0.260R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
OpenCode Goglm-5.21M$1.400$4.400$0.260R T S
View
{
  "cache_read": 0.26,
  "input": 1.4,
  "output": 4.4
}
SiliconFlow (China)zai-org/GLM-5.21.049M$1.400$4.400R T S
View
{
  "cache_write": 0,
  "input": 1.4,
  "output": 4.4
}
Nebius Token Factoryzai-org/GLM-5.2432K$1.400$4.400R T S
View
{
  "input": 1.4,
  "output": 4.4
}
Hugging Facezai-org/GLM-5.2262.144K$1.400$4.400R T S
View
{
  "input": 1.4,
  "output": 4.4
}
Merge Gatewayzai/glm-5.21M$1.400$4.400R T S
View
{
  "input": 1.4,
  "output": 4.4
}
Cortecsglm-5.21M$1.440$4.530$0.390R T S
View
{
  "cache_read": 0.39,
  "input": 1.44,
  "output": 4.53
}
Tinfoilglm-5-2384K$1.500$5.250R T S
View
{
  "input": 1.5,
  "output": 5.25
}
Berget.AIzai-org/GLM-5.2524.288K$1.540$4.840R T S
View
{
  "input": 1.54,
  "output": 4.84
}
UnoRouterglm-5.21M$1.600$5.029R T S
View
{
  "input": 1.6001,
  "output": 5.0288
}
Scalewayglm-5.2256K$1.800$5.500R 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