whatmodel.sh / GLM-4.7
GLM-4.7
↗ share
+ contribute
GLM-4.7 is an open-weights language model from Z.ai, released December 2025. Its published size is 357B parameters (32B active per token) and a 205k-token context window. Licence: mit.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of GLM-4.7, out of 897 with a score, then more from Z.ai.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 121 | 68±1 | api $0.46/M | |||
| 122 | 67±1 | api $1.10/M +local | |||
| 123 | 67±1 | api $1.00/M +local | |||
| 124 | 67±1 | comparison only | |||
| 125 | 67±1 | api $1.73/M +local | |||
| more from Z.ai | |||||
| 43 | 74±1 | api $2.15/M +local | |||
| 63 | 72±1 | api $0.24/M +local | |||
| 71 | 72±1 | api $2.15/M +local | |||
$ what it's good at
agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #107 of 319 · 34% of its score · 11 tests
Beats Grok 4.20 (0309 reasoning), o3-pro, Grok 4.3 here, though they rank higher overall. Trails Nova 2 Pro (Preview), Hy3 preview (295B-A21B), MiniMax-M2.7 here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MCP-Atlas (public set) lab +1 | 52.0% ✎ | ▄······▄▄▄▄█ beats 0/6 | 5.6% |
| SWE-bench Verified lab +1 | 73.8% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 99/140 | 5.1% |
| Terminal-Bench 2.0 lab +1 | 41.0% ✎ | ▁▁▄▄▇█▇█▅▁▃▃ beats 14/38 | 3.6% |
| BrowseComp-ZH lab +1 | 66.6% ✎ | ▁▁▁▁▁▃·▁▄▅▄█ beats 18/23 | 3.4% |
| SWE-bench Multilingual lab +1 | 66.7% ✎ | ▁··▂▂▃▆█▃▂▁▁ beats 30/69 | 3.3% |
| τ²-bench aggregate lab +1 | 87.4% ✎ | ▁▁▁·▁▁▃▃▃▄█▁ beats 36/39 | 3.1% |
| Terminal-Bench Hard lab | 33.3% ✎ | ▂▅▆▂▂▆▂▂█▅▅▂ beats 22/27 | 2.6% |
| BrowseComp lab +1 | 52.0% ✎ | ▁·▃▁▁▂▆▄█▃▂▄ beats 21/48 | 2.5% |
3 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Humanity's Last Exam with tools lab +1 | 42.8% ✎ | ▁·▁▂▁▂▃▃█▅▄▁ beats 24/64 | 2.3% |
| BrowseComp with context management lab +1 | 67.5% ✎ | ▄·▄▂·█▂·▆▄·▂ beats 3/15 | 1.9% |
| Toolathlon (Tool Decathlon) lab | 23.8% ✎ | ▂▃▄▂▄▄▆▂█▆██ beats 1/27 | 0.9% |
coding▁▁▁▃▆▇█▆▆▃▃▁ #85 of 474 · 18% of its score · 4 tests
Beats GPT-5.2, GPT-5, Grok 4.20 (0309 reasoning) here, though they rank higher overall. Trails Llama 3.1 Nemotron Ultra 253B v1 here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Arena WebDev (Code Arena) | 1434.7 ✎ | ▁▂▄▃▇█▅▇▇▅▂▁ beats 55/134 | 7.8% |
| SWE-bench Verified lab +1 | 73.8% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 99/140 | 5.1% |
| SWE-bench Multilingual lab +1 | 66.7% ✎ | ▁··▂▂▃▆█▃▂▁▁ beats 30/69 | 3.3% |
| LiveCodeBench v6 (window unspecified) lab | 84.9% ✎ | ▂▃▄▄▅██▆▄▇▄▆ beats 52/67 | 1.9% |
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #68 of 405 * · 4.3% of its score · 1 test
Beats Claude Haiku 5.5, Inkling 2 Small (594B-A17B), GPT-5.2 here, though they rank higher overall. Trails Nemotron Cascade 2 30B-A3B, Gemma 4 31B, Gemini 2.5 Pro here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1441.4 ✎ | ▁▁▁▂▃▂▃▆▆▇█▃ beats 305/388 | 4.3% |
math▁▁▃▅█▆▅█▄▁▁▁ #78 of 440 · 15% of its score · 7 tests
Beats Claude Sonnet 4.6, Qwen3.7 Plus, Claude Opus 4.5 here, though they rank higher overall. Trails INTELLECT-3, GPT-5 mini, Qwen3-Coder-Next (80B-A3B) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| IMO-AnswerBench lab +1 | 82.0% ✎ | ▁▁·▁▁▁▄▆█▄▃▃ beats 29/45 | 4.2% |
| HMMT February 2025 lab +1 | 97.1% ✎ | ▁▁▁▃▁▅▅▃██▃▄ beats 28/31 | 3.1% |
| AIME 2025 lab | 95.7% ✎ | ▁·▁▁▁▃▅▇█▆▃▁ beats 130/134 | 2.8% |
| OTIS mock AIME 2024–2025 | 83.3% ✎ | ▃▃▄▃▃▃▇▆█▄▃▆ beats 120/207 | 2.1% |
| HMMT November 2025 lab +1 | 93.5% ✎ | ▁▁····▁▅▃█▇▁ beats 18/23 | 2.1% |
| FormalProofBench (200 graduate-level Lean 4 problems, agentic) | 4.5% ✎ | ▃▅·▃··▅▃█··▃ beats 2/10 | 0.7% |
| AIME 2026 I lab | 92.9% ✎ | █··········█ beats 1/1 | — |
web search▂▁▂▆▅█▄▃▁▁▁▁ #74 of 85 · 10% of its score · 4 tests
Beats DeepSeek V4 Flash (Preview, Apr 2026), Nemotron 3 Ultra 550B-A55B here, though they rank higher overall. Trails GPT-4.1 nano, GPT-4o mini (2024-07-18), Mistral Small 3.1 24B (2503) here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BrowseComp-ZH lab +1 | 66.6% ✎ | ▁▁▁▁▁▃·▁▄▅▄█ beats 18/23 | 3.4% |
| BrowseComp lab +1 | 52.0% ✎ | ▁·▃▁▁▂▆▄█▃▂▄ beats 21/48 | 2.5% |
| Humanity's Last Exam with tools lab +1 | 42.8% ✎ | ▁·▁▂▁▂▃▃█▅▄▁ beats 24/64 | 2.3% |
| BrowseComp with context management lab +1 | 67.5% ✎ | ▄·▄▂·█▂·▆▄·▂ beats 3/15 | 1.9% |
other tests13 not in a task · 37% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GPQA Diamond +2 | 83.3% ✎ | ▁▁▁▁▂▃▅▄▄▆█▃ beats 137/221 | 13% |
| Chess Puzzles (Epoch) | 21.0% ✎ | █▁▁▁▁▂▄▂▃▃▂▁ beats 90/157 | 3.9% |
| Humanity's Last Exam lab +1 | 24.8% ✎ | ▁▁▁▄▆▇▅█▆▁▂▁ beats 62/115 | 3.6% |
| Medmarks-V weighted mean win rate (61 models, 71 configurations) | 62.0% ✎ | ▂▃▅▂▆▃█▅█▅▃▆ beats 31/34 | 3.5% |
| EQ-Bench 3 (emotional intelligence, judge Elo) | 1271.3 ✎ | ▁·▂▁▄▅▅▃█▄▁▁ beats 39/62 | 2.8% |
| LongBench v2 lab | 59.1% ✎ | ▂·▁·▂▂▂▃▃▃█▃ beats 24/35 | 1.8% |
| RPC-Bench overall, text input (Z.ai) lab | 28.8% ✎ | ▄··▄▄·▄▄█·▄▄ beats 3/8 | 1.8% |
| SimpleQA Verified | 32.2% ✎ | ▁▂▂▂▅█▄▃▂··▁ beats 25/91 | 1.8% |
5 more tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| ResearchRubrics | 62.0% ✎ | ███··██·█··█ beats 5/6 | 1.8% |
| MMLU-Pro lab | 84.3% ✎ | ▁▁·▁▁▁▃▂▄▅█▁ beats 164/189 | 1.6% |
| GAIA (no-file subset) | 61.9% ✎ | ▃▃····█▃···▃ beats 0/6 | 0.8% |
| CyberGym lab | 23.5% ✎ | ▄···▄··▄█▄█▄ beats 0/8 | 0.8% |
| Vectara hallucination leaderboard (HHEM-2.3, factual consistency rate) | 88.3% ✎ | ▁▂▁▂▅█▂▃▃▃▁▁ beats 30/100 | 0.0% |
$ where to run it
Through an API
api · $1.00/M · $0.6 in / $2.2 out per 1M tokens · 205k 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-4.7 · needs 216 GB memory, 204.6 GB download · from huggingface.co/unslothchat in the terminal
llama cli -hf unsloth/GLM-4.7-GGUF:UD-Q4_K_XL - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf unsloth/GLM-4.7-GGUF:UD-Q4_K_XL
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run GLM-4.7 · needs 216 GB memory, 204.6 GB download · from huggingface.co/unsloth
- Or download it in the terminal
lms get https://huggingface.co/unsloth/GLM-4.7-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-4.7 · needs 210 GB memory, 198.6 GB download, Mac only · from huggingface.co/mlx-communitychat in the terminal
mlx_lm.chat --model mlx-community/GLM-4.7-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model mlx-community/GLM-4.7-4bit
Model repository and documentation: huggingface.co/zai-org ↗
$ how the score was worked out · zai-org/GLM-4.7 model card 31%, GLM-5 Team (Zhipu AI) — GLM-5… 18%, zai-org/GLM-5 model card 14% and 8 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
| source | results | share of the score |
|---|---|---|
| 17 | 31% | |
| 10 | 18% | |
| 8 | 14% | |
| 4 | 13% | |
| 2 | 12% | |
| 1 | 3% | |
| 1 | 3% | |
| 2 | 3% | |
| 1 | 2% | |
| 1 | 1% | |
| 1 | 0% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 67.4 |
not counted (1)
| zai-org/GLM-5 model card | AIME 2026 I [correct] | 92.9% | fewer than three models have this test yet, or this source ran it for this model alone |
$ 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