GLM-5
GLM-5 is worth evaluating for coding, rag, and agents when its provider route and context window match the workload.
Use it for
- Teams evaluating coding, rag, and agents
- Workloads that can use a 200k context window
- Buyers comparing 4 tracked provider routes
Do not use it for
- Vision or document-understanding workloads
Cheapest of 7 routes · OpenRouter
About
Flagship open-weight foundation model from Zhipu AI with 744B parameters (40B active per token) in Mixture of Experts architecture. Trained on 28.5T tokens using DeepSeek Sparse Attention on Huawei Ascend hardware. Achieves state-of-the-art performance on coding and agentic benchmarks (SWE-bench Verified: 77.8%). Supports autonomous planning, multi-step tool use, and self-correction.
GLM-5 is an open-source model. The structured metadata tracks a 200k-token context window, reasoning, function calling, tool use, and structured outputs. This page tracks provider routes through Fireworks AI, OpenRouter, Together AI, and 4 more, with the cheapest tracked route listed at $0.6 input and $2.08 output per 1M tokens. Headline tracked benchmarks include SWE-bench Pro 55.1, SWE-bench Verified 77.8, and τ-bench 82.1.
Top use-case fit: coding, agents, and build tasks
Coding
Q/$ C2 relevant benchmarks in the decision map.
RAG
Included by capability and metadata signals in the decision map.
Agents
Q/$ B2 relevant benchmarks in the decision map.
Provider price ladder
Compare all 7Compare API pricing across 4 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| OpenRouter | $0.600 | $2.08 | Serverless |
| Fireworks AI | $1.00 | $3.20 | Serverless |
| GCP Vertex AI | $1.00 | $3.20 | Serverless |
| Novita AI | $1.00 | $3.20 | Serverless |
Capabilities
Benchmark peer barsfor Coding
Benchmark scores(4)
| Benchmark | Score | Version | Source |
|---|---|---|---|
| SWE-bench Pro | 55.1 | — | https://huggingface.co/zai-org/GLM-5.1 |
| SWE-bench Verified | 77.8 | SWE-bench Verified | https://www.swebench.com/verified.html |
| τ-bench | 82.1 | τ-bench | https://taubench.com/ |
| SWE-rebench | 62.8 | pass@1 (best of 5 runs) | https://swe-rebench.com/leaderboard |
Migration checks
No linked migration route is available for this model yet.
Rankings & picks(10)
Comparison and alternatives
Browse all comparisons →Show all 43 popular comparisonssorted by 7-day search impressions
Cheapest of 7 routes · OpenRouter