Z.ai · Released Feb 11, 2026
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…
- Top 40%Terminal-Bench
- Top 41%GPQA Diamond
- Released
- Feb 11 2026
- Context window
- 205K 131K out
- Input / 1M tokens
- $1.00 from Free
- Output / 1M tokens
- $3.20 from Free
Where to run it
50 providers compared
Free to try on OpenCode — free endpoints are often limited-time and rate-limited. Included in Alibaba Coding Plan (China), Tencent Coding Plan (China), SCNet Token Plan, Alibaba Token Plan, Alibaba Coding Plan +1 more. Cheapest: Vultr at $0.40 / $1.75 per 1M input / output tokens — 56% less than the priciest option.
| Provider | Input | Output | Cache read | Context | Max output | Uptime | vs. best |
|---|---|---|---|---|---|---|---|
| OpenCodefree · may be limited-time | Free | Free | Free | 205K | 131K | — | Free |
| Alibaba Coding Plan (China)subscription plan | Plan | Plan | Plan | 203K | 16K | — | Plan |
| Tencent Coding Plan (China)subscription plan | Plan | Plan | Plan | 203K | 16K | — | Plan |
| SCNet Token Plansubscription plan | Plan | Plan | Plan | 205K | 131K | — | Plan |
| Alibaba Token Plansubscription plan | Plan | Plan | Plan | 203K | 16K | — | Plan |
| Alibaba Coding Plansubscription plan | Plan | Plan | Plan | 203K | 16K | — | Plan |
| Alibaba Token Plan (China)subscription plan | Plan | Plan | Plan | 203K | 16K | — | Plan |
| Vultr | $0.40 | $1.75 | — | 203K | 131K | — | Cheapest |
| NanoGPT | $0.60 | $1.90 | $0.10 | 200K | 128K | — | +25% |
| StreamLakeFP8 | $0.60 | $1.92 | $0.12 | 198K | 128K | 100%24h | +26% |
| GMICloudFP8 | $0.60 | $1.92 | $0.12 | 203K | 182K | 99.9%24h | +26% |
| FastRouter | $0.60 | $2.08 | $0.12 | 205K | 131K | — | +32% |
| Deep Infra | $0.60 | $2.08 | $0.12 | 203K | 16K | — | +32% |
| DevPass (LLM Gateway) | $0.57 | $2.58 | $0.14 | 203K | 131K | — | +46% |
| Alibaba (China) | $0.57 | $2.58 | — | 203K | 16K | — | +46% |
| BaiduFP8 | $0.70 | $2.24 | $0.14 | 203K | 131K | 100%24h | +47% |
| ZenMux | $0.58 | $2.60 | $0.14 | 200K | 128K | — | +47% |
| Qiniu | $0.58 | $2.61 | — | 200K | 128K | — | +47% |
| 302.AI | $0.60 | $2.60 | — | 205K | 131K | — | +49% |
| Zhipu AI | $0.60 | $2.69 | $0.15 | 205K | 131K | — | +52% |
| DInference | $0.75 | $2.40 | — | 200K | 128K | — | +58% |
| CrossModel | $0.60 | $3.00 | $0.16 | 200K | 128K | — | +63% |
| Meganova | $0.80 | $2.56 | $0.20 | 203K | 131K | — | +68% |
| SiliconFlowFP8 | $0.95 | $2.55 | $0.20 | 205K | 131K | 99.8%24h | +83% |
| TokenGo | $0.89 | $3.27 | $0.22 | 205K | 131K | — | +101% |
| Baseten | $0.95 | $3.15 | $0.20 | 203K | 203K | — | +103% |
| Amazon Bedrock | $1.00 | $3.20 | — | 203K | 131K | 100%24h | +110% |
| NovitaFP8 | $1.00 | $3.20 | $0.20 | 203K | 131K | 100%24h | +110% |
| Z.AIFP8 | $1.00 | $3.20 | $0.20 | 203K | 131K | 99.7%24h | +110% |
| VeniceFP8 | $1.00 | $3.20 | $0.20 | 198K | 32K | 99%24h | +110% |
| Venice AI | $1.00 | $3.20 | $0.20 | 198K | 32K | — | +110% |
| Kilo Gateway | $1.00 | $3.20 | $0.20 | 203K | 131K | — | +110% |
| Vercel AI Gateway | $1.00 | $3.20 | — | 203K | 131K | — | +110% |
| LLM Gateway | $1.00 | $3.20 | $0.20 | 203K | 131K | — | +110% |
| Together AI | $1.00 | $3.20 | — | 203K | 131K | — | +110% |
| DigitalOcean | $1.00 | $3.20 | $0.20 | 64K | 64K | — | +110% |
| Novita AI | $1.00 | $3.20 | $0.20 | 203K | 131K | — | +110% |
| Vertex | $1.00 | $3.20 | $0.10 | 200K | 128K | — | +110% |
| SiliconFlow (China) | $1.00 | $3.20 | — | 205K | 205K | — | +110% |
| Abacus | $1.00 | $3.20 | — | 205K | 131K | — | +110% |
| Tempr Gateway | $1.00 | $3.20 | $0.20 | 205K | 131K | — | +110% |
| Hugging Face | $1.00 | $3.20 | $0.20 | 203K | 131K | — | +110% |
| Poe | $1.00 | $3.20 | $0.20 | 205K | 131K | — | +110% |
| Merge Gateway | $1.00 | $3.20 | $0.20 | 200K | 131K | — | +110% |
| Ofox | $1.00 | $3.20 | $0.20 | 205K | 131K | — | +110% |
| Impossibl | $1.00 | $3.20 | $0.20 | 205K | 131K | — | +110% |
| OrcaRouter | $1.00 | $3.20 | $0.26 | 205K | 131K | — | +110% |
| OpenCode | $1.00 | $3.20 | $0.20 | 205K | 131K | — | +110% |
| TensorX | $1.00 | $3.20 | $0.25 | 203K | 203K | — | +110% |
| Eden AI | $1.00 | $3.20 | $0.20 | 203K | 131K | — | +110% |
| Melious | $1.10 | $3.36 | $0.27 | 203K | 131K | — | +126% |
Value
Price vs. performance
GLM 5 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
9 benchmark scores
| Benchmark | Score | Rank | Leader |
|---|---|---|---|
| SWE-bench VerifiedSoftware engineering · Real GitHub issues fixed in Python repos | 72.1% | #20of 32 | Claude Opus 4.783.5% |
| Terminal-BenchSoftware engineering · Tasks completed with the programs in a real terminal (best agent) | 52.4% | #16of 40 | GPT-5.584.7% |
| Vending-Bench 2Agents & computer use · Run a simulated vending business for a year (final balance) | $4,432 | #33of 61 | GPT-6 Astra$15,515 |
| WebDev ArenaDesign & visual · People vote on which model builds the better website (Elo) | 1436 | #58of 90 | Claude Opus 5.51820 |
| GPQA DiamondReasoning & knowledge · PhD-level biology, chemistry and physics questions | 87.8% | #50of 122 | Gemini 4 Argon96.4% |
| ARC-AGI-2Reasoning & knowledge · Few-shot abstract reasoning on grid puzzles | 4.9% | #55of 75 | GPT-6 Astra95.0% |
| ARC-AGI-1Reasoning & knowledge · Pattern induction from input–output examples | 44.7% | #61of 75 | Gemini 4 Argon98.5% |
| SimpleBenchReasoning & knowledge · Common-sense trick questions about space, time and people | 53.2% | #30of 58 | Claude Fable 581.9% |
| OTIS Mock AIMEMaths · Competition-style problems harder than MATH Level 5 | 80.0% | #73of 120 | Gemini 4 Argon100.0% |
Specs
Details
- Model ID
z-ai/glm-5- Developer
- Z.ai
- Release date
- Feb 11, 2026 ·
- Context window
- 204,800 tokens
- Max output
- 131,072 tokens
- API price
- $1.00 / $3.20 per 1M input / output tokens
- Providers
- 50
- Input types
- text
- Reasoning
- Yes
- Tool calling
- Yes
- Open weights
- Yes
- Free tier
- No
Release date and prices from OpenRouter's catalog; providers from OpenRouter and models.dev. Buying directly from a provider can cost a little differently. Speed, latency and uptime are measured on OpenRouter only; 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.