whatmodel.sh / GLM-4.7-Flash
GLM-4.7-Flash
↗ share
+ contribute
GLM-4.7-Flash is an open-weights language model from Z.ai, released January 2026. Its published size is 31.2B parameters (3B active per token) and a 200k-token context window. Licence: mit.
$ how it compares
The LLMs ranked either side of GLM-4.7-Flash, out of 828 with a score, then more from Z.ai.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 248 | 59±1 | local | |||
| 249 | 59±2 | local | |||
| 250 | 59±1 | api $0.0000/M +local | |||
| 251 | 59±1 | local | |||
| 252 | 59±1 | 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 tasksnot ranked on this task yet · 3 tests
| test | result | vs the others in its run | counts |
|---|---|---|---|
| SWE-bench Verified lab | 59.2% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 52/131 | — |
| BrowseComp lab | 42.8% ✎ | ▂·▄▁▂▃▆▄█▂▃▄ beats 15/42 | — |
| τ²-bench aggregate lab | 79.5% ✎ | ▁▁▁·▂▂▄▃▃▅█▂ beats 22/37 | — |
coding▁▁▁▃▆██▇▆▄▃▁ #339 of 458 * · 12% of its score · 3 tests
Trails Phi-3-mini-128k-instruct (Apr 2024), DeepSeek LLM 67B Chat, WizardLM 70B V1.0 here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Luau Leetcode fully solved (Torpedo Software) | 14.9% ✎ | ▁▃▁▁·▁▂▃▅▃█▇ beats 1/49 | 12% |
| SWE-bench Verified lab | 59.2% ✎ | ▁▁▁▁▁▁▂▄█▆▁▁ beats 52/131 | — |
| LiveCodeBench v6 (window unspecified) lab | 64.0% ✎ | ▂▃▄▄▅██▅▄▇▃▆ beats 28/65 | — |
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #142 of 393 * · 15% of its score · 1 test
Beats INTELLECT-3, Nemotron 3 Super 120B-A12B, MiniMax-M2 here, though they rank higher overall. Trails LFM2.5 1.2B Thinking, LFM2.5 8B-A1B, LFM2.5 2.6B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| LMArena (text) | 1364.9 ✎ | ▁▁▁▂▃▃▃▆▆▇█▃ beats 209/379 | 15% |
math▁▂▃▅▆▅▄█▄▁▁▁ #160 of 398 * · 14% of its score · 2 tests
Beats MiMo-V2.5 (310B-A15B), MiniMax-M2.7, MiniMax-M2.1 here, though they rank higher overall. Trails Olmo 3 7B Think, Qwen3-VL 4B Thinking, Granite 4.2 3B here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| OTIS mock AIME 2024–2025 | 58.3% ✎ | ▃▃▄▃▃▃▇▇█▃▂▅ beats 88/193 | 14% |
| AIME 2025 lab | 91.6% ✎ | ▁·▁▁▁▂▅▆█▇▅▁ beats 118/133 | — |
web searchnot ranked on this task yet · 1 test
| test | result | vs the others in its run | counts |
|---|---|---|---|
| BrowseComp lab | 42.8% ✎ | ▂·▄▁▂▃▆▄█▂▃▄ beats 15/42 | — |
other tests9 not in a task · 59% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GPQA Diamond | 60.5% ✎ | ▁▁▁▁▂▄▆▄▅▇█▅ beats 88/208 | 27% |
| EQ-Bench 3 (emotional intelligence, judge Elo) | 1151.3 ✎ | ▁·▂▁▄▅▅▃█▄▁▁ beats 20/62 | 8.9% |
| EuroEval Life in the UK (English knowledge MC), validation split, 5-shot, accuracy | 94.1% ✎ | ▂·▂▂·▂·▃▃·█▃ beats 13/14 | 8.1% |
| RobloxQA v2.0 multiple choice (Torpedo Software) | 83.1% ✎ | ▁▁▃▁█▄▃▃▆▂▂▂ beats 3/49 | 7.4% |
| EuroEval HellaSwag (English), validation split, 5-shot generative MC, accuracy | 74.8% ✎ | ▂··▂▂·▂▆▆█·▄ beats 7/15 | 5.7% |
| Chess Puzzles (Epoch) | 0.0% ✎ | █▁▁▁▁▂▁▄▂▂▁▁ beats 31/135 | 2.0% |
| Vectara hallucination leaderboard (HHEM-2.3, factual consistency rate) | 90.7% ✎ | ▁▂▁▂▅█▂▃▄▃▁▁ beats 51/98 | 0.0% |
| GPQA (subset unspecified) lab | 75.2% ✎ | ▂▁▂▂▄▃▆▃▅█▄▃ beats 87/104 | — |
1 more test
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Humanity's Last Exam lab | 14.4% ✎ | ▁▁▁▃▆▆▇██▆▁▃ beats 33/104 | — |
$ where to run it
Through an API
api · $0.0000/M · $0 in / $0 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-4.7-Flash · needs ~18.1 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/GLM-4.7-Flash-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/GLM-4.7-Flash-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run GLM-4.7-Flash · needs ~18.1 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/GLM-4.7-Flash-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run GLM-4.7-Flash · needs ~19.22 GB · from ollama.comchat in the terminal
ollama run glm-4.7-flash:q4_K_M
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-Flash · needs ~16.9 GB, Mac only · from huggingface.co/lmstudio-communitychat in the terminal
mlx_lm.chat --model lmstudio-community/GLM-4.7-Flash-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model lmstudio-community/GLM-4.7-Flash-MLX-4bit
Weights and documentation: huggingface.co/zai-org ↗
$ how the score was worked out · Epoch AI — internal evaluatio… 43%, Roblox LLM Leaderboard (Torpe… 19%, LMArena leaderboard dataset 15% and 3 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 |
|---|---|---|
| 3 | 43% | |
| 2 | 19% | |
| 1 | 15% | |
| 2 | 14% | |
| 1 | 9% | |
| 1 | 0% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 58.8 |
not counted (7)
| zai-org/GLM-4.7-Flash model card | AIME 2025 [correct] | 91.6% | fewer than three models have this test yet, or this source ran it for this model alone |
| zai-org/GLM-4.7-Flash model card | BrowseComp [correct] | 42.8% | fewer than three models have this test yet, or this source ran it for this model alone |
| zai-org/GLM-4.7-Flash model card | GPQA (subset unspecified) [correct] | 75.2% | fewer than three models have this test yet, or this source ran it for this model alone |
| zai-org/GLM-4.7-Flash model card | Humanity's Last Exam [correct] | 14.4% | fewer than three models have this test yet, or this source ran it for this model alone |
| zai-org/GLM-4.7-Flash model card | LiveCodeBench v6 (window unspecified) [correct] | 64.0% | fewer than three models have this test yet, or this source ran it for this model alone |
| zai-org/GLM-4.7-Flash model card | SWE-bench Verified [correct] | 59.2% | fewer than three models have this test yet, or this source ran it for this model alone |
| zai-org/GLM-4.7-Flash model card | τ²-bench aggregate [correct] | 79.5% | fewer than three models have this test yet, or this source ran it for this model alone |
$ published speed measurements · 14
Reference results for the hardware, engine and settings below. They aren't verified speeds of the downloads above or predictions for your machine.
| NVIDIA DGX Spark (GB10) | Q8_0 | 48.68 tok/s | llama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32; 32 generated tokens; context depth 0; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| NVIDIA DGX Spark (GB10) | Q8_0 | 44.62 tok/s | llama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d4096; 32 generated tokens; context depth 4096; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| NVIDIA DGX Spark (GB10) | Q8_0 | 32.65 tok/s | llama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d32768; 32 generated tokens; context depth 32768; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| Apple M2 Ultra (GPU core count and RAM not specified) | Q8_0 | 59.58 tok/s | llama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32; 32 generated tokens; context depth 0; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| Apple M2 Ultra (GPU core count and RAM not specified) | Q8_0 | 47.44 tok/s | llama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d4096; 32 generated tokens; context depth 4096; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| Apple M2 Ultra (GPU core count and RAM not specified) | Q8_0 | 21.81 tok/s | llama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d32768; 32 generated tokens; context depth 32768; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| NVIDIA DGX Spark (GB10) | Q8_0 | 42.59 tok/s | llama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d8192; 32 generated tokens; context depth 8192; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| NVIDIA DGX Spark (GB10) | Q8_0 | 38.72 tok/s | llama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d16384; 32 generated tokens; context depth 16384; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| Apple M2 Ultra (GPU core count and RAM not specified) | Q8_0 | 40.2 tok/s | llama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d8192; 32 generated tokens; context depth 8192; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| Apple M2 Ultra (GPU core count and RAM not specified) | Q8_0 | 31.5 tok/s | llama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d16384; 32 generated tokens; context depth 16384; n_ubatch=2048; flash attention=1; one sequence Published token-generation mean; not prompt processing or aggregate batch throughput. Hardware core count and installed RAM are not inferred. | source ↗ |
| NVIDIA GeForce RTX 5090 (32GB; host CPU/RAM not stated) | GGUF Q6_K_XL (Unsloth repository) | 151.3 tok/s | llama.cpp (GGUF; version not stated) · Offload column: 0%; prompt-length variant not stated in Table 5 (study prompts ~16/~300/~496 tokens); fixed 256 output tokens, greedy decoding, fixed seed; two untimed warm-up generations; mean of three timed runs; generation throughput measured strictly during the decode phase Model fully resident in GPU/unified memory as published. | source ↗ |
| Apple M4 Pro (14-core CPU / 20-core GPU, 64GB) | MLX 4-bit | 53.6 tok/s | MLX v0.30.6 (macOS 26 Tahoe) · Offload column: 0%; prompt-length variant not stated in Table 5 (study prompts ~16/~300/~496 tokens); fixed 256 output tokens, greedy decoding, fixed seed; two untimed warm-up generations; mean of three timed runs; generation throughput measured strictly during the decode phase Model fully resident in GPU/unified memory as published. | source ↗ |
| Apple M3 Ultra (28-core CPU / 60-core GPU, 96GB) | MLX 4-bit | 55 tok/s | MLX v0.30.6 (macOS 26 Tahoe) · Offload column: 0%; prompt-length variant not stated in Table 5 (study prompts ~16/~300/~496 tokens); fixed 256 output tokens, greedy decoding, fixed seed; two untimed warm-up generations; mean of three timed runs; generation throughput measured strictly during the decode phase Model fully resident in GPU/unified memory as published. | source ↗ |
| Apple M2 Max (12-core CPU / 38-core GPU, 32GB) | MLX 4-bit | 39.7 tok/s | MLX v0.30.6 (macOS 26 Tahoe) · Offload column: 0%; prompt-length variant not stated in Table 5 (study prompts ~16/~300/~496 tokens); fixed 256 output tokens, greedy decoding, fixed seed; two untimed warm-up generations; mean of three timed runs; generation throughput measured strictly during the decode phase Model fully resident in GPU/unified memory as published. | source ↗ |
$ 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