glm-5.1Z.AI
- endpoints
- 6
- regions
- 2
- api
- chat
- released
- April 2026
- eu routing
- available
capabilities 4/8
The same weights cost 1.7x more on fireworks ai than on deepinfra inc.. That is what the endpoints table is for.
| # | flags | ||||||
|---|---|---|---|---|---|---|---|
| 1 | Global | 203K | $0.84 | $2.80 | $0.16 | zdr | |
| 2 | Global | 203K | $1.05 | $3.50 | $0.20 | zdr | |
| 3 | Global | 205K | $1.38 | $4.40 | - | zdr | |
| 4 | Global | 202K | $1.40 | $4.40 | $0.26 | zdr | |
| 5 | EU | 200K | $1.40 | $4.40 | $1.40 | zdr | |
| 6 | Global | 200K | $1.40 | $4.40 | $0.26 | zdr |
no measured traffic for this model yet. the endpoints table above carries provider pricing
| eval | Score as a share of 100 | /100 |
|---|---|---|
| τ²-Bench | 97.7 | |
| GPQA Diamond | 86.8 | |
| Coding Index | 55.8 | |
| SciCode | 44.8 | |
| Terminal-Bench Hard | 43.2 | |
| Humanity's Last Exam | 30.1 | |
| Intelligence Index | 26.4 | |
| 7 evals | mean | 55.0 |
Scores from Artificial Analysis and public leaderboards, normalised to 100. Bar colour is the band, not the rank: green 80 and up, blue 55 and up, amber 30 and up. Benchmarks measure narrow skills, so test on your own workload before committing. Released 2026-04-07.
glm-5.1requesty routes this id across every provider serving glm-5.1, picking on price and health and failing over automatically. the id stays valid when a provider changes underneath it
Base url is https://router.requesty.ai/v1 for every id here. One key reaches the whole catalog.
from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1",) response = client.chat.completions.create( model="glm-5.1", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ],) print(response.choices[0].message.content)
Change the base url, use your Requesty key, set the model to any id in the call pane. Existing OpenAI SDK code needs no other edit, and the same key reaches every other model in the catalog, so switching later is a one-parameter change. Browse all models
GLM-5.1 is Z.AI's latest flagship model, meticulously engineered for long-horizon autonomous tasks. Capable of working continuously on a single assignment for up to 8 hours, it autonomously manages the entire workflow—from initial planning and execution to iterative optimization and the delivery of production-grade results. While its general capabilities and coding proficiency are on par with Claude Opus 4.6, GLM-5.1 excels particularly in sustained execution, complex engineering optimization, a
questions 6
Which providers serve glm-5.1?
How much does glm-5.1 cost?
Is glm-5.1 open weights?
What is the context window of glm-5.1?
How do I use glm-5.1 with the OpenAI SDK?
Should I call glm-5.1 by its managed id or a provider id?
more from z.ai 6
| model | context | from /M | providers |
|---|---|---|---|
| glm-5.3-flash | 1.0M | $0.07 | 7 |
| glm-5.3 | 1.0M | $1.20 | 6 |
| glm-5.2-fast | 1M | $2.10 | 1 |
| glm-5.2 | 1.0M | $0.80 | 11 |
| glm-5 | 203K | $1.00 | 2 |
| glm-4.7 | 200K | $0.60 | 1 |
route glm-5.1 through one endpoint
One key for 5 providers on this model and 600+ others. No markup on provider prices, automatic failover, caching built in. Weekly aggregates in the measured pane come from production traffic routed through Requesty, one line per provider on a shared axis. Methodology
