GLM-4.7 Flash
Data checked: 2026-11-25. Review interval shown below. Prices need review after 30 days; specifications and benchmark collections after 90 days. Dates describe the recorded check, not a live retailer quote.
- Verified Checked against the primary source (for example the model’s config.json on Hugging Face).
- Sourced Taken from a cited source; not yet independently checked.
- Estimate Calculated with the published formulas; not a measurement.
- Sample Placeholder data for layout; not a real figure.
- Not yet measured No public, citable score found for this benchmark yet. We never fill the gap with a guess.
Verified metadata is not a measured performance result. Only cited runs matching model, device, quant and recorded context can replace speed estimates. Estimates assume one stream and F16 KV cache, with a ±25% uncertainty band. A published run applies only to its recorded runtime and conditions; missing settings are unknown.
Evidence labels · Freshness policy · Calculation methodology
At a glance
A 31.22B mixture-of-experts with 3B active per token. Q4_K_M is 18.31 GB, so it fits a 24 GB card. Attention is latent, and the fit formula overstates that cache.
At Q4_K_M and 8k context it needs about 22.0 GB: 18.3 GB of weights, 3.2 GB of KV cache and 0.6 GB of runtime overhead. Only 3.0B of its 31.2B parameters are read per token, so it decodes far faster than its size suggests (see memory bandwidth).
Estimated setup
Quant | Q4_K_M |
|---|---|
Smallest standard card size at 8k | 32 GB |
Max context, 24 GB card | 8k |
Runtimes | llama.cpp, Ollama, LM Studio, MLX |
Quantization options
Total memory = weights + KV cache (F16) + runtime overhead. File sizes marked Verified are the sum of GGUF files from unsloth/GLM-4.7-Flash-GGUF on the Hugging Face API. KV cache costs 0.385 MB per token before sliding-window savings.
Quant | bpw | File | At 8k | At 32k | At 128k | KL-divergence | 24 GB card, 8k |
|---|---|---|---|---|---|---|---|
| Q3_K_M | 3.91 | 14.6 GBVerified | 18.3 GB | 28.0 GB | 66.6 GB | — | Fits |
| Q4_K_M | 4.85 | 18.3 GBVerified | 22.0 GB | 31.7 GB | 70.3 GB | — | Tight |
| Q5_K_M | 5.69 | 21.4 GBVerified | 25.1 GB | 34.8 GB | 73.4 GB | — | Needs offload |
| Q6_K | 6.56 | 24.7 GBVerified | 28.4 GB | 38.1 GB | 76.7 GB | — | Needs offload |
| Q8_0 | 8.50 | 31.8 GBVerified | 35.6 GB | 45.2 GB | 83.8 GB | — | Needs offload |
| F16 | 16.00 | 59.9 GBVerified | 63.6 GB | 73.3 GB | 111.9 GB | reference | Needs offload |
Why this matters: What is quantization? · What is a KV cache?
Decode speed by device
Q4_K_M, single stream, 8k context. Estimates use the decode formula (η × bandwidth ÷ bytes per token; see methodology) and are ±25% until measured.
Speed table
Device | Verdict | Decode, tok/s | Range | Runtime |
|---|---|---|---|---|
| GeForce RTX 5090 32 GB | Fits | 218.8Estimate | ±25% | llama.cpp (estimate) |
| 2× RTX 5090 64 GB | Fits | 218.8Estimate | ±25% | llama.cpp (estimate) |
| NVIDIA RTX PRO 6000 Blackwell 96 GB | Fits | 218.8Estimate | ±25% | llama.cpp (estimate) |
| GeForce RTX 4090 24 GB | Tight | 123.1Estimate | ±25% | llama.cpp (estimate) |
| Radeon RX 7900 XTX 24 GB | Tight | 117.2Estimate | ±25% | llama.cpp (estimate) |
| GeForce RTX 3090 24 GB (used) | Tight | 114.3Estimate | ±25% | llama.cpp (estimate) |
| 2× RTX 3090 (used) 48 GB | Fits | 114.3Estimate | ±25% | llama.cpp (estimate) |
| Mac Studio M5 Ultra (base) | Fits | 109.9Estimate | ±25% | llama.cpp (estimate) |
| Mac Studio M5 Ultra · 512 GB | Fits | 109.9Estimate | ±25% | llama.cpp (estimate) |
| Mac Studio M5 Max · 128 GB | Fits | 56.2Estimate | ±25% | llama.cpp (estimate) |
| Intel Arc Pro B60 24 GB | Tight | 55.7Estimate | ±25% | llama.cpp (estimate) |
| MacBook Pro M4 Max 40c · 128 GB | Fits | 50.0Estimate | ±25% | llama.cpp (estimate) |
| Mac Studio M5 Max (base) | Fits | 42.1Estimate | ±25% | llama.cpp (estimate) |
| GeForce RTX 5080 16 GB | Needs offload | 37.0Estimate | ±25% | llama.cpp (estimate) |
| GeForce RTX 5070 Ti 16 GB | Needs offload | 36.3Estimate | ±25% | llama.cpp (estimate) |
| GeForce RTX 4080 Super 16 GB | Needs offload | 34.1Estimate | ±25% | llama.cpp (estimate) |
| Radeon RX 9070 XT 16 GB | Needs offload | 32.5Estimate | ±25% | llama.cpp (estimate) |
| GeForce RTX 5060 Ti 16 GB | Needs offload | 28.1Estimate | ±25% | llama.cpp (estimate) |
| MacBook Pro M5 Pro · 48 GB | Fits | 28.1Estimate | ±25% | llama.cpp (estimate) |
| Mac mini M4 Pro · 48 GB | Fits | 25.0Estimate | ±25% | llama.cpp (estimate) |
| NVIDIA DGX Spark FE 128 GB | Fits | 25.0Estimate | ±25% | llama.cpp (estimate) |
| GeForce RTX 5070 12 GB | Needs offload | 24.2Estimate | ±25% | llama.cpp (estimate) |
| Radeon RX 9060 XT 16 GB | Needs offload | 23.9Estimate | ±25% | llama.cpp (estimate) |
| Ryzen AI Max+ 395 mini PC 64 GB | Fits | 23.4Estimate | ±25% | llama.cpp (estimate) |
| Ryzen AI Max+ 395 mini PC 128 GB | Fits | 23.4Estimate | ±25% | llama.cpp (estimate) |
| GeForce RTX 4060 Ti 16 GB | Needs offload | 22.5Estimate | ±25% | llama.cpp (estimate) |
| Intel Arc B580 12 GB | Needs offload | 21.8Estimate | ±25% | llama.cpp (estimate) |
| GeForce RTX 3060 12 GB (used) | Needs offload | 20.1Estimate | ±25% | llama.cpp (estimate) |
| Intel Arc Pro B50 16 GB | Needs offload | 19.4Estimate | ±25% | llama.cpp (estimate) |
| CPU only · Ryzen 9 9950X + 128 GB DDR5 | Fits | 9.1Estimate | ±25% | llama.cpp (estimate) |
Compare with similar-sized models
Model | Parameters | Quality score | Licence |
|---|---|---|---|
| GLM-4.7 Flash | 31.2 B | 1,351Sourced | MIT |
| gpt-oss-20b | 20.9 B | 1,287Sourced | Apache-2.0 |
| Mistral Small 3.2 24B | 24.0 B | 1,338Sourced | Apache-2.0 |
LMArena text, overall, entry 'GLM-4.7-Flash': 1350.7 (95% CI 1345.0–1356.4, 11,916 votes), leaderboard published 2026-11-22. CC-BY-4.0. Dataset
llama-perplexity --kl-divergence on a fixed corpus. Speed and quality are never merged into one score. Sample values are illustrative and must not be used to select a model.Architecture
Parameters, total | 31.22 BVerifiedsafetensors.total from the HF API. Source |
|---|---|
Parameters, active per token | 3.00 BSourcedModel card: a 30B-A3B mixture-of-experts. Source |
Layers | 47Verifiednum_hidden_layers includes 1 multi-token-prediction layer (num_nextn_predict_layers). Source |
Query heads | 20VerifiedSource |
KV heads (GQA) | 20VerifiedSource |
Head dimension | 102.4Verifiedconfig.json does not set head_dim; hidden_size / num_attention_heads = 102.4. Attention is MLA (kv_lora_rank 512), so this GQA shape overstates the cache. Source |
Hidden size | 2048VerifiedSource |
Experts | 64 experts, 4 active per token, plus 1 sharedVerifiedn_routed_experts 64, num_experts_per_tok 4, n_shared_experts 1. first_k_dense_replace is 1. Source |
Operating conditions
Max context | 202,752 tokensVerifiedmax_position_embeddings. Source |
|---|---|
Licence | MITVerifiedSource |
Weights | zai-org/GLM-4.7-Flash |
GGUF files | unsloth/GLM-4.7-Flash-GGUF |
Usable memory, discrete | VRAM − 0.5 GB2 |
Usable memory, unified | RAM × 0.752 |
Fits when | total ≤ 90% of usable2 |
1 Estimates: decode ≈ η × bandwidth ÷ (active weights + KV cache), η 0.60 discrete / 0.45 unified / 0.50 CPU (see methodology). Not measurements.
2 Fit rules (see methodology), including the 0.75 unified-memory factor used by canirun.ai.
Flags: Verified = checked against config.json / HF API; Sourced = from a cited source; Estimate = formula; Sample = placeholder. Markdown · JSON · Report a problem