Skip to content
Alpha
  • Models
  • Rankings
  • Ori

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Ori
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • EU routing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for z-ai

Z.ai: GLM 5.2

z-ai/glm-5.2

Model weights
Compare

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.0324 / $7.152per 1M
Context
1.0M
Released
Jun 16, 2026
Compare
ProvidersPricingPerformanceUptimeAppsActivityFAQExplore

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.

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.

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.

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: $0.99/M tokens input, $2.88/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

Explore more models

AI Model RankingsRanking
Latency / throughput
$0.6200$2.4200$0.14000.76s189 tps
99.82%
$0.0341$7.0000$0.03300.38s173 tps
100.00%
$0.9900$2.8800$0.16000.46s122 tps
99.73%
$0.1900$8.0000$0.18000.42s180 tps
100.00%
$1.4000$4.4000$0.14000.43s166 tps
98.40%
$0.6000$2.0000$0.15001.12s86 tps
99.79%
$1.4000$4.4000$0.26000.29s144 tps
99.97%
Fast
$1.2000$8.0000$0.48000.61s422 tps
99.94%
50% off
$1.40$0.7000$4.40$2.2000$0.26$0.13001.23s82 tps
96.79%
$0.0324$7.1524$0.03241.25s69 tps
100.00%
$0.7000$2.2000$0.10501.18s79 tps
99.96%
$1.4000$4.4000$0.26000.82s122 tps
100.00%
$0.1900$8.0000$0.19001.08s89 tps
100.00%
Fast
$2.1000$6.6000$0.21000.31s130 tps
99.23%
$1.4000$4.4000$0.26000.63s181 tps
100.00%
25% off
$0.75$0.5625$2.40$1.8000$0.14$0.10501.32s80 tps
99.94%
$0.6690$4.4000$0.16700.66s54 tps
98.88%
$1.4000$4.4000$0.26001.49s102 tps
99.97%
$1.4000$4.4000$0.26002.54s73 tps
100.00%
Fast
$2.1000$6.6000$0.21000.43s137 tps
99.45%
54% off
$1.40$0.6496$4.40$2.0420$0.26$0.12062.46s47 tps
100.00%
$1.4000$4.4000$0.14001.20s95 tps
99.51%
56% off
$1.40$0.6131$4.40$1.9270$0.26$0.11391.87s41 tps
100.00%
33% off
$1.40$0.9380$4.40$2.9480$0.26$0.17421.48s47 tps
100.00%
$1.1200$3.5200$0.22401.45s55 tps
100.00%
$1.4000$4.4000$0.26001.83s45 tps
100.00%
$1.4000$4.4000$0.14001.61s64 tps
100.00%
$1.4000$4.4000$0.26001.46s45 tps
100.00%
$0.9660$3.0360$0.19320.80s56 tps
98.84%
Fast
$2.3100$7.2600$0.46200.58s89 tps
94.92%
Fast
$2.2500$7.8800$0.56001.21s74 tps
100.00%
$1.4000$4.4000$0.14001.70s91 tps
100.00%
Not used in Standard routing:Why these endpoints are not used
Flex25% off
$0.60$0.4500$1.92$1.4400$0.112$0.08402.01s52 tps
99.67%
$1.5400$4.8400$0.15400.84s113 tps
100.00%
Throughput
422tok/s

P50, best across providers

Latency
0.29s

P50, best provider

AutoExacto benchmarks
GPQA DiamondTAU-BenchDigitalOcean90.1%75.8%Morph83.5%77.9%DeepInfra91.2%69.5%Wafer (US)88.2%72.2%Alibaba Cloud Int.86.8%73.3%Wafer88.0%71.3%Alibaba Cloud Int. (US)84.7%73.5%Alibaba Cloud Int. (Fast)84.2%70.1%
+25 more providers
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.87%

Availability over the last 3 days

Last 72 hours
Availability 99.87%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.91%
Without Routing
95.97%

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.

1.
Favicon for https://www.gohighlevel.com/
HighLevel
new
1.25Ttokens
2.
Favicon for https://nousresearch.com
Hermes Agent
Hermes Agent is an open-source, self-improving AI agent by Nous Research that runs persistently with memory across sessions, and builds reusable skills from experience. It comes with 40+ built-in tools, including web search, browser automation, and vision, plus scheduled automations and subagents.
264Btokens
3.
Favicon for https://openclaw.ai/
OpenClaw
OpenClaw is an open-source AI agent that connects to your messaging apps and takes real actions on your behalf, from running commands and browsing the web to managing files and sending emails.
67.8Btokens
4.
Favicon for https://claude.ai/apple-touch-icon.png
Claude Code
Claude Code is Anthropic's agentic coding tool that reads your entire codebase, plans and executes changes across files, runs tests, and iterates on failures, all from natural language prompts.
59.1Btokens
5.
Favicon for https://janitorai.com/
Janitor AI
Janitor AI is a chatbot platform where users create and chat with custom AI characters for interactive roleplay, storytelling, and immersive fiction.
58.9Btokens

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 costs $0.0324/M input tokens and $7.152/M output tokens, with separate rates for Cache Read at $0.0324/M tokens.

GLM 5.2 has a 1,048,576 token context window. It supports up to 131,072 completion tokens.

Yes. GLM 5.2 accepts tools for function calling. It also supports structured outputs via a JSON schema in response_format.

GLM 5.2 is served by 25 providers on OpenRouter: Relace, Wafer, Cloudflare, DeepInfra, Ambient, StreamLake, CoreWeave, NovitaAI and 17 more. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.

GLM 5.2 was released on June 16, 2026.