whatmodel.sh / GLM-4.7-Flash

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.

57.9±1.2#233 of 743 LLMsfrom 11 benchmark results across 7 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of GLM-4.7-Flash, out of 897 with a score, then more from Z.ai.

#modelscorewhereRAMreleased
274Olmo 3.1 32B Think Ai258±1local~21GB2025-12
275gpt-oss-20b OpenAI58±1api $0.13/M +local~13GB2025-08
276GLM-4.7-Flash Z.ai58±1api $0.0000/M +local~18GB2026-01
277Llama 3.3 Nemotron Super 49B v1 NVIDIA58±2local~22GB2025-03
278Mercury 2 Inception58±2comparison only
more from Z.ai
43GLM-5.3 Z.ai74±1api $2.15/M +local~268GB2026-08
63GLM-5.3-Flash Z.ai72±1api $0.24/M +local~117GB2026-08
71GLM-5.2 Z.ai72±1api $2.15/M +local~229GB2026-06

see all LLMs · find the ones that fit your machine

$ what it's good at

agent tasks▁▁▃▆█▄▅▅▃▃▂▁ #204 of 319 * · 10% of its score · 3 tests

Beats o1 (2024-12-17), o3-mini, DeepSeek R1 0528 here, though they rank higher overall. Trails SmolLM3 3B, Jamba 1.5 Mini, Mellum2 12B-A2.5B Instruct here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
SWE-bench Verified +139.7% ✎▁▁▁▁▁▁▂▄█▆▁▁ beats 54/140hard · avg 24%▇▇▇▇ 10%sharp · at its level · small run
BrowseComp lab42.8% ✎▁·▃▁▁▂▆▄█▃▂▄ beats 16/48very hard · avg 11%—not counted yet: no other model in the same run to compare it with
τ²-bench aggregate lab79.5% ✎▁▁▁·▁▁▃▃▃▄█▁ beats 22/39medium · avg 46%—not counted yet: no other model in the same run to compare it with
coding▁▁▁▃▆▇█▆▆▃▃▁ #288 of 474 * · 22% of its score · 3 tests

Beats Qwen3-VL 32B Instruct, Solar Open 100B (102B-A12B) here, though they rank higher overall. Trails DeepSeek LLM 67B Chat, Mistral NeMo Instruct (2407), QwQ-32B-Preview here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
Luau Leetcode fully solved (Torpedo Software)14.9% ✎▁▃▁▁·▁▂▃▅▃█▇ beats 1/49hard · avg 18%▇▇▇▇▇ 12%sharp · at its level
SWE-bench Verified +139.7% ✎▁▁▁▁▁▁▂▄█▆▁▁ beats 54/140hard · avg 24%▇▇▇▇ 10%sharp · at its level · small run
LiveCodeBench v6 (window unspecified) lab64.0% ✎▂▃▄▄▅██▆▄▇▄▆ beats 28/67medium · avg 39%—not counted yet: no other model in the same run to compare it with
chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #152 of 405 * · 13% of its score · 1 test

Beats INTELLECT-3, MiniMax-M2, Nemotron 3 Super 120B-A12B 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.

testresultvs the others in its rundifficultycountswhy
LMArena (text)1364.5 ✎▁▁▁▂▃▂▃▆▆▇█▃ beats 209/388avg 1262▇▇▇▇▇ 13%blunt
math▁▁▃▅█▆▅█▄▁▁▁ #173 of 440 * · 11% 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, Nemotron 3 Nano 30B-A3B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
OTIS mock AIME 2024–202558.3% ✎▃▃▄▃▃▃▇▆█▄▃▆ beats 88/207very hard · avg 7.4%▇▇▇▇ 11%sharp · at its level · noisy
AIME 2025 lab91.6% ✎▁·▁▁▁▃▅▇█▆▃▁ beats 118/134medium · avg 43%—not counted yet: no other model in the same run to compare it with
web searchnot ranked on this task yet · 1 test
testresultvs the others in its rundifficultycountswhy
BrowseComp lab42.8% ✎▁·▃▁▁▂▆▄█▃▂▄ beats 16/48very hard · avg 11%—not counted yet: no other model in the same run to compare it with
other tests9 not in a task · 54% of its score
testresultvs the others in its rundifficultycountswhy
GPQA Diamond60.5% ✎▁▁▁▁▂▃▅▄▄▆█▃ beats 88/221hard · avg 39%▇▇▇▇▇▇▇▇▇ 23%sharp · at its level
EQ-Bench 3 (emotional intelligence, judge Elo)1151.3 ✎▁·▂▁▄▅▅▃█▄▁▁ beats 20/62avg 1037▇▇▇ 8.6%typical
RobloxQA v2.0 multiple choice (Torpedo Software)83.1% ✎▁▁▃▁█▄▃▃▆▂▂▂ beats 3/49easy · avg 77%▇▇▇ 8.0%typical
EuroEval Life in the UK (English knowledge MC), validation split, 5-shot, accuracy94.1% ✎▂·▂▂·▂·▃▃·█▃ beats 13/14easy · avg 80%▇▇▇ 6.8%typical
EuroEval HellaSwag (English), validation split, 5-shot generative MC, accuracy74.8% ✎▂··▂▂·▂▆▆█·▄ beats 7/15medium · avg 64%▇▇ 5.0%at its level
Chess Puzzles (Epoch)0.0% ✎█▁▁▁▁▂▄▂▃▃▂▁ beats 34/157very hard · avg 5.6%▇ 2.8%sharp · too hard for it · noisy
Vectara hallucination leaderboard (HHEM-2.3, factual consistency rate)90.7% ✎▁▂▁▂▅█▂▃▃▃▁▁ beats 53/100very easy · avg 90%▇ 0.0%blunt
Humanity's Last Exam lab14.4% ✎▁▁▁▄▆▇▅█▆▁▂▁ beats 36/115very hard · avg 3.9%—not counted yet: no other model in the same run to compare it with
1 more test
testresultvs the others in its rundifficultycountswhy
GPQA (subset unspecified) lab75.2% ✎▂▁▂▂▄▃▆▃▅█▃▃ beats 89/106very hard · avg 32%—not counted yet: no other model in the same run to compare it with

