GLM 5 - API Pricing & Benchmarks | OpenRouter
Favicon for z-ai

Z.ai: GLM 5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With advanced agentic planning, deep backend reasoning, and iterative self-correction, GLM-5 moves beyond code generation to full-system construction and autonomous execution.

Modalities
In / out price
40% off
$0.60 / $1.92per 1M
Context
205K
Released
Feb 11, 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.3367/M tokens
Output
$2.352/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
118tok/s

P50, best across providers

Latency
0.65s

P50, best provider

AutoExacto benchmarks
GPQA DiamondTAU-BenchVenice (fp8)89.8%69.7%Amazon Bedrock82.7%74.2%StreamLake81.0%73.4%auto-routing80.6%73.5%GMICloud80.9%73.1%Venice76.6%71.1%
+4 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.
98.74%

Availability over the last 3 days

Last 72 hours
Availability 98.74%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
98.75%
Without Routing
97.18%

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 (Artificial Analysis, Design Arena and Vals AI)
SourceBenchmarkScore
Artificial AnalysisGLM-5 (Reasoning) GPQA Diamond82.0%
Artificial AnalysisGLM-5 (Reasoning) HLE29.3%
Artificial AnalysisGLM-5 (Reasoning) IFBench72.3%
Artificial AnalysisGLM-5 (Reasoning) τ²-Bench Telecom98.2%
Artificial AnalysisGLM-5 (Reasoning) AA-LCR75.7%
Artificial AnalysisGLM-5 (Reasoning) CritPt2.0%
Artificial AnalysisGLM-5 (Reasoning) Terminal-Bench Hard43.2%
Artificial AnalysisGLM-5 (Non-reasoning) GPQA Diamond66.6%
Artificial AnalysisGLM-5 (Non-reasoning) HLE7.6%
Artificial AnalysisGLM-5 (Non-reasoning) IFBench55.2%
Artificial AnalysisGLM-5 (Non-reasoning) τ²-Bench Telecom97.4%
Artificial AnalysisGLM-5 (Non-reasoning) AA-LCR43.7%
Artificial AnalysisGLM-5 (Non-reasoning) CritPt0.0%
Artificial AnalysisGLM-5 (Non-reasoning) Terminal-Bench Hard39.4%
Design ArenaGLM 5 Agents Arena Androidnative Elo1136
Design ArenaGLM 5 Agents Arena Full Stack Elo1097
Design ArenaGLM 5 Agents Arena Godotgamedev Elo1144
Design ArenaGLM 5 Agents Arena Htmlslides Elo1043
Design ArenaGLM 5 Agents Arena Mobile Apps Elo1128
Design ArenaGLM 5 Models Arena 3D Elo1208
Design ArenaGLM 5 Models Arena Asciiart Elo1142
Design ArenaGLM 5 Models Arena Code Categories Elo1236
Design ArenaGLM 5 Models Arena Data Visualization Elo1225
Design ArenaGLM 5 Models Arena Game Development Elo1223
Design ArenaGLM 5 Models Arena SVG Elo1157
Design ArenaGLM 5 Models Arena UI Component Elo1221
Design ArenaGLM 5 Models Arena Website Elo1239
Vals AIGLM 5 AIME91.7%
Vals AIGLM 5 CaseLaw v252.5%
Vals AIGLM 5 CorpFin v262.9%
Vals AIGLM 5 Finance Agent v1.153.2%
Vals AIGLM 5 GPQA Diamond83.3%
Vals AIGLM 5 IOI v122.0%
Vals AIGLM 5 LiveCodeBench81.9%
Vals AIGLM 5 LegalBench84.1%
Vals AIGLM 5 MedQA94.3%
Vals AIGLM 5 MMLU Pro86.0%
Vals AIGLM 5 SWE-bench71.4%
Vals AIGLM 5 TaxEval v270.0%
Vals AIGLM 5 Terminal-Bench 2.049.4%
Vals AIGLM 5 Vals Index55.1%
Vals AIGLM 5 Vibe Code Bench v1.123.4%

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.
Favicon for https://www.isekai.world/
ISEKAI ZERO
47.4Btokens
2.
Favicon for https://janitorai.com/
Janitor AI
13.4Btokens
3.
Favicon for https://openclaw.ai/
OpenClaw
6.17Btokens
4.
Favicon for https://nousresearch.com
Hermes Agent
4.13Btokens
5.
Favicon for https://chub.ai/
Chub AI
2.85Btokens
Top 5 Apps
795M
Rest of OpenRouter
557M

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

Explore more models