Z.ai: GLM 5.2 (batch)
z-ai/glm-5.2:batch
Model weightsGLM 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.
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).
| $0.347 | $1.068 | $0.117 | -- | -- |
- Input $0.347 / Output $1.068-- tok/s-- uptime
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
GLM 5.2 (batch) — Price history
| $0.00 | $0.00 | 6.6% | 100.0% |
- Effective in $0.00 / Effective out $0.00Token share100.0%
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).
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.
Not enough uptime data to display yet.
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.
| Source | Benchmark | Score |
|---|---|---|
| Artificial Analysis | GLM-5.2 (Max) Coding Index | 68.8 |
| Artificial Analysis | GLM-5.2 (Max) Agentic Index | 38.4 |
| Artificial Analysis | GLM-5.2 (Max) GPQA Diamond | 89.5% |
| Artificial Analysis | GLM-5.2 (Max) HLE | 41.1% |
| Artificial Analysis | GLM-5.2 (Max) IFBench | 73.3% |
| Artificial Analysis | GLM-5.2 (Max) τ²-Bench Telecom | 99.1% |
| Artificial Analysis | GLM-5.2 (Max) AA-LCR | 78.3% |
| Artificial Analysis | GLM-5.2 (Max) τ-Bench Banking | 34.6% |
| Artificial Analysis | GLM-5.2 (Max) GDPval-AA | 44.0% |
| Artificial Analysis | GLM-5.2 (Max) CritPt | 20.9% |
| Artificial Analysis | GLM-5.2 (Max) SciCode | 51.2% |
| Artificial Analysis | GLM-5.2 (Max) Terminal-Bench Hard | 50.8% |
| Artificial Analysis | GLM-5.2 (Max) Terminal-Bench 4.0 | 1.0% |
| Artificial Analysis | GLM-5.2 (Max) Terminal-Bench 2.1 | 77.9% |
| Artificial Analysis | GLM-5.2 (Max) AA-Omniscience Accuracy | 21.1% |
| Artificial Analysis | GLM-5.2 (Max) AA-Omniscience Non-Hallucination Rate | 74.1% |
| Artificial Analysis | GLM-5.2 (Non-reasoning) Coding Index | 46.5 |
| Artificial Analysis | GLM-5.2 (Non-reasoning) GPQA Diamond | 68.6% |
| Artificial Analysis | GLM-5.2 (Non-reasoning) HLE | 9.8% |
| Artificial Analysis | GLM-5.2 (Non-reasoning) AA-LCR | 42.3% |
| Artificial Analysis | GLM-5.2 (Non-reasoning) τ-Bench Banking | 16.7% |
| Artificial Analysis | GLM-5.2 (Non-reasoning) GDPval-AA | 37.6% |
| Artificial Analysis | GLM-5.2 (Non-reasoning) CritPt | 3.1% |
| Artificial Analysis | GLM-5.2 (Non-reasoning) Terminal-Bench 2.1 | 51.7% |
| Design Arena | GLM 5.2 Agents Arena Agenticgamedev Elo | 1153 |
| Design Arena | GLM 5.2 Agents Arena Androidnative Elo | 1170 |
| Design Arena | GLM 5.2 Agents Arena Blender3d Elo | 983 |
| Design Arena | GLM 5.2 Agents Arena Full Stack Elo | 1213 |
| Design Arena | GLM 5.2 Agents Arena Godotgamedev Elo | 1142 |
| Design Arena | GLM 5.2 Agents Arena Htmlslides Elo | 1071 |
| Design Arena | GLM 5.2 Agents Arena Mobile Apps Elo | 1153 |
| Design Arena | GLM 5.2 Agents Arena Pdf Elo | 1242 |
| Design Arena | GLM 5.2 Agents Arena Python-Pptxslides Elo | 1161 |
| Design Arena | GLM 5.2 Agents Arena Spreadsheet Elo | 1011 |
| Design Arena | GLM 5.2 Agents Arena Webapps Elo | 1200 |
| Design Arena | GLM 5.2 Models Arena 3D Elo | 1266 |
| Design Arena | GLM 5.2 Models Arena Asciiart Elo | 1185 |
| Design Arena | GLM 5.2 Models Arena Code Categories Elo | 1277 |
| Design Arena | GLM 5.2 Models Arena Data Visualization Elo | 1282 |
| Design Arena | GLM 5.2 Models Arena Game Development Elo | 1256 |
| Design Arena | GLM 5.2 Models Arena SVG Elo | 1195 |
| Design Arena | GLM 5.2 Models Arena UI Component Elo | 1286 |
| Design Arena | GLM 5.2 Models Arena Website Elo | 1277 |
| Vals AI | GLM 5.2 Code Migration | 37.9% |
| Vals AI | GLM 5.2 CorpFin v2 | 66.1% |
| Vals AI | GLM 5.2 EMB | 61.5% |
| Vals AI | GLM 5.2 Finance Agent (v2) | 49.7% |
| Vals AI | GLM 5.2 GPQA Diamond | 85.6% |
| Vals AI | GLM 5.2 Harvey's Legal Agent Benchmark v1 | 7.1% |
| Vals AI | GLM 5.2 LiveCodeBench | 69.5% |
| Vals AI | GLM 5.2 LegalBench | 84.1% |
| Vals AI | GLM 5.2 Legal Research Bench | 31.3% |
| Vals AI | GLM 5.2 MedCode | 40.8% |
| Vals AI | GLM 5.2 MedScribe | 83.5% |
| Vals AI | GLM 5.2 MMLU Pro | 86.7% |
| Vals AI | GLM 5.2 ProgramBench | 0.5% |
| Vals AI | GLM 5.2 ProofBench v1 | 35.0% |
| Vals AI | GLM 5.2 SkillsBench | 45.1% |
| Vals AI | GLM 5.2 SRE Bench | 0.0% |
| Vals AI | GLM 5.2 SWE-bench | 82.8% |
| Vals AI | GLM 5.2 TaxEval v2 | 73.3% |
| Vals AI | GLM 5.2 Terminal-Bench 2.1 | 67.8% |
| Vals AI | GLM 5.2 Vals Index | 53.1% |
| Vals AI | GLM 5.2 Vibe Code Bench v1.1 | 64.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.
Not enough data for apps using this model yet.
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.
Not currently available through EU in-region routing. In-region routing docs
Frequently asked questions
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.
GLM 5.2 (batch) costs $0.347/M input tokens and $1.068/M output tokens, with separate rates for Cache Read at $0.117/M tokens.
GLM 5.2 (batch) has a 1,048,576 token context window. It supports up to 1,048,576 completion tokens.
Yes. GLM 5.2 (batch) accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
GLM 5.2 (batch) is served by 1 provider on OpenRouter: Morph.
GLM 5.3 FlashX Legal, GLM 5.3 Prime, GLM 5.3 FlashX and 13 more are other text models from Z.ai.
GLM 5.2 (batch) was released on June 16, 2026.