Favicon for z-ai

Z.ai: GLM 5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on a single task for more than 8 hours, autonomously planning, executing, and improving itself throughout the process, ultimately delivering complete, engineering-grade results.

Modalities
In / out price
36% off
$0.8988 / $2.825per 1M
Context
205K
Released
Apr 7, 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.5051/M tokens
Output
$3.77/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
111tok/s

P50, best across providers

Latency
0.48s

P50, best provider

AutoExacto benchmarks
GPQA DiamondTAU-BenchVenice88.6%75.8%Alibaba Cloud Int.85.4%73.1%StreamLake85.1%73.0%GMICloud77.5%--Z.ai82.7%72.3%
+9 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.63%

Availability over the last 3 days

Last 72 hours
Availability 99.63%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.69%
Without Routing
96.34%

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.1 (Artificial Analysis, Design Arena and Vals AI)
SourceBenchmarkScore
Artificial AnalysisGLM-5.1 (Reasoning) Coding Index55.8
Artificial AnalysisGLM-5.1 (Reasoning) Agentic Index23.9
Artificial AnalysisGLM-5.1 (Reasoning) GPQA Diamond86.8%
Artificial AnalysisGLM-5.1 (Reasoning) HLE30.1%
Artificial AnalysisGLM-5.1 (Reasoning) IFBench76.3%
Artificial AnalysisGLM-5.1 (Reasoning) τ²-Bench Telecom97.7%
Artificial AnalysisGLM-5.1 (Reasoning) AA-LCR73.7%
Artificial AnalysisGLM-5.1 (Reasoning) τ-Bench Banking13.6%
Artificial AnalysisGLM-5.1 (Reasoning) GDPval-AA31.2%
Artificial AnalysisGLM-5.1 (Reasoning) CritPt4.6%
Artificial AnalysisGLM-5.1 (Reasoning) SciCode44.8%
Artificial AnalysisGLM-5.1 (Reasoning) Terminal-Bench Hard43.2%
Artificial AnalysisGLM-5.1 (Reasoning) Terminal-Bench 4.02.0%
Artificial AnalysisGLM-5.1 (Reasoning) Terminal-Bench 2.161.8%
Artificial AnalysisGLM-5.1 (Non-reasoning) GPQA Diamond83.9%
Artificial AnalysisGLM-5.1 (Non-reasoning) HLE27.9%
Artificial AnalysisGLM-5.1 (Non-reasoning) IFBench52.0%
Artificial AnalysisGLM-5.1 (Non-reasoning) τ²-Bench Telecom97.1%
Artificial AnalysisGLM-5.1 (Non-reasoning) AA-LCR53.3%
Artificial AnalysisGLM-5.1 (Non-reasoning) CritPt0.0%
Artificial AnalysisGLM-5.1 (Non-reasoning) Terminal-Bench Hard35.6%
Design ArenaGLM 5.1 Models Arena 3D Elo1231
Design ArenaGLM 5.1 Models Arena Asciiart Elo1140
Design ArenaGLM 5.1 Models Arena Code Categories Elo1260
Design ArenaGLM 5.1 Models Arena Data Visualization Elo1257
Design ArenaGLM 5.1 Models Arena Game Development Elo1255
Design ArenaGLM 5.1 Models Arena SVG Elo1207
Design ArenaGLM 5.1 Models Arena UI Component Elo1258
Design ArenaGLM 5.1 Models Arena Website Elo1261
Design ArenaGLM 5.1 Agents Arena Agenticgamedev Elo1106
Design ArenaGLM 5.1 Agents Arena Agentichtmlslides Elo1205
Design ArenaGLM 5.1 Agents Arena Agenticslides Elo1245
Design ArenaGLM 5.1 Agents Arena Agenticslides(Html) Elo1204
Design ArenaGLM 5.1 Agents Arena Agenticslides(Python-Pptx) Elo1240
Design ArenaGLM 5.1 Agents Arena Androidnative Elo1174
Design ArenaGLM 5.1 Agents Arena Full Stack Elo1139
Design ArenaGLM 5.1 Agents Arena Godotgamedev Elo1036
Design ArenaGLM 5.1 Agents Arena Htmlslides Elo1065
Design ArenaGLM 5.1 Agents Arena Mobile Apps Elo1153
Design ArenaGLM 5.1 Agents Arena Pdf Elo1197
Design ArenaGLM 5.1 Agents Arena Pptxslides Elo1241
Design ArenaGLM 5.1 Agents Arena Python-Pptxslides Elo1258
Design ArenaGLM 5.1 Agents Arena Python-Pptxslides Elo1155
Design ArenaGLM 5.1 Agents Arena Spreadsheet Elo1315
Design ArenaGLM 5.1 Agents Arena Webapps Elo1153
Design ArenaGLM 5.1 Models Arena 3D Elo1336
Design ArenaGLM 5.1 Models Arena Data Visualization Elo1366
Design ArenaGLM 5.1 Models Arena UI Component Elo1292
Design ArenaGLM 5.1 Models Arena Website Elo1290
Vals AIGLM 5.1 AIME91.9%
Vals AIGLM 5.1 CaseLaw v251.6%
Vals AIGLM 5.1 Code Migration25.8%
Vals AIGLM 5.1 CorpFin v264.5%
Vals AIGLM 5.1 Finance Agent (v2)44.8%
Vals AIGLM 5.1 GPQA Diamond84.5%
Vals AIGLM 5.1 Harvey's Legal Agent Benchmark v10.0%
Vals AIGLM 5.1 LiveCodeBench81.4%
Vals AIGLM 5.1 LegalBench84.4%
Vals AIGLM 5.1 Legal Research Bench27.9%
Vals AIGLM 5.1 MedCode41.6%
Vals AIGLM 5.1 MedScribe72.3%
Vals AIGLM 5.1 MMLU Pro86.9%
Vals AIGLM 5.1 ProgramBench0.0%
Vals AIGLM 5.1 ProofBench v122.2%
Vals AIGLM 5.1 Public Benefits Bench v1.161.8%
Vals AIGLM 5.1 SWE-bench76.4%
Vals AIGLM 5.1 TaxEval v271.2%
Vals AIGLM 5.1 Terminal-Bench 2.156.9%
Vals AIGLM 5.1 Vals Index52.5%
Vals AIGLM 5.1 Vibe Code Bench v1.131.5%

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://janitorai.com/
Janitor AI
6.28Btokens
2.
Favicon for https://mira.tg/
Mira
4.79Btokens
3.
Favicon for https://claude.ai/apple-touch-icon.png
Claude Code
3.05Btokens
4.
Favicon for https://nousresearch.com
Hermes Agent
2.29Btokens
5.
Favicon for https://sillytavern.app/
SillyTavern
1.87Btokens
Rest of OpenRouter
1.41B
Top 5 Apps
160M

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