whatmodel.sh / GLM-5.1
GLM-5.1
↗ share
+ contribute
GLM-5.1 is an open-weights language model from Z.ai, released April 2026. Its published size is 744B parameters (40B active per token) and a 200k-token context window. Licence: mit.
$ how it compares
The LLMs ranked either side of GLM-5.1, out of 828 with a score, then more from Z.ai.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 79 | 71±2 | api $2.06/M | |||
| 80 | 71±1 | api $3.44/M | |||
| 81 | 71±1 | api $2.15/M +local | |||
| 82 | 71±0 | api $1.09/M +local | |||
| 83 | 71±2 | local | |||
| more from Z.ai | |||||
| 33 | 76±1 | api $2.15/M +local | |||
| 52 | 74±1 | api $0.24/M +local | |||
| 57 | 74±1 | api $2.15/M +local | |||
$ what it's good at
agent tasks▁▁▃▆█▆▅▅▅▄▃▁ #55 of 300 · 26% of its score · 19 tests
Beats Gemini 3.1 Pro (Preview), GPT-5.2, Gemini 3.6 Flash here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Verified +2 | 74.2% ✎ | ▁··▁·▁▂▁▄█▄▁ beats 16/29 | 7.3% |
| Terminal-Bench 2.1 +1 | 59.3% ✎ | █··▄█·▄····▄ beats 5/6 | 2.6% |
| MCP-Atlas (public set) lab +1 | 71.8% ✎ | █··█·██·████ beats 1/7 | 1.8% |
| SWE-bench Multilingual | 74.8% ✎ | ▄··▄▄···▄▄·█ beats 3/6 | 1.7% |
| BrowseComp +1 | 59.4% ✎ | ▄·▄▄···▄··█▄ beats 5/6 | 1.6% |
| Humanity's Last Exam with tools +1 | 50.4% ✎ | ▄····▄·█·▄·▄ beats 4/5 | 1.4% |
| K-BrowseComp-Verified (Korean web-browsing agent questions, pass@1) | 30.7% ✎ | ▃····█··▃█·▃ beats 6/8 | 1.2% |
| SWE-bench Pro (split unspecified) lab | 58.4% ✎ | ▃·▁▁▁▂▂▃█▇▃▁ beats 38/55 | 1.2% |
11 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| τ³-bench +1 | 69.7% ✎ | ▄····▄·█·▄·█ beats 1/6 | 1.2% |
| Toolathlon (Tool Decathlon) lab +1 | 40.7% ✎ | ▂▂▄▂▄▄▆▂█▆██ beats 11/27 | 1.0% |
| Terminal-Bench 2.0 lab | 63.5% ✎ | ▂▂▅▅████▆▂▃▃ beats 28/36 | 1.0% |
| Thinkingbox-bench pass@1 (507 stateful business-workflow agent tasks, N=20) | 33.2% ✎ | ▅··▃·▃·█▃▅██ beats 6/15 | 0.8% |
| Legal Research Bench (agentic, all-pass) | 27.6% ✎ | ▄█··▄▄▄██·▄█ beats 6/12 | 0.6% |
| EEGAgentBench overall (tool-based EEG analysis agents, 6 tasks) | 46.7% ✎ | ▂·▁▁··▇▇█▂·▁ beats 14/25 | 0.5% |
| τ³-bench telecom (tau2-bench ≥ v1.0.1) | 96.9% ✎ | ▄·▄···▄·▄·█▄ beats 3/6 | 0.5% |
| BrowseComp with context management lab | 79.3% ✎ | ▅·▅▃·█▃·█▅·▃ beats 8/14 | 0.5% |
| TerminalWorld-Verified (200 tasks) with Terminus-2 | 57.0% ✎ | ▄··▄·▄·█···▄ beats 3/5 | 0.4% |
| KlinikeBench strict pass@1 (333 interactive clinical encounters, Terminus-2) | 4.8% ✎ | ▁▁·▁▁▁▃▅▃█▅█ beats 5/27 | 0.4% |
| SWE-bench Pro lab | 58.4% ✎ | ▅▃▃·▃·▅▅▅█▃▃ beats 11/15 | 0.3% |
coding▁▁▁▃▆██▇▆▄▃▁ #53 of 458 · 18% of its score · 9 tests
Beats GPT-5.4, DeepSeek V4 Flash Vision (Exp), Gemini 3.1 Pro (Preview) here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Verified +2 | 74.2% ✎ | ▁··▁·▁▂▁▄█▄▁ beats 16/29 | 7.3% |
| Arena WebDev (Code Arena) | 1508.5 ✎ | ▁▂▄▃▅█▄▇▆▄▁▁ beats 71/119 | 3.2% |
| SWE-bench Multilingual | 74.8% ✎ | ▄··▄▄···▄▄·█ beats 3/6 | 1.7% |
| SWE-bench Pro (split unspecified) lab | 58.4% ✎ | ▃·▁▁▁▂▂▃█▇▃▁ beats 38/55 | 1.2% |
| SciCode subproblems | 47.7% ✎ | ▃····▃··█·▃▃ beats 2/6 | 1.1% |
| LiveCodeBench v6 (window unspecified) | 85.7% ✎ | ██···█··████ beats 2/6 | 1.0% |
| SciCode (level unspecified) | 43.8% ✎ | ▄·····▄█▄▄·▄ beats 4/6 | 0.9% |
| LiveCodeBench v6 (Feb–May 2025) | 86.4% ✎ | ▄··█····▄▄·█ beats 5/6 | 0.9% |
1 more test
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Pro lab | 58.4% ✎ | ▅▃▃·▃·▅▅▅█▃▃ beats 11/15 | 0.3% |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #39 of 393 * · 2.3% of its score · 2 tests
Beats GPT-6 Sol, MiMo-V2.6-Flash (309B-A15B), GPT-6 Luna here, though they rank higher overall. Trails MiMo-V2.5-Pro (1T-A42B) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1464.6 ✎ | ▁▁▁▂▃▃▃▆▆▇█▃ beats 334/379 | 1.8% |
| IFEval (aggregation unspecified) | 93.9% ✎ | ▁▁▃▁▂▄▄▆█▃▃▁ beats 136/141 | 0.5% |
math▁▂▃▅▆▅▄█▄▁▁▁ #73 of 398 · 33% of its score · 16 tests
Beats Claude Sonnet 4.6, Claude Opus 4.5, Qwen3.7 Plus here, though they rank higher overall. Trails Granite 4.2 30B, INTELLECT-3, EXAONE 4.5 33B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| FrontierMath tiers 1–3 v2 | 36.8% ✎ | ▂··▁▁▃▄▄█▅▃▃ beats 27/82 | 8.8% |
| MathArena ArXivMath April 2026 (40 problems) | 36.3% ✎ | ▁·····▅██▄·▁ beats 4/20 | 4.1% |
| AIME 2026 +2 | 95.4% ✎ | ▄·▄·▄▄··█··▄ beats 5/6 | 2.8% |
| HMMT February 2026 lab +1 | 82.6% ✎ | ▃▃▂▃·██▆█▅▃▅ beats 21/33 | 2.3% |
| MathArena ArXivMath February 2026 (32 problems) | 39.1% ✎ | ▁▁▁▁█▇▄▃▁▃·▃ beats 11/24 | 2.3% |
| MathArena ArXivMath March 2026 (30 problems) | 49.2% ✎ | █▃▅·█▃▃·▅·▃▃ beats 3/14 | 2.1% |
| IMO-AnswerBench +1 | 86.8% ✎ | ▄····▄·▄▄·█▄ beats 2/6 | 1.9% |
| MathArena ArXivMath January 2026 (23 problems) | 65.2% ✎ | ▂··▄▂▄█▆▆▄▄█ beats 16/23 | 1.6% |
8 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MathArena ArXivMath May 2026 (40 problems) | 52.5% ✎ | ▁··▁▄█▄▁·▃·▁ beats 6/17 | 1.5% |
| MathArena BrokenArXiv April 2026 (61 problems) | 8.2% ✎ | ▂▃▆█▃▃▂▂▂··▂ beats 1/18 | 1.1% |
| MathArena BrokenArXiv May 2026 (50 problems) | 10.0% ✎ | ██·▄▄▄····▄▄ beats 1/8 | 0.8% |
| OTIS mock AIME 2024–2025 | 93.3% ✎ | ▃▃▄▃▃▃▇▇█▃▂▅ beats 156/193 | 0.8% |
| MathArena BrokenArXiv March 2026 (56 problems) | 6.5% ✎ | █·▆█▂·▂▂···▂ beats 2/14 | 0.7% |
| MathArena BrokenArXiv February 2026 (31 problems) | 9.3% ✎ | ▃▂▂▃█▃▂·▃··▂ beats 4/16 | 0.6% |
| HMMT November 2025 lab | 94.0% ✎ | ▁▁····▁▅▃█▇▁ beats 20/23 | 0.6% |
| MathArena ArXivLean March 2026 (41 problems) | 2.4% ✎ | ▂····▃·····█ beats 1/5 | 0.5% |
web search▂▁▂▆▄█▃▃▁▁·▁ #48 of 80 · 5.4% of its score · 5 tests
Beats Gemini 3.1 Pro (Preview), GPT-5.2, Kimi K2.6 here, though they rank higher overall. Trails GPT-4o mini (2024-07-18), Mistral Small 3.1 24B (2503), Llama 4 Scout (109B-A17B) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BrowseComp +1 | 59.4% ✎ | ▄·▄▄···▄··█▄ beats 5/6 | 1.6% |
| Humanity's Last Exam with tools +1 | 50.4% ✎ | ▄····▄·█·▄·▄ beats 4/5 | 1.4% |
| K-BrowseComp-Verified (Korean web-browsing agent questions, pass@1) | 30.7% ✎ | ▃····█··▃█·▃ beats 6/8 | 1.2% |
| Legal Research Bench (agentic, all-pass) | 27.6% ✎ | ▄█··▄▄▄██·▄█ beats 6/12 | 0.6% |
| BrowseComp with context management lab | 79.3% ✎ | ▅·▅▃·█▃·█▅·▃ beats 8/14 | 0.5% |
other tests18 not in a task · 32% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GPQA Diamond +3 | 89.9% ✎ | ▁▁▁▁▂▄▆▄▅▇█▅ beats 173/208 | 8.2% |
| Humanity's Last Exam +3 | 27.2% ✎ | ▄··█▄··▄·▄·▄ beats 2/6 | 5.1% |
| GPQA (subset unspecified) | 86.1% ✎ | ▄█▄▄·▄·····▄ beats 0/6 | 2.9% |
| MMLU-Pro +1 | 85.9% ✎ | ▄·····▄▄▄·▄█ beats 1/6 | 2.5% |
| Global-MMLU-Lite | 90.3% ✎ | ▃······▅··█▃ beats 3/6 | 1.6% |
| NL2Repo lab +1 | 42.7% ✎ | ▂▂·▂▂▄█▆▆▂▄▆ beats 12/21 | 1.3% |
| EQ-Bench 3 (emotional intelligence, judge Elo) | 1309.6 ✎ | ▁·▂▁▄▅▅▃█▄▁▁ beats 51/62 | 1.1% |
| Chess Puzzles (Epoch) | 19.0% ✎ | █▁▁▁▁▂▃▄▂▂▁▁ beats 75/135 | 1.1% |
10 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| WildClawBench | 48.2% ✎ | ▃·▅▅█·▅█▅▃▃▃ beats 13/17 | 1.0% |
| AgentWorldBench (open-ended, overall) | 51.3% ✎ | ▄▄··▄▄·▄█▄██ beats 3/11 | 1.0% |
| MMLU-ProX | 85.8% ✎ | ▄·····▄·▄▄█▄ beats 5/6 | 1.0% |
| IFBench (aggregation unspecified) | 76.3% ✎ | ▃······█▃▃·▃ beats 4/6 | 0.9% |
| IFBench prompt-level (loose) | 76.6% ✎ | ▄▄·▄··▄▄···█ beats 2/6 | 0.8% |
| CritPt +1 | 3.7% ✎ | ▄····▄█···█▄ beats 3/6 | 0.8% |
| MultiChallenge | 63.0% ✎ | ▁··········█ beats 1/6 | 0.8% |
| SimpleQA Verified | 34.0% ✎ | ▁▁▃▂▃▃▆▆█▃▂▅ beats 27/78 | 0.7% |
| Legal Research Bench (single-shot, no tools, all-pass) | 3.1% ✎ | ▃▃█▃·▅···█▃▃ beats 4/12 | 0.6% |
| CyberGym lab | 68.7% ✎ | ▄···▄··▄█▄█▄ beats 2/8 | 0.4% |
$ where to run it
Through an API
api · $2.15/M · $1.4 in / $4.4 out per 1M tokens · 200k context · docs.z.ai ↗ · price sourceStandard base token rate from models.dev. Provider-specific tiers, long-context surcharges, caching and promotions may differ.
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run GLM-5.1 · needs ~446.9 GB · from huggingface.co/unslothchat in the terminal
llama cli -hf unsloth/GLM-5.1-GGUF:UD-Q4_K_XL - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf unsloth/GLM-5.1-GGUF:UD-Q4_K_XL
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run GLM-5.1 · needs ~446.9 GB · from huggingface.co/unsloth
- Or download it in the terminal
lms get https://huggingface.co/unsloth/GLM-5.1-GGUF@UD-Q4_K_XL -y - Then run lms ls to see its name, and lms chat followed by that name
MLX (Mac)
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run GLM-5.1 · needs ~418.6 GB, Mac only · from huggingface.co/catalystsecchat in the terminal
mlx_lm.chat --model catalystsec/GLM-5.1-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model catalystsec/GLM-5.1-4bit
Weights and documentation: huggingface.co/zai-org ↗
$ how the score was worked out · NVIDIA — Nemotron 3 Ultra tec… 21%, Epoch AI — internal evaluatio… 17%, MathArena ArXivMath / BrokenA… 15% and 14 more
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json