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.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of GLM-5.2, out of 897 with a score, then more from Z.ai.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 69 | 72±1 | api $1.50/M | |||
| 70 | 72±1 | api $41.25/M | |||
| 71 | 72±1 | api $2.15/M +local | |||
| 72 | 72±1 | api $0.23/M +local | |||
| 73 | 71±1 | api $1.60/M +local | |||
| more from Z.ai | |||||
| 43 | 74±1 | api $2.15/M +local | |||
| 63 | 72±1 | api $0.24/M +local | |||
| 102 | 69±0 | api $2.15/M +local | |||
$ what it's good at
agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #51 of 319 · 23% of its score · 14 tests
Beats Gemini 3.7 Flash, Gemini 3.1 Pro (Preview), 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.0023 IPS ✎ | ▁▁▁▃▃█▂▁▁▁·▁ beats 28/63 | 6.9% |
| SWE-bench Verified | 78.7% ✎ | ▁··▁·▁▂▁▄█▄▁ beats 26/29 | 4.2% |
| Terminal-Bench 2.1 lab +1 | 81.0% ✎ | ▁·▁·▁▁▄▃▅█▆█ beats 48/68 | 2.1% |
| τ³-bench banking_knowledge (v1.0.1 grading) | 37.1% ✎ | ▃▃▂▃·▆▃▂█▅▅▂ beats 15/25 | 1.5% |
| GameLogicBench solve rate (72 Godot game-logic tasks, Claude Code scaffold) | 37.5% ✎ | █▄·█·▄·██▄·▄ beats 7/11 | 1.5% |
| E2E-SWE (build a working codebase from scratch, 186 tasks) pass@1 | 22.2% ✎ | ▃··▅··▃█▃▅▃▅ beats 1/12 | 1.3% |
| MCP-Atlas (public set) lab | 76.8% ✎ | █··█·██·████ beats 6/7 | 1.3% |
| Humanity's Last Exam with tools lab +1 | 54.7% ✎ | ▁·▁▂▁▂▃▂█▅▄▁ beats 44/64 | 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.6% |
| Agents' Last Exam (metric/harness unspecified) lab | 20.4% ✎ | ▂·▃·█▄▂▂▂▂▄▄ beats 1/15 | 0.4% |
| DeepSWE v1.1 (resolved) lab | 46.2% ✎ | ▂····▃▃▁▄█▆█ beats 5/36 | 0.4% |
| SWE-bench Pro lab | 62.1% ✎ | ▄▂▂▂▄▂▆█·▃·▂ beats 15/16 | 0.3% |
coding▁▁▁▃▆▇█▆▆▃▃▁ #36 of 474 · 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 |
|---|---|---|---|
| SWE-bench Verified | 78.7% ✎ | ▁··▁·▁▂▁▄█▄▁ beats 26/29 | 4.2% |
| Arena WebDev (Code Arena) | 1607.7 ✎ | ▁▂▄▃▇█▅▇▇▅▂▁ beats 100/134 | 4.1% |
| Luau Leetcode fully solved (Torpedo Software) | 74.0% ✎ | ▁▁▁▁·▁▂▃▅▃█▇ beats 25/49 | 1.8% |
| GameLogicBench solve rate (72 Godot game-logic tasks, Claude Code scaffold) | 37.5% ✎ | █▄·█·▄·██▄·▄ beats 7/11 | 1.5% |
| E2E-SWE (build a working codebase from scratch, 186 tasks) pass@1 | 22.2% ✎ | ▃··▅··▃█▃▅▃▅ beats 1/12 | 1.3% |
| DeepSWE v1.1 (resolved) lab | 46.2% ✎ | ▂····▃▃▁▄█▆█ beats 5/36 | 0.4% |
| SWE-bench Pro lab | 62.1% ✎ | ▄▂▂▂▄▂▆█·▃·▂ beats 15/16 | 0.3% |
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #31 of 405 * · 2.3% of its score · 1 test
Beats GPT-6 Astra, Claude Sonnet 5.5, GPT-6 Sol here, though they rank higher overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1475.0 ✎ | ▁▁▁▂▃▂▃▆▆▇█▃ beats 355/388 | 2.3% |
math▁▁▃▅█▆▅█▄▁▁▁ #52 of 440 · 49% of its score · 18 tests
Beats GLM-5.3-Flash, Gemini 3.6 Flash, GPT-5 Pro here, though they rank higher overall. Trails Kimi K2.6, Mistral Large 4 (October 29 weights) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| FrontierMath tiers 1–3 v2 | 59.2% ✎ | ▁··▁▁▂▅▃█▅▄▂ beats 47/91 | 11% |
| FrontierMath tier 4 v2 | 29.3% ✎ | ▁▂▁▁█▅▂▃▁▁▁▁ beats 34/72 | 8.3% |
| MathArena ArXivMath June 2026 (48 problems) | 46.5% ✎ | ▂···▃·▆█▆▅▃▃ beats 3/22 | 5.5% |
| MathArena ArXivMath April 2026 (40 problems) | 47.5% ✎ | ▁·····▅██▄·▁ beats 6/20 | 5.0% |
| MathArena ArXivMath February 2026 (32 problems) | 46.1% ✎ | ▁▁▁▁█▇▄▃▁▃·▃ beats 17/24 | 2.8% |
| MathArena ArXivMath March 2026 (30 problems) | 61.7% ✎ | █▃▅·█▃▃·▅·▃▃ beats 9/14 | 2.2% |
| MathArena ArXivMath May 2026 (40 problems) | 56.7% ✎ | ▁··▁▄█▅▁·▃·▃ beats 9/19 | 1.9% |
| MathArena BrokenArXiv June 2026 (54 problems) | 14.2% ✎ | ▃·█▃█▃·▂···▃ beats 4/18 | 1.7% |
10 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MathArena BrokenArXiv May 2026 (50 problems) | 10.5% ✎ | █·▆··▄▂····▄ beats 2/11 | 1.6% |
| MathArena BrokenArXiv April 2026 (61 problems) | 18.4% ✎ | ▂▂▆█▃▃▂▂▂··▂ beats 4/18 | 1.5% |
| HMMT February 2026 lab | 92.5% ✎ | ▃▃▁▄▇▇▇█▅▃▃▃ beats 33/38 | 1.1% |
| MathArena ArXivLean June 2026 (46 problems) | 8.7% ✎ | ▄····▄▄███·▄ beats 1/9 | 1.1% |
| IMO-AnswerBench lab | 91.0% ✎ | ▁▁·▁▁▁▄▆█▄▃▃ beats 42/45 | 1.0% |
| AIME 2026 lab | 99.2% ✎ | ▁▁▁▂▂▂▆█▇▂·▃ beats 54/54 | 0.9% |
| MathArena BrokenArXiv March 2026 (56 problems) | 12.1% ✎ | █·▆█▂·▂▂···▂ beats 5/14 | 0.9% |
| MathArena BrokenArXiv February 2026 (31 problems) | 10.5% ✎ | ▃▂▂▃█▃▂·▃··▂ beats 5/16 | 0.8% |
| HMMT November 2025 lab | 94.4% ✎ | ▁▁····▁▅▃█▇▁ beats 21/23 | 0.6% |
| OTIS mock AIME 2024–2025 | 86.4% ✎ | ▃▃▄▃▃▃▇▆█▄▃▆ beats 128/207 | 0.5% |
web search▂▁▂▆▅█▄▃▁▁▁▁ #44 of 85 · 2.0% 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 44/64 | 1.3% |
| Legal Research Bench (agentic, all-pass) | 31.2% ✎ | ▄█··▄▄▄██·▄█ beats 9/12 | 0.8% |
other tests15 not in a task · 20% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GPQA Diamond +1 | 91.9% ✎ | ▁▁▁▁▂▃▅▄▄▆█▃ beats 194/221 | 3.8% |
| EBR-bench (Epoch) | 9.5% ✎ | ▃▂▅▆▃█▅▆▃▃▂▃ beats 5/30 | 3.3% |
| Chess Puzzles (Epoch) | 22.0% ✎ | █▁▁▁▁▂▄▂▃▃▂▁ beats 93/157 | 3.2% |
| Mystery Game Puzzles (Epoch) | 15.0% ✎ | █·▂▁▆▆▆▆▅▂▂▁ beats 22/83 | 2.9% |
| SimpleQA Verified | 34.2% ✎ | ▁▂▂▂▅█▄▃▂··▁ beats 31/91 | 1.0% |
| Humanity's Last Exam lab | 40.5% ✎ | ▁▁▁▄▆▇▅█▆▁▂▁ beats 98/115 | 1.0% |
| Legal Research Bench (single-shot, no tools, all-pass) | 3.4% ✎ | ▃▃█▃·▅···█▃▃ beats 5/12 | 0.9% |
| NL2Repo lab | 48.9% ✎ | ▂▂▂·▃▃▅█▃▃▆▃ beats 16/24 | 0.7% |
7 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MirrorCode (Epoch) | 36.7% ✎ | ▁▁▁▄█▅▅▁▁▁▁▁ beats 12/38 | 0.7% |
| RobloxQA v2.0 multiple choice (Torpedo Software) | 89.0% ✎ | ▁▁▃▁█▄▃▃▆▂▂▂ beats 9/49 | 0.7% |
| AutomationBench v1.0.6 lab | 26.2% ✎ | ▂···▂·▃▂··█▆ beats 2/10 | 0.5% |
| CritPt lab | 20.9% ✎ | ▄···▄▄▄▄█▄▄▄ beats 9/9 | 0.4% |
| 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.2% |
$ 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.
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
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 492 GB memory, 467.3 GB download · 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 492 GB memory, 467.3 GB download · 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 441 GB memory, 418.3 GB download, 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
Model repository and documentation: huggingface.co/zai-org ↗
$ how the score was worked out · Epoch AI — internal evaluatio… 37%, MathArena ArXivMath / BrokenA… 25%, LMArena leaderboard dataset 13% 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