Zhipu AI logo

GLM-5.2

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

Source-linked glm Open weights Released 2026-06-13
API data Report
Input modalitiesT
Output modalitiesT
Input price$1.4/1M tokens
Output price$4.4/1M tokens
Context window1M
Max output131.072K
Overview

Capabilities and specifications

Reasoning Yes
Tool calling Yes
Structured output Yes
× Attachments No
× Vision input No
Open weights Yes
Creator
Zhipu AI
Model family
glm
Knowledge cutoff
Not documented
License
Not documented
Release date
2026-06-13
Model ID
zhipuai/glm-5.2
Inference availability

Provider pricing and availability

Provider-specific identifiers, limits, and prices per million tokens.

Report a price
Providers offering GLM-5.2
ProviderProvider model IDContextInputOutputCache readCapabilitiesSource
Alibaba Token Plan (China) glm-5.2 1M Not listed Not listed - ReasoningToolsJSON Docs
Kenari glm-5-2 1M Not listed Not listed - ReasoningToolsJSON Docs
Model Oracle AI glm-5.2 1M Not listed Not listed - ReasoningToolsJSON Docs
Ollama Cloud glm-5.2 976K Not listed Not listed - ReasoningToolsJSON Docs
Z.AI Coding Plan glm-5.2 1M Not listed Not listed - ReasoningToolsJSON Docs
Nvidia z-ai/glm-5.2 1M Not listed Not listed - ReasoningToolsJSON Docs
UnoRouter glm-5.2:free 1M Not listed Not listed - ReasoningToolsJSON Docs
Alibaba Token Plan glm-5.2 1M Not listed Not listed - ReasoningToolsJSON Docs
Zhipu AI Coding Plan glm-5.2 1M Not listed Not listed - ReasoningToolsJSON Docs
CrofAI glm-5.2 1M $0.5 $2.2 $0.08 ReasoningToolsJSON Docs
LLM Gateway glm-5.2 1.04858M $0.8 $2.55 $0.16 ReasoningToolsJSON Docs
routing.run glm-5.2 200K $0.8 $2.4 - ReasoningToolsJSON Docs
Vultr zai-org/GLM-5.2-FP8 393.216K $0.85 $3.1 - ReasoningToolsJSON Docs
Deep Infra zai-org/GLM-5.2 1.04858M $0.93 $3 $0.18 ReasoningToolsJSON Docs
OpenRouter z-ai/glm-5.2 1.04858M $0.966 $3.036 $0.179 ReasoningToolsJSON Docs
GMI Cloud zai-org/GLM-5.2-FP8 1M $0.979 $3.08 $0.182 ReasoningToolsJSON Docs
ai& zai-org/glm-5.2 1.04858M $1 $4 - ReasoningToolsJSON Docs
DigitalOcean glm-5.2 1M $1.05 $4.4 $0.21 ReasoningToolsJSON Docs
Ambient z-ai/glm-5.2 101.376K $1.05 $4.4 $0.2 ReasoningToolsJSON Docs
Alibaba (China) glm-5.2 1M $1.1 $3.851 $0.275 ReasoningToolsJSON Docs
AIHubMix glm-5.2 1M $1.127 $3.944 $0.282 ReasoningToolsJSON Docs
Vivgrid glm-5.2 1M $1.2 $4.2 $0.3 ReasoningToolsJSON Docs
CrossModel z-ai/glm-5.2 1M $1.2 $4.4 $0.3 ReasoningToolsJSON Docs
Ambient zai-org/GLM-5.2-FP8 202.752K $1.2 $4.2 $0.26 ReasoningToolsJSON Docs
Wafer GLM-5.2 1.04858M $1.2 $4.1 $0.2 ReasoningToolsJSON Docs
DInference glm-5.2 1M $1.25 $3.89 - ReasoningToolsJSON Docs
GreenPT glm-5.2 1M $1.254 $5.016 - ReasoningToolsJSON Docs
Hugging Face zai-org/GLM-5.2 262.144K $1.4 $4.4 - ReasoningToolsJSON Docs
NovitaAI zai-org/glm-5.2 1.04858M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Zhipu AI glm-5.2 1M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Nebius Token Factory zai-org/GLM-5.2 432K $1.4 $4.4 - ReasoningToolsJSON Docs
OpenCode Go glm-5.2 1M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Subconscious subconscious/glm-5.2 1M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
SiliconFlow (China) zai-org/GLM-5.2 1.049M $1.4 $4.4 - ReasoningToolsJSON Docs
Merge Gateway zai/glm-5.2 1M $1.4 $4.4 - ReasoningToolsJSON Docs
Z.AI glm-5.2 1M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Pioneer zai-org/GLM-5.2 1.04858M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Abacus zai-org/GLM-5.2 1.04858M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
OpenCode Zen glm-5.2 1M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
HPC-AI zai-org/glm-5.2 1.04858M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
SiliconFlow zai-org/GLM-5.2 1.049M $1.4 $4.4 - ReasoningToolsJSON Docs
Friendli zai-org/GLM-5.2 1M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Together AI zai-org/GLM-5.2 262.144K $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Databricks databricks-glm-5-2 1M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Synthetic hf:zai-org/GLM-5.2 524.288K $1.4 $4.4 $1.4 ReasoningToolsJSON Docs
ClinePass cline-pass/glm-5.2 1M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Ofox z-ai/glm-5.2 1M $1.4 $4.4 $0.26 ReasoningToolsJSON Docs
Charm Hyper glm-5.2 1M $1.4 $4.4 $0.28 ReasoningToolsJSON Docs
evroc zai-org/GLM-5.2 1.04858M $1.438 $5.75 - ReasoningToolsJSON Docs
Cortecs glm-5.2 1M $1.44 $4.53 $0.39 ReasoningToolsJSON Docs
Tinfoil glm-5-2 384K $1.5 $5.25 - ReasoningToolsJSON Docs
Berget.AI zai-org/GLM-5.2 524.288K $1.54 $4.84 - ReasoningToolsJSON Docs
UnoRouter glm-5.2 1M $1.6 $5.029 - ReasoningToolsJSON Docs
Scaleway glm-5.2 256K $1.8 $5.5 - ReasoningToolsJSON Docs

Capability badges appear only when the provider catalog explicitly lists support.

Serving quality

Performance and reliability

Observed serving measurements stay separate from model specifications and are never estimated from price or model size.

Throughput Not reported

Generation speed; higher is faster.

Latency / TTFT Not reported

Time until the first output token arrives.

Uptime Not reported

Successful requests over a measured period.

Performance varies by inference provider, region, and load. Provider-level measurements appear only when a source reports them.

Published evaluations

Benchmarks

Raw results remain attached to their original source and version.

Benchmark registry
FrontierSWE - Unversioned - dominanceTop 1 reported models
GLM-5.2
74.4
SWE-Bench Pro - Unversioned - resolve rateTop 8 reported 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 - 2.1 - success rate - Claude CodeTop 1 reported models
GLM-5.2
82.7
Catalog activity

Recent record changes

Detected changes from successful source imports.

Full change log
No recent changes detected

This record has not changed in the retained import history.

Public API

Use this record

Fetch the complete source-linked model record without an API key.

API documentation
Endpoint
GET https://www.modelbench.lol/api/v1/models/zhipuai/glm-5.2
curl
curl "https://www.modelbench.lol/api/v1/models/zhipuai/glm-5.2"