Favicon for z-ai

Z.ai: GLM 5.2

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering, and complex multi-step automation.

Reasoning efforts high and xhigh are supported; xhigh maps to max reasoning. It is particularly strong at coding and tool use across long-running tasks, able to maintain engineering context and follow standards consistently through a full development workflow, from requirements to multi-platform deployment, in a single task.

Modalities
In / out price
$0.0066 / $7.983per 1M
Context
1.0M
Released
Jun 16, 2026

Providers

Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick: Balanced (price + speed), Nitro (fastest), or Floor (cheapest).

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Weighted average

Input
$0.2572/M tokens
Output
$4.013/M tokens
Price history
No effective price data for this selection

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Throughput
183tok/s

P50, best across providers

Latency
0.34s

P50, best provider

AutoExacto benchmarks
GPQA DiamondTAU-BenchDigitalOcean90.5%75.2%Morph85.3%77.2%Wafer (US)89.6%71.6%DeepInfra91.0%68.4%Alibaba Cloud Int. (US)86.8%72.4%Alibaba Cloud Int.87.6%71.4%Wafer88.7%69.8%Alibaba Cloud Int. (Fast)84.0%69.1%
+22 more providers

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Uptime (3d)The model was reachable. Request routed to a provider.
100.00%
Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.
99.81%

Availability over the last 3 days

Last 72 hours
Availability 99.81%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.88%
Without Routing
97.05%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.

Benchmarks

Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.

