Z.ai · Released Apr 7, 2026
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...
- Top 40%Vending-Bench 2
- Top 44%GPQA Diamond
- Top 49%OTIS Mock AIME
- Released
- Apr 7 2026
- Context window
- 205K 128K out
- Input / 1M tokens
- $0.97
- Output / 1M tokens
- $3.04
Where to run it
13 providers compared
Cheapest: StreamLake at $0.97 / $3.04 per 1M input / output tokens — 31% less than the priciest option.
| Provider | Input | Output | Cache read | Context | Max output | Uptime | vs. best |
|---|---|---|---|---|---|---|---|
| StreamLakeFP8 | $0.97 | $3.04 | $0.18 | 200K | 128K | 99.5%24h | Cheapest |
| ChutesFP8 | $0.98 | $3.08 | $0.098 | 203K | 66K | 75%24h | +1% |
| SiliconFlowFP8 | $1.19 | $3.74 | $0.60 | 205K | 131K | 99.8%24h | +23% |
| AtlasCloudFP8 | $1.26 | $3.96 | $0.23 | 203K | 182K | 100%24h | +30% |
| Phala | $1.21 | $4.20 | $0.60 | 203K | 128K | 73.9%24h | +32% |
| AlibabaFP8 | $1.33 | $4.18 | $0.25 | 203K | 131K | 91.6%24h | +38% |
| NovitaFP8 | $1.38 | $4.40 | $0.26 | 205K | 131K | 100%24h | +44% |
| NebiusFP8 | $1.40 | $4.40 | — | 203K | 182K | 100%24h | +45% |
| GMICloudFP8 · no tool calling | $1.40 | $4.40 | $0.26 | 203K | 182K | 100%24h | +45% |
| Z.AIFP8 | $1.40 | $4.40 | $0.26 | 203K | 131K | 100%24h | +45% |
| BaiduFP8 | $1.40 | $4.40 | $0.26 | 203K | 131K | 99.9%24h | +45% |
| Friendli | $1.40 | $4.40 | $0.26 | 203K | 182K | 99.9%24h | +45% |
| VeniceFP8 | $1.40 | $4.40 | $0.26 | 200K | 80K | 25%24h | +45% |
Value
Price vs. performance
GLM 5.1 Other Z.ai Other labs Value frontier · GPQA Diamond vs. input price per 1M tokens (log scale) · Drag to pan, pinch or Ctrl + scroll to zoom, double-click to zoom in.
Benchmarks
15 benchmark scores
| Benchmark | Score | Rank | Leader |
|---|---|---|---|
| SWE-bench VerifiedSoftware engineering · Real GitHub issues fixed in Python repos | 74.2% | #15of 26 | Claude Opus 4.783.5% |
| GBAEvalSoftware engineering · Build a Game Boy Advance emulator from scratch | 0.0% | #22of 23 | Claude Opus 579.6% |
| SciCodeSoftware engineering · Research-coding problems from the natural sciences | 44.8% | #65of 93 | Claude Opus 5.566.9% |
| APEX-AgentsAgents & computer use · Long professional tasks in banking, consulting and law | 40.9% | #39of 51 | Gemini 4 Argon82.4% |
| Vending-Bench 2Agents & computer use · Run a simulated vending business for a year (final balance) | $5,634 | #24of 61 | GPT-6 Astra$15,515 |
| SimpleQA VerifiedWriting & content · Factual accuracy on 1,000 short questions | 34.0% | #50of 66 | Gemini 4 Argon76.0% |
| WebDev ArenaDesign & visual · People vote on which model builds the better website (Elo) | 1508 | #45of 88 | Claude Opus 5.51820 |
| ExploitBenchCybersecurity · Exploit real, hardened security vulnerabilities | 18.1% | #6of 8 | GPT-5.547.4% |
| GPQA DiamondReasoning & knowledge · PhD-level biology, chemistry and physics questions | 89.9% | #40of 92 | Gemini 4 Argon96.4% |
| SimpleBenchReasoning & knowledge · Common-sense trick questions about space, time and people | 55.1% | #28of 43 | Claude Fable 581.9% |
| CritPtReasoning & knowledge · Open-ended, research-level physics problems | 4.6% | #59of 96 | GPT-5.6 Sol32.3% |
| Chess PuzzlesReasoning & knowledge · Find the single best move in 100 new puzzles | 20.0% | #60of 70 | GPT-6 Astra76.0% |
| FrontierMathMaths · Expert-written problems, undergrad to early research (tiers 1–3) | 36.8% | #57of 72 | GPT-6.1 Sol93.7% |
| ProofBenchMaths · Graduate maths proofs verified in Lean 4 | 22.2% | #49of 70 | Claude Sonnet 5.5100.0% |
| OTIS Mock AIMEMaths · Competition-style problems harder than MATH Level 5 | 93.3% | #44of 90 | Gemini 4 Argon100.0% |
Specs
Details
- Model ID
z-ai/glm-5.1- Developer
- Z.ai
- Release date
- Apr 7, 2026 ·
- Context window
- 204,800 tokens
- Max output
- 128,000 tokens
- API price
- $0.97 / $3.04 per 1M input / output tokens
- Providers
- 13
- Input types
- text
- Reasoning
- Yes
- Tool calling
- Yes
- Open weights
- Yes
- Free tier
- No
Release date, prices and providers from OpenRouter's catalog; buying directly from a provider can cost a little differently. Uptime is the share of OpenRouter requests each provider served over the last day. Benchmark scores are the best result per benchmark from Epoch AI, licensed CC BY 4.0. Rank counts every model tracked here with a score.