Z.ai (GLM)
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...
Cost / 1M tokens
Medium usage$0.966
input
$0.179
cached input
$3.04
output
Context Window
205K
Up to 128K max output
Modalities
text → text
Other tokenizer
Quickstart & API
z-ai/glm-5.1Best for & Strengths
Key Strengths
Recommended Workloads in ChatOSS
- Coding agents
- Complex reasoning & debugging
- Open-source AI workflows
Verified Evaluations
Benchmarks & Frontier Comparison
How GLM 5.1 compares against leading open-weight and proprietary frontier models across independent agentic coding and reasoning suites.
| Benchmark (Metric) | GLM 5.1 | DeepSeek V4.1 Flash | GLM 5.3 | Kimi K3.1 Pro | Claude Opus 5.5 |
|---|---|---|---|---|---|
| Agentic & Software Engineering | |||||
| ChatOSS Agentic Coding Index (%) | — | 63.2% | 58.3% | 65% | 74.1% |
| SWE-Bench Verified (%) | — | 91.5% | 95.4% | 94.8% | 97% |
| DeepSWE v1.1 (Pass@1 %) | — | 77% | 69% | 73.5% | 74.2% |
| Vibe Code Bench v1.1 (%) | — | 87.7% | 78.1% | 88.4% | 90.3% |
| Terminal-Bench 4.0 (%) | — | 42.3% | 42% | 46.2% | 65.2% |
| Code Migration (%) | — | 45.6% | 44.2% | 52% | 66.7% |
| Intelligence & Token Economics | |||||
| Artificial Analysis Intelligence Index (0–100) | 26.1 | 39.5 | 44.8 | 55.1 | 57.6 |
| Input Price (/ 1M tokens) | $0.966 | $0.15 | $1.40 | $2.00 | $4.00 |
| Output Price (/ 1M tokens) | $3.04 | $0.60 | $4.40 | $10.00 | $20.00 |
Artificial Analysis Intelligence Index
Artificial Analysis
Design Arena: 3D
Design Arena · Rank #12 (62.6% win)
Design Arena: ASCIIART
Design Arena · Rank #48 (44.6% win)
Design Arena: Code Generation
Design Arena · Rank #33 (53% win)
Design Arena: Data Visualization
Design Arena · Rank #3 (67% win)
Active Provider Endpoints (13)
Upstream inference providers serving GLM 5.1, with per-provider pricing, context limits, quantization, and 24-hour uptime.
| Provider | Input / 1M | Output / 1M | Cache Read / 1M | Context | Max Output | Quantization | Uptime (24h) |
|---|---|---|---|---|---|---|---|
Chutescache chutes/fp8 | $0.90 | $2.90 | $0.09 | 203K | 66K | fp8 | 99.6% |
StreamLakecache streamlake/fp8 | $0.966 | $3.04 | $0.179 | 200K | 128K | fp8 | 99.9% |
SiliconFlowcache siliconflow/fp8 | $1.19 | $3.74 | $0.60 | 205K | 131K | fp8 | 100.0% |
Phalacache phala | $1.21 | $4.20 | $0.60 | 203K | 128K | — | 100.0% |
AtlasCloudcache atlas-cloud/fp8 | $1.26 | $3.96 | $0.234 | 203K | 182K | fp8 | 98.6% |
Alibabacache alibaba/fp8 | $1.33 | $4.18 | $0.247 | 203K | 131K | fp8 | 95.0% |
Novitacache novita/fp8 | $1.38 | $4.40 | $0.26 | 205K | 131K | fp8 | 100.0% |
Nebiuscache nebius/fp8 | $1.40 | $4.40 | $0.26 | 203K | 182K | fp8 | 100.0% |
Baiducache baidu/fp8 | $1.40 | $4.40 | $0.26 | 203K | 131K | fp8 | 100.0% |
GMICloudcache gmicloud/fp8 | $1.40 | $4.40 | $0.26 | 203K | 182K | fp8 | 100.0% |
Friendlicache friendli | $1.40 | $4.40 | $0.26 | 203K | 182K | — | 99.8% |
Z.AIcache z-ai/fp8 | $1.40 | $4.40 | $0.26 | 203K | 131K | fp8 | 99.4% |
Venicecache venice/fp8 | $1.40 | $4.40 | $0.26 | 200K | 80K | fp8 | 100.0% |
Supported API Parameters
Parameters accepted by this model when called through ChatOSS or OpenRouter.
Compare Similar Models
Browse all models →Z.ai (GLM)
GLM 5.3 Prime
GLM-5.3-Prime is the high-speed variant of Z.ai's GLM-5.3, inheriting its full capabilities while delivering 1.5–2× the output throughput through inference acceleration. It supports text input and output with a 1M-token...
Z.ai (GLM)
GLM 5.3 FlashX
GLM-5.3-FlashX is the high-speed variant of Z.ai's GLM-5.3-Flash, a native multimodal model delivering inference speeds of up to 200 tokens/s. Built on the same hybrid sparse and linear attention architecture...
Z.ai (GLM)
GLM 5.3 Flash
GLM-5.3-Flash is a native multimodal model from Z.ai. It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while...
Z.ai (GLM)
GLM 5.3
GLM-5.3 is a large-scale reasoning model from Z.ai, built for complex software engineering and long-horizon agent tasks. It supports text input and output with a 1M-token context window, and improves...
Anthropic
Claude Opus 5.5
Claude Opus 5.5 is Anthropic's flagship model for demanding reasoning, coding, and long-horizon agentic work, succeeding Claude Opus 5. It is particularly strong at multi-step changes in large codebases, code...
Moonshot AI
Kimi K3.1 Pro
Kimi K3.1 Pro is Moonshot AI's flagship open-weight multimodal reasoning model and a post-trained successor to Kimi K3, with a 1M-token context window. It is built for long-horizon coding, 3D...