whatmodel.sh / GLM-5.2
GLM-5.2
↗ share
+ contribute
GLM-5.2 is an open-weights language model from Z.ai, released June 2026. Its published size is 753B parameters (40B active per token) and a 1M-token context window. Licence: mit.
$ how it compares
The LLMs ranked either side of GLM-5.2, out of 828 with a score, then more from Z.ai.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 55 | 74±1 | api $0.23/M +local | |||
| 56 | 74±1 | api $1.50/M | |||
| 57 | 74±1 | api $2.15/M +local | |||
| 58 | 74±2 | comparison only | |||
| 59 | 73±1 | api $1.60/M +local | |||
| more from Z.ai | |||||
| 33 | 76±1 | api $2.15/M +local | |||
| 52 | 74±1 | api $0.24/M +local | |||
| 81 | 71±1 | api $2.15/M +local | |||
$ what it's good at
agent tasks▁▁▃▆█▆▅▅▅▄▃▁ #39 of 300 · 23% of its score · 14 tests
Beats Gemini 3.7 Flash, Qwen3.8-Flash-Next, Qwen3.8-Omni-Flash here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Arena Agent (October 2026 aggregate IPS) | 0.0348 IPS ✎ | ▁▁▁▄▂▃▇█▂▂▁▃ beats 30/49 | 4.7% |
| SWE-bench Verified | 78.7% ✎ | ▁··▁·▁▂▁▄█▄▁ beats 26/29 | 4.1% |
| Terminal-Bench 2.1 lab +1 | 81.0% ✎ | ▁·▁·▁▁▄▃▄█▃▇ beats 40/56 | 2.4% |
| GameLogicBench solve rate (72 Godot game-logic tasks, Claude Code scaffold) | 37.5% ✎ | █▄·█·▄·██▄·▄ beats 7/11 | 1.8% |
| E2E-SWE (build a working codebase from scratch, 186 tasks) pass@1 | 22.2% ✎ | ▃··▅··▃█▃▅▃▅ beats 1/12 | 1.6% |
| τ³-bench banking_knowledge (v1.0.1 grading) | 37.1% ✎ | ▃▃▂▃·▆▃▂█▅▅▂ beats 15/25 | 1.6% |
| MCP-Atlas (public set) lab | 76.8% ✎ | █··█·██·████ beats 6/7 | 1.4% |
| Humanity's Last Exam with tools lab +1 | 54.7% ✎ | ▂▂▂▁▄▂▃▆█▇▂▆ beats 38/54 | 1.3% |
6 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Legal Research Bench (agentic, all-pass) | 31.2% ✎ | ▄█··▄▄▄██·▄█ beats 9/12 | 0.8% |
| EEGAgentBench overall (tool-based EEG analysis agents, 6 tasks) | 45.5% ✎ | ▂·▁▁··▇▇█▂·▁ beats 10/25 | 0.7% |
| Toolathlon (Tool Decathlon) lab | 48.2% ✎ | ▂▂▄▂▄▄▆▂█▆██ beats 13/27 | 0.7% |
| Agents' Last Exam (metric/harness unspecified) lab | 20.4% ✎ | ▂·▃·█▂···▂▄▄ beats 1/11 | 0.5% |
| DeepSWE v1.1 (resolved) lab | 46.2% ✎ | ▂····▁▃▁▆██▆ beats 3/28 | 0.5% |
| SWE-bench Pro lab | 62.1% ✎ | ▅▃▃·▃·▅▅▅█▃▃ beats 15/15 | 0.3% |
coding▁▁▁▃▆██▇▆▄▃▁ #26 of 458 · 14% of its score · 7 tests
Beats GPT-5.5, GPT-5.6 Terra, Claude Opus 4.8 here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Arena WebDev (Code Arena) | 1605.0 ✎ | ▁▂▄▃▅█▄▇▆▄▁▁ beats 96/119 | 4.1% |
| SWE-bench Verified | 78.7% ✎ | ▁··▁·▁▂▁▄█▄▁ beats 26/29 | 4.1% |
| GameLogicBench solve rate (72 Godot game-logic tasks, Claude Code scaffold) | 37.5% ✎ | █▄·█·▄·██▄·▄ beats 7/11 | 1.8% |
| Luau Leetcode fully solved (Torpedo Software) | 74.0% ✎ | ▁▁▁▁·▁▂▃▅▃█▇ beats 25/49 | 1.7% |
| E2E-SWE (build a working codebase from scratch, 186 tasks) pass@1 | 22.2% ✎ | ▃··▅··▃█▃▅▃▅ beats 1/12 | 1.6% |
| DeepSWE v1.1 (resolved) lab | 46.2% ✎ | ▂····▁▃▁▆██▆ beats 3/28 | 0.5% |
| SWE-bench Pro lab | 62.1% ✎ | ▅▃▃·▃·▅▅▅█▃▃ beats 15/15 | 0.3% |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #25 of 393 * · 2.3% of its score · 1 test
Beats Claude Sonnet 5.5, GPT-6 Sol, GPT-5.6 Terra here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1475.8 ✎ | ▁▁▁▂▃▃▃▆▆▇█▃ beats 353/379 | 2.3% |
math▁▂▃▅▆▅▄█▄▁▁▁ #42 of 398 · 51% of its score · 18 tests
Beats Grok 4.7, GLM-5.3-Flash, Gemini 3.6 Flash here, though they rank higher overall. Trails Kimi K2.6 here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| FrontierMath tiers 1–3 v2 | 59.2% ✎ | ▂··▁▁▃▄▄█▅▃▃ beats 46/82 | 11% |
| FrontierMath tier 4 v2 | 29.3% ✎ | ▁▂▁▂█▅▂▂▁▁▁▁ beats 33/63 | 7.9% |
| MathArena ArXivMath June 2026 (48 problems) | 46.5% ✎ | ▂···▄·██▆▆▄▂ beats 3/19 | 6.4% |
| MathArena ArXivMath April 2026 (40 problems) | 47.5% ✎ | ▁·····▅██▄·▁ beats 6/20 | 5.3% |
| MathArena ArXivMath February 2026 (32 problems) | 46.1% ✎ | ▁▁▁▁█▇▄▃▁▃·▃ beats 17/24 | 3.0% |
| MathArena ArXivMath March 2026 (30 problems) | 61.7% ✎ | █▃▅·█▃▃·▅·▃▃ beats 9/14 | 2.6% |
| MathArena ArXivMath May 2026 (40 problems) | 56.7% ✎ | ▁··▁▄█▄▁·▃·▁ beats 9/17 | 1.9% |
| MathArena BrokenArXiv April 2026 (61 problems) | 18.4% ✎ | ▂▂▆█▃▃▂▂▂··▂ beats 4/18 | 1.9% |
10 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MathArena BrokenArXiv June 2026 (54 problems) | 14.2% ✎ | ▄··█▂▂▂▆▄··▂ beats 4/14 | 1.4% |
| HMMT February 2026 lab | 92.5% ✎ | ▃▃▂▃·██▆█▅▃▅ beats 30/33 | 1.3% |
| MathArena ArXivLean June 2026 (46 problems) | 8.7% ✎ | ▄····▄▄███·▄ beats 1/9 | 1.2% |
| MathArena BrokenArXiv May 2026 (50 problems) | 10.5% ✎ | ██·▄▄▄····▄▄ beats 2/8 | 1.2% |
| MathArena BrokenArXiv March 2026 (56 problems) | 12.1% ✎ | █·▆█▂·▂▂···▂ beats 5/14 | 1.1% |
| IMO-AnswerBench lab | 91.0% ✎ | ▁▁·▁▁▁▄▅█▄▂▃ beats 39/42 | 1.1% |
| MathArena BrokenArXiv February 2026 (31 problems) | 10.5% ✎ | ▃▂▂▃█▃▂·▃··▂ beats 5/16 | 1.1% |
| AIME 2026 lab | 99.2% ✎ | ▁▁▁▂▁▂▆█▆▂·▃ beats 49/49 | 1.0% |
| HMMT November 2025 lab | 94.4% ✎ | ▁▁····▁▅▃█▇▁ beats 21/23 | 0.7% |
| OTIS mock AIME 2024–2025 | 86.4% ✎ | ▃▃▄▃▃▃▇▇█▃▂▅ beats 128/193 | 0.6% |
web search▂▁▂▆▄█▃▃▁▁·▁ #39 of 80 · 2.1% of its score · 2 tests
Beats Gemini 3.1 Pro (Preview), Qwen3.7 Max, Gemini 3.5 Flash 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 |
|---|---|---|---|
| Humanity's Last Exam with tools lab +1 | 54.7% ✎ | ▂▂▂▁▄▂▃▆█▇▂▆ beats 38/54 | 1.3% |
| Legal Research Bench (agentic, all-pass) | 31.2% ✎ | ▄█··▄▄▄██·▄█ beats 9/12 | 0.8% |
other tests14 not in a task · 18% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GPQA Diamond +1 | 91.9% ✎ | ▁▁▁▁▂▄▆▄▅▇█▅ beats 187/208 | 3.9% |
| EBR-bench (Epoch) | 9.5% ✎ | ▄▂·▆█▂▆▄▆▆·▄ beats 5/23 | 3.7% |
| Mystery Game Puzzles (Epoch) | 15.0% ✎ | █··▂▃▇▄█▂▃▁▁ beats 22/74 | 2.5% |
| Chess Puzzles (Epoch) | 21.0% ✎ | █▁▁▁▁▂▁▄▂▂▁▁ beats 86/135 | 1.8% |
| Humanity's Last Exam lab | 40.5% ✎ | ▁▁▁▃▆▆▇██▆▁▃ beats 90/104 | 1.0% |
| Legal Research Bench (single-shot, no tools, all-pass) | 3.4% ✎ | ▃▃█▃·▅···█▃▃ beats 5/12 | 1.0% |
| SimpleQA Verified | 34.2% ✎ | ▁▁▃▂▃▃▆▆█▃▂▅ beats 28/78 | 0.9% |
| NL2Repo lab | 48.9% ✎ | ▂▂·▂▂▄█▆▆▃▄▆ beats 16/21 | 0.9% |
6 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| AutomationBench v1.0.6 lab | 26.2% ✎ | ▃····▃·▃▃··█ beats 2/6 | 0.7% |
| RobloxQA v2.0 multiple choice (Torpedo Software) | 89.0% ✎ | ▁▁▃▁█▄▃▃▆▂▂▂ beats 9/49 | 0.6% |
| CritPt lab | 20.9% ✎ | ▄···▄▄▄▄█▄▄▄ beats 9/9 | 0.5% |
| WMT25 Terminology Translation (term success rate) | 78.2% ✎ | ▂·▂··▃·▄▂·█▆ beats 2/12 | 0.3% |
| WMT24++ | 78.8% ✎ | █·▃·▅▅▃···▃▃ beats 7/10 | 0.2% |
| WMT26 General MT (GEMBA-ESA, LLM judge) | 76.5% ✎ | ▄·▄▄▄·▄██▄█▄ beats 5/12 | 0.1% |
$ where to run it
Through an API
api · $2.15/M · $1.4 in / $4.4 out per 1M tokens · 1M 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.2 · needs ~452.3 GB · from huggingface.co/unslothchat in the terminal
llama cli -hf unsloth/GLM-5.2-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.2-GGUF:UD-Q4_K_XL
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run GLM-5.2 · needs ~452.3 GB · from huggingface.co/unsloth
- Or download it in the terminal
lms get https://huggingface.co/unsloth/GLM-5.2-GGUF@UD-Q4_K_XL -y - Then run lms ls to see its name, and lms chat followed by that name
MLX (Mac)
version
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run GLM-5.2 · needs ~418.3 GB, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/GLM-5.2-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/GLM-5.2-4bit
Weights and documentation: huggingface.co/zai-org ↗
$ how the score was worked out · Epoch AI — internal evaluatio… 35%, MathArena ArXivMath / BrokenA… 27%, zai-org/GLM-5.2 model card 12% and 9 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