GLM-4.7 Flash 30B-A3B hardware requirements
31.2B parameters (3B active, mixture of experts). Needs about 20 GB at Q4_K_M with 8K context.
Parameters31B3B active (MoE)
Q4_K_M · 8K20 GBthe usual download
FP16 · 8K63.4 GBfull precision
Runs well on18/51GPUs and Macs we track
Memory needed at each quantization
Weights, KV cache and runtime overhead, at 8K and 32K tokens of context.
| Quant | Quality | 8K context | 32K context | |
|---|---|---|---|---|
| FP16 | Full quality | 63.4 GB | 64.8 GB | |
| Q8_0 | Near-lossless | 34.2 GB | 35.5 GB | |
| Q6_K | Excellent | 26.6 GB | 28 GB | |
| Q5_K_M | Very good | 23.2 GB | 24.6 GB | |
| Q4_K_M | Good, most popular | 20 GB | 21.3 GB | |
| Q3_K_M | Noticeably degraded | 16.3 GB | 17.6 GB | |
| Q2_K | Heavily degraded | 12.7 GB | 14.1 GB |
Run it with Ollama
Downloads Q4_K_M by default.
ollama run glm-4.7-flash
Model card
zai-org/GLM-4.7-Flash on Hugging Face: licence, prompt format and GGUF builds.
Run it in the cloud
Run GLM-4.7 Flash 30B-A3B on a rented GPU today.
It needs about 20 GB at Q4_K_M: a rented RTX 3090 / RTX 4090 runs it for about $0.18 to $0.89 an hour.
Every GPU and Mac checked
Sorted by memory. Bars show how much of each card GLM-4.7 Flash 30B-A3B fills at the best quant that fits.
18 Runs well
NameMemory usedBest quantSpeed
AMD Radeon RX 7900 XT20 GBQ4_K_M · 20 GB~264 tok/s
NVIDIA RTX 409024 GBQ5_K_M · 23.2 GB~283 tok/s
NVIDIA RTX 3090 Ti24 GBQ5_K_M · 23.2 GB~283 tok/s
AMD Radeon RX 7900 XTX24 GBQ5_K_M · 23.2 GB~270 tok/s
NVIDIA RTX 309024 GBQ5_K_M · 23.2 GB~263 tok/s
NVIDIA RTX 509032 GBQ6_K · 26.6 GB~437 tok/s
AMD Radeon AI PRO R970032 GBQ6_K · 26.6 GB~156 tok/s
Apple M2 Pro (32GB)32 GBQ4_K_M · 20 GB~66 tok/s
Apple M4 Max (36GB)36 GBQ5_K_M · 23.2 GB~115 tok/s
Apple M3 Pro (36GB)36 GBQ5_K_M · 23.2 GB~42 tok/s
Apple M4 Pro (48GB)48 GBQ8_0 · 34.2 GB~51 tok/s
Apple M4 Max (64GB)64 GBQ8_0 · 34.2 GB~103 tok/s
Apple M3 Max (64GB)64 GBQ8_0 · 34.2 GB~75 tok/s
Apple M1 Max (64GB)64 GBQ8_0 · 34.2 GB~75 tok/s
NVIDIA RTX PRO 6000 Blackwell96 GBFP16 · 63.4 GB~179 tok/s
Apple M4 Max (128GB)128 GBFP16 · 63.4 GB~55 tok/s
Apple M2 Ultra (192GB)192 GBFP16 · 63.4 GB~80 tok/s
Apple M3 Ultra (256GB)256 GBFP16 · 63.4 GB~82 tok/s
15 Fits with heavy quantization
NameMemory usedBest quantSpeed
NVIDIA RTX 508016 GBQ2_K · 12.7 GB~512 tok/s
NVIDIA RTX 5070 Ti16 GBQ2_K · 12.7 GB~478 tok/s
NVIDIA RTX 4080 Super16 GBQ2_K · 12.7 GB~393 tok/s
NVIDIA RTX 408016 GBQ2_K · 12.7 GB~382 tok/s
NVIDIA RTX 4070 Ti Super16 GBQ2_K · 12.7 GB~358 tok/s
AMD Radeon RX 907016 GBQ2_K · 12.7 GB~341 tok/s
AMD Radeon RX 9070 XT16 GBQ2_K · 12.7 GB~341 tok/s
AMD Radeon RX 7800 XT16 GBQ2_K · 12.7 GB~333 tok/s
Intel Arc A770 16GB16 GBQ2_K · 12.7 GB~299 tok/s
AMD Radeon RX 6800 XT16 GBQ2_K · 12.7 GB~273 tok/s
NVIDIA RTX 5060 Ti 16GB16 GBQ2_K · 12.7 GB~239 tok/s
AMD Radeon RX 9060 XT 16GB16 GBQ2_K · 12.7 GB~171 tok/s
NVIDIA RTX 4060 Ti 16GB16 GBQ2_K · 12.7 GB~154 tok/s
AMD Radeon RX 7600 XT16 GBQ2_K · 12.7 GB~154 tok/s
Apple M4 Pro (24GB)24 GBQ2_K · 12.7 GB~146 tok/s
18 Too big
NameMemory usedBest quantSpeed
NVIDIA RTX 50608 GBneeds 20 GB8 GB free
NVIDIA RTX 5060 Ti 8GB8 GBneeds 20 GB8 GB free
NVIDIA RTX 3060 Ti8 GBneeds 20 GB8 GB free
NVIDIA RTX 30708 GBneeds 20 GB8 GB free
NVIDIA RTX 4060 Ti 8GB8 GBneeds 20 GB8 GB free
NVIDIA RTX 40608 GBneeds 20 GB8 GB free
NVIDIA RTX 3080 10GB10 GBneeds 20 GB10 GB free
NVIDIA RTX 2080 Ti11 GBneeds 20 GB11 GB free
NVIDIA RTX 3080 Ti12 GBneeds 20 GB12 GB free
NVIDIA RTX 507012 GBneeds 20 GB12 GB free
NVIDIA RTX 407012 GBneeds 20 GB12 GB free
NVIDIA RTX 4070 Super12 GBneeds 20 GB12 GB free
NVIDIA RTX 4070 Ti12 GBneeds 20 GB12 GB free
Intel Arc B58012 GBneeds 20 GB12 GB free
NVIDIA RTX 3060 12GB12 GBneeds 20 GB12 GB free
Apple M5 (16GB)16 GBneeds 20 GB10.7 GB free
Apple M4 (16GB)16 GBneeds 20 GB10.7 GB free
Apple M1 (16GB)16 GBneeds 20 GB10.7 GB free