Z.ai: GLM 5.1
🇨🇳 Z.ai (Zhipu) · GLM 5.1
Overview
Z.ai: GLM 5.1 is a large language model API from Z.ai (Zhipu), part of its GLM 5.1 model family. Priced at $0.975 per million input tokens and $4.30 per million output tokens, it occupies the mid-range, balancing capability against running cost. Output tokens cost about 4× as much as input, so prompt-heavy workloads run noticeably cheaper than generation-heavy ones. A large 203K-token context window (≈304 pages of text) lets it take in whole books, large codebases, or lengthy transcripts in a single call. On Artificial Analysis's Intelligence Index it scores 40 (B grade), a useful proxy for its general reasoning strength relative to the other models tracked here. All prices on this page reflect OpenRouter's routed rates and are re-synced automatically every day; confirm against the provider's official pricing before committing to production.
| Dimension | Unit | Price (USD) |
|---|---|---|
| Input | per 1M tokens | $0.975 |
| Output | per 1M tokens | $4.30 |
| Cached Input | per 1M tokens | $0.182 |
- Provider
- Z.ai(智譜) (Z.ai (Zhipu))
- Model Family
- GLM 5.1
- Version String
- z-ai/glm-5.1
- Status
- Active
- Modality
- Text
- Context Window
- 202,752 tokens
- Output Limit
- — tokens
Index Metrics
Cross-domain capability indexes evaluated by Artificial Analysis — Artificial Analysis
Benchmark Scores
Data source: Artificial Analysis
Performance Metrics
Real-world benchmarks, updated every 72 hours by Artificial Analysis — Artificial Analysis
Use Case Analysis
Model strengths, weaknesses, and ideal use cases based on benchmarks and official documentation
Strength
- 8-Hour Continuous Autonomous Execution Can work continuously and autonomously on a single task for up to 8 hours, completing full loop from planning to delivery. Official
- SWE-Bench Pro SOTA Achieves 58.4 on SWE-Bench Pro, surpassing GPT-5.4, Claude Opus 4.6, and Gemini 3.1 Pro. Official
Best For
- Long-Horizon Autonomous Agents Building autonomous agents and long-horizon coding agents requiring sustained execution. Official
- Complex Engineering Optimization Complex engineering optimization tasks with iterative refinement and closed-loop execution. Official
90-Day Price Trend
Input / Output price (USD per 1M tokens)
Past 90 days of records; every price change is shown here
| Date | Dimension | Price (USD) | Source |
|---|---|---|---|
| Output | $4.30 | OpenRouter | |
| Input | $0.975 | OpenRouter | |
| Output | $4.30 | OpenRouter | |
| Input | $0.975 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.490 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.490 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.490 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.490 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter | |
| Output | $3.08 | OpenRouter | |
| Input | $0.980 | OpenRouter | |
| Cached Input | $0.182 | OpenRouter |
Key Insights
Key data points from this page for quick reference and citation.
- Z.ai: GLM 5.1 Input price: $0.975/M tokens
- Z.ai: GLM 5.1 Output price: $4.3/M tokens
- Context window: 202,752 tokens
- Provider: Z.ai (Zhipu)
- Model family: GLM 5.1
- Modalities: Text
- Data source: OpenRouter, updated daily