Skip to content
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • 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

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

35% off

$0.4875 / $1.56per 1M

Context

1M

Released

Jun 16, 2026

Compare
ProvidersPricingPerformanceUptimeBenchmarksAppsActivityFAQExplore

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 Exacto (highest tool-calling accuracy).

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.

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows where this model lands among all models on OpenRouter.

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.

Quick Start

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.

Explore more models

AI Model RankingsRanking
35% off
$0.75$0.4875$2.40$1.56$0.14$0.0911.91s30 tps
98.63%
$0.50$3.15$0.1152.18s16 tps
99.98%
43% off
$1.20$0.684$4.00$2.28$0.20$0.1142.20s56 tps
99.54%
48% off
$1.40$0.735$4.40$2.31$0.26$0.13651.83s50 tps
99.66%
47% off
$1.40$0.742$4.40$2.332$0.26$0.13784.77s23 tps
99.97%
$0.75$2.40$0.170.36s49 tps
99.97%
$0.76$2.42$0.140.68s96 tps
100.00%
45% off
$1.40$0.77$4.40$2.42$0.26$0.1432.07s18 tps
99.29%
$0.94$2.80$0.180.44s75 tps
99.01%
$0.966$3.036$0.19321.12s46 tps
99.98%
25% off
$1.40$1.05$4.40$3.30$0.26$0.1952.29s36 tps
100.00%
$1.10$3.75$0.200.64s55 tps
100.00%
15% off
$1.40$1.19$4.40$3.74$0.26$0.2212.05s52 tps
100.00%
$1.26$3.00$0.221.01s28 tps
99.73%
10% off
$1.40$1.26$4.40$3.96$0.26$0.2341.87s39 tps
--
$1.40$4.40$0.261.44s55 tps
100.00%
$1.40$4.40$0.141.47s49 tps
99.73%
$1.40$4.40$0.140.92s110 tps
99.99%
$1.40$4.40$0.141.89s73 tps
100.00%
$1.40$4.40$0.141.41s53 tps
99.69%
$1.40$4.40$0.261.97s38 tps
100.00%
$1.40$4.40$0.210.61s61 tps
99.42%
$1.40$4.40$0.262.84s51 tps
99.94%
$1.40$4.40$0.260.55s127 tps
100.00%
$1.40$4.40$0.260.40s70 tps
97.95%
$1.40$4.40$0.260.98s59 tps
98.25%
$1.40$4.40$0.261.48s55 tps
100.00%
$1.40$4.40$0.260.36s134 tps
99.31%
$1.54$4.84$0.1540.82s30 tps
--
$2.10$6.60$0.211.24s142 tps
99.61%
$2.10$6.60$0.210.90s87 tps
100.00%
$2.10$6.60$0.211.00s88 tps
99.81%
$2.10$6.60$0.211.08s82 tps
99.71%
$2.31$7.26$0.4621.57s31 tps
100.00%
$0.60$2.00$0.152.36s28 tps
87.12%
$0.72$2.38$0.120.83s93 tps
93.41%
$0.8415$3.137$0.16831.81s23 tps
94.93%

Throughput

142tok/s

P50, best across providers

Latency

0.36s

P50, best provider

AutoExacto Benchmarks
GPQA DiamondTAU-Bench
Fireworks Fast (US)
86.4%--
Reka AI
90.2%76.0%
Wafer Fast
92.2%72.9%
Venice
84.1%78.5%
Baseten Fast
84.6%77.2%
Fireworks Fast
85.0%76.4%
Fireworks
85.5%75.6%
Wafer
83.2%73.8%
Baseten
83.8%70.7%
+30 more providers
Uptime (3d)

100.00%

Availability (3d)

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.90%
Without Routing
90.15%

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 customization options.

1.
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.
4.54Ttokens
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.
1.33Ttokens
3.
Favicon for https://www.gohighlevel.com/
schema-markup-generation
new
774Btokens
4.
Favicon for https://www.gohighlevel.com/
HighLevel
new
462Btokens
5.
Favicon for https://pi.dev/
pi
There are many coding agents, but this one is yours.
254Btokens

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

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

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

GLM 5.2 is served by 29 providers on OpenRouter: DeepInfra, Sail Research, Ambient, Decart, Makora (fp8), StreamLake, NovitaAI, Inceptron and 21 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.