$ 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.

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

  1. 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 | sh
    Windows
    irm https://llama.app/install.ps1 | iex

    other ways to install ↗

  2. Run GLM-4.7-Flash · needs 19.2 GB memory, 18.1 GB download · from huggingface.co/lmstudio-community
    chat in the terminal
    llama cli -hf lmstudio-community/GLM-4.7-Flash-GGUF:Q4_K_M
  3. 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

  1. Install LM Studio · Open the app once before using the lms command.

    download it (macOS / Windows / Linux) ↗

  2. Run GLM-4.7-Flash · needs 19.2 GB memory, 18.1 GB download · from huggingface.co/lmstudio-community

    open in LM Studio ↗

  3. Or download it in the terminal
    lms get https://huggingface.co/lmstudio-community/GLM-4.7-Flash-GGUF@Q4_K_M -y
  4. Then run lms ls to see its name, and lms chat followed by that name

Ollama

  1. Install Ollama

    download it (macOS / Windows) ↗

    Linux
    curl -fsSL https://ollama.com/install.sh | sh
  2. Run GLM-4.7-Flash · needs 20.1 GB memory, 19 GB download · from ollama.com
    chat in the terminal
    ollama run glm-4.7-flash:q4_K_M

MLX (Mac)

version

  1. Install MLX (Mac) · Apple silicon Macs only, text only.
    with uv
    uv tool install mlx-lm
    or
    pip install mlx-lm
  2. Run GLM-4.7-Flash · needs 18 GB memory, 16.9 GB download, Mac only · from huggingface.co/lmstudio-community
    chat in the terminal
    mlx_lm.chat --model lmstudio-community/GLM-4.7-Flash-MLX-4bit
  3. Or start an OpenAI-compatible server at http://localhost:8080/v1
    mlx_lm.server --model lmstudio-community/GLM-4.7-Flash-MLX-4bit

Model repository and documentation: huggingface.co/zai-org ↗

$ how the score was worked out · Epoch AI — internal evaluatio… 36%, Roblox LLM Leaderboard (Torpe… 20%, LMArena leaderboard dataset 13% and 4 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

not counted (7)

zai-org/GLM-4.7-Flash model cardAIME 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 cardBrowseComp [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 cardGPQA (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 cardHumanity'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 cardLiveCodeBench 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 cardSWE-bench Verified [correct]59.2%the only model in this source's run of the test, so there is nothing to compare it with there; another run of the test counts
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_048.68 tok/sllama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32; 32 generated tokens; context depth 0; n_ubatch=2048; flash attention=1; one sequence
note

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_044.62 tok/sllama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d4096; 32 generated tokens; context depth 4096; n_ubatch=2048; flash attention=1; one sequence
note

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_032.65 tok/sllama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d32768; 32 generated tokens; context depth 32768; n_ubatch=2048; flash attention=1; one sequence
note

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_059.58 tok/sllama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32; 32 generated tokens; context depth 0; n_ubatch=2048; flash attention=1; one sequence
note

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_047.44 tok/sllama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d4096; 32 generated tokens; context depth 4096; n_ubatch=2048; flash attention=1; one sequence
note

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_021.81 tok/sllama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d32768; 32 generated tokens; context depth 32768; n_ubatch=2048; flash attention=1; one sequence
note

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_042.59 tok/sllama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d8192; 32 generated tokens; context depth 8192; n_ubatch=2048; flash attention=1; one sequence
note

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_038.72 tok/sllama.cpp 11fb327bf (7941), CUDA · llama-bench; tg32 @ d16384; 32 generated tokens; context depth 16384; n_ubatch=2048; flash attention=1; one sequence
note

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_040.2 tok/sllama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d8192; 32 generated tokens; context depth 8192; n_ubatch=2048; flash attention=1; one sequence
note

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_031.5 tok/sllama.cpp b828e18c7 (7948), Metal/BLAS · llama-bench; tg32 @ d16384; 32 generated tokens; context depth 16384; n_ubatch=2048; flash attention=1; one sequence
note

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/sllama.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
note

Model fully resident in GPU/unified memory as published.

source ↗
Apple M4 Pro (14-core CPU / 20-core GPU, 64GB)MLX 4-bit53.6 tok/sMLX 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
note

Model fully resident in GPU/unified memory as published.

source ↗
Apple M3 Ultra (28-core CPU / 60-core GPU, 96GB)MLX 4-bit55 tok/sMLX 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
note

Model fully resident in GPU/unified memory as published.

source ↗
Apple M2 Max (12-core CPU / 38-core GPU, 32GB)MLX 4-bit39.7 tok/sMLX 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
note

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