Benchmark score summary for Z.ai: GLM 5.2 (Artificial Analysis, Design Arena and Vals AI)
SourceBenchmarkScore
Artificial AnalysisGLM-5.2 (Non-reasoning) Coding Index46.5
Artificial AnalysisGLM-5.2 (Non-reasoning) GPQA Diamond68.6%
Artificial AnalysisGLM-5.2 (Non-reasoning) HLE9.8%
Artificial AnalysisGLM-5.2 (Non-reasoning) AA-LCR42.3%
Artificial AnalysisGLM-5.2 (Non-reasoning) τ-Bench Banking16.7%
Artificial AnalysisGLM-5.2 (Non-reasoning) GDPval-AA37.6%
Artificial AnalysisGLM-5.2 (Non-reasoning) CritPt3.1%
Artificial AnalysisGLM-5.2 (Non-reasoning) Terminal-Bench 2.151.7%
Artificial AnalysisGLM-5.2 (Max) Coding Index68.8
Artificial AnalysisGLM-5.2 (Max) Agentic Index38.4
Artificial AnalysisGLM-5.2 (Max) GPQA Diamond89.5%
Artificial AnalysisGLM-5.2 (Max) HLE41.1%
Artificial AnalysisGLM-5.2 (Max) IFBench73.3%
Artificial AnalysisGLM-5.2 (Max) τ²-Bench Telecom99.1%
Artificial AnalysisGLM-5.2 (Max) AA-LCR78.3%
Artificial AnalysisGLM-5.2 (Max) τ-Bench Banking34.6%
Artificial AnalysisGLM-5.2 (Max) GDPval-AA44.1%
Artificial AnalysisGLM-5.2 (Max) CritPt20.9%
Artificial AnalysisGLM-5.2 (Max) SciCode51.2%
Artificial AnalysisGLM-5.2 (Max) Terminal-Bench Hard50.8%
Artificial AnalysisGLM-5.2 (Max) Terminal-Bench 4.01.0%
Artificial AnalysisGLM-5.2 (Max) Terminal-Bench 2.177.9%
Artificial AnalysisGLM-5.2 (Max) AA-Omniscience Accuracy21.1%
Artificial AnalysisGLM-5.2 (Max) AA-Omniscience Non-Hallucination Rate74.1%
Design ArenaGLM 5.2 Agents Arena Agenticgamedev Elo1158
Design ArenaGLM 5.2 Agents Arena Androidnative Elo1169
Design ArenaGLM 5.2 Agents Arena Blender3d Elo983
Design ArenaGLM 5.2 Agents Arena Full Stack Elo1219
Design ArenaGLM 5.2 Agents Arena Godotgamedev Elo1142
Design ArenaGLM 5.2 Agents Arena Htmlslides Elo1068
Design ArenaGLM 5.2 Agents Arena Mobile Apps Elo1155
Design ArenaGLM 5.2 Agents Arena Pdf Elo1243
Design ArenaGLM 5.2 Agents Arena Python-Pptxslides Elo1157
Design ArenaGLM 5.2 Agents Arena Spreadsheet Elo1081
Design ArenaGLM 5.2 Agents Arena Webapps Elo1200
Design ArenaGLM 5.2 Models Arena 3D Elo1265
Design ArenaGLM 5.2 Models Arena Asciiart Elo1186
Design ArenaGLM 5.2 Models Arena Code Categories Elo1276
Design ArenaGLM 5.2 Models Arena Data Visualization Elo1283
Design ArenaGLM 5.2 Models Arena Game Development Elo1256
Design ArenaGLM 5.2 Models Arena SVG Elo1197
Design ArenaGLM 5.2 Models Arena UI Component Elo1287
Design ArenaGLM 5.2 Models Arena Website Elo1277
Vals AIGLM 5.2 Code Migration37.9%
Vals AIGLM 5.2 CorpFin v266.1%
Vals AIGLM 5.2 EMB61.5%
Vals AIGLM 5.2 Finance Agent (v2)49.7%
Vals AIGLM 5.2 GPQA Diamond85.6%
Vals AIGLM 5.2 Harvey's Legal Agent Benchmark v17.1%
Vals AIGLM 5.2 LiveCodeBench69.5%
Vals AIGLM 5.2 LegalBench84.1%
Vals AIGLM 5.2 Legal Research Bench31.3%
Vals AIGLM 5.2 MedCode40.8%
Vals AIGLM 5.2 MedScribe83.5%
Vals AIGLM 5.2 MMLU Pro86.7%
Vals AIGLM 5.2 ProgramBench0.5%
Vals AIGLM 5.2 ProofBench v135.0%
Vals AIGLM 5.2 SkillsBench45.1%
Vals AIGLM 5.2 SRE Bench0.0%
Vals AIGLM 5.2 SWE-bench82.8%
Vals AIGLM 5.2 TaxEval v273.3%
Vals AIGLM 5.2 Terminal-Bench 2.167.8%
Vals AIGLM 5.2 Vals Index53.1%
Vals AIGLM 5.2 Vibe Code Bench v1.164.0%

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

1.
1.4Ttokens
2.
Favicon for https://nousresearch.com
Hermes Agent
213Btokens
3.
Favicon for https://janitorai.com/
Janitor AI
57.6Btokens
4.
Favicon for https://openclaw.ai/
OpenClaw
55.3Btokens
5.
Favicon for https://www.isekai.world/
ISEKAI ZERO
43.5Btokens
Rest of OpenRouter
71.2B
Top 5 Apps
59.8B

Activity

Token volume and request traffic to this model over time.

API

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

Available through EU in-region routing

Z.ai: GLM 5.2 is available through EU in-region routing. Requests sent to eu.openrouter.ai are decrypted in the EU and routed only to shared provider endpoints in Europe (the EU/EEA, the UK, and Switzerland).

Providers in Europe
Inceptron, Mistral
Prices in Europe
  • Inceptron: $1.40/M tokens input, $4.40/M tokens output
  • Mistral: $1.54/M tokens input, $4.84/M tokens output
Base URL
https://eu.openrouter.ai/api/v1
Plan
Requires Business or Enterprise. Self-serve on Business: no contract, no monthly minimum. OpenRouter Business for EU in-region routing

Fails closed: if no shared provider endpoint in Europe is available, the request errors instead of leaving the region. Requests served by your own BYOK key go to your deployment’s region, which you control. In-region routing docs

Frequently asked questions

Explore more models