GLM 5.1 Thinking
GLM-5.1 with extended thinking enabled. Ranks #1 in open source and #3 globally across SWE-Bench Pro, Terminal-Bench, and NL2Repo (as of April 2026). Excels at long-horizon tasks, running autonomously for up to 8 hours while refining strategies through thousands of iterations. Run at FP8.
- Reasoning
- Tool Calling
- Structured Output
Added Mar 27, 2026
Model weightsPricing
Auto routing · per 1M tokens- Input
- $0.966
- Output
- $3.04
- Cache read
- $0.179
Specifications
- Context window
- 200K
- Max output
- 131.1K
- Parameters
- 744B / 40B
- Total / active
Benchmarks
Benchmarks
Leaderboard results
These leaderboards tested GLM 5.1, another version of this model.
| Benchmark | Score | Rank on NanoGPT |
|---|---|---|
Epoch AI Benchmarking Hub Epoch AI data, CC BY 4.0 · Updated Nov 19, 2026 | ||
Epoch Capabilities Index | 150.7 | #61 of 113 |
FrontierMath v2 (Tiers 1–3) | 36.8% | #62 of 83 |
SWE-bench Verified | 74.2% | #14 of 27 |
GPQA Diamond | 89.9% | #45 of 118 |
SimpleQA Verified | 34.0% | #60 of 83 |
OTIS Mock AIME 2024–2025 | 93.3% | #51 of 120 |
Chess Puzzles | 20.0% | #65 of 82 |
Creative Writing v3 | 1594 | #45 of 91 |
Longform Writing | 73.5 | #31 of 93 |
EQ-Bench 3 | 1539 | #11 of 45 |
UGI Leaderboard UGI Leaderboard data, Apache-2.0 · Updated Oct 16, 2026 | ||
UGI Score | 52.9 | #28 of 125 |
UGI Willingness | 1.2 | #120 of 125 |
UGI Writing | 61.7 | #31 of 125 |
Filtered and ranked to models on NanoGPT.
Providers
Choose or restrict providers with the API. Provider-selection prices include the selection markup. Provider selection guide · Pricing API (JSON, USD per 1K tokens)
| $1.40 | $4.40 | $0.26 | N/A | N/A | |
| $0.966 | $3.04 | $0.179 | N/A | N/A | |
| $0.945 | $3.05 | $0.0945 | N/A | N/A | |
| $1.47$1.01 | $4.62$3.19 | $0.273$0.188 | N/A | N/A | |
| $1.25 | $3.93 | $0.63 | N/A | N/A | |
| $1.34 | $4.22 | N/A | N/A | N/A | |
| $1.40 | $4.39 | $0.259 | N/A | N/A | |
| $1.47 | $4.62 | $0.273 | N/A | N/A |
Batch rows for this model use normal routing and cost the same as standard API requests. Set provider in a row to choose a provider.