GLM-4.7 Flash VRAM requirements: which GPUs can run it locally?
The smallest GPU memory that runs GLM-4.7 Flash well is 18 GB (Q4_K_M, e.g. M3 Pro). 47 of 132 GPUs run it well. It's a mixture-of-experts model, so all weights must fit in memory but speed depends only on the active experts.
MMLU 82 SWE-bench Verified 59.2
VRAM needed per quantization
| Quantization | Weights | 16K context | 32K context | Full 128K |
|---|---|---|---|---|
| Q4_K_M | 17.1 GB | 17.9 GB | 18.7 GB | 23.5 GB |
| Q8_0 | 29.7 GB | 30.5 GB | 31.3 GB | 36.1 GB |
Weights plus fp16 KV cache. Leave ~1 GB headroom for the inference engine.
Run it locally
Each command downloads the GGUF from Hugging Face, then Ollama starts a chat and llama.cpp starts an OpenAI-compatible server with a web UI on port 8080.
ollama run hf.co/unsloth/GLM-4.7-Flash-GGUF:Q4_K_M llama-server -hf unsloth/GLM-4.7-Flash-GGUF:Q4_K_M ollama run hf.co/unsloth/GLM-4.7-Flash-GGUF:Q8_0 llama-server -hf unsloth/GLM-4.7-Flash-GGUF:Q8_0 Cheapest GPUs that can run GLM-4.7 Flash
Lowest launch MSRP among GPUs that run its smallest quantization (Q4_K_M) well, with at least 16K context.
As an Amazon Associate, I earn from qualifying purchases.
GPUs that can run GLM-4.7 Flash
Best quantization that fits on each GPU, with the context and speed it gets. For chips with several memory sizes, the smallest that works is shown.
NVIDIA
- RTX 4000 Ada 20 GB Q4_K_M 58K context · ~98 tok/s
- RTX 3090 24 GB Q4_K_M 128K context · ~183 tok/s
- RTX 3090 Ti 24 GB Q4_K_M 128K context · ~190 tok/s
- RTX 4090 24 GB Q4_K_M 128K context · ~190 tok/s
- RTX 4500 Ada 24 GB Q4_K_M 128K context · ~112 tok/s
- RTX A5000 24 GB Q4_K_M 128K context · ~164 tok/s
- RTX PRO 4000 Blackwell 24 GB Q4_K_M 128K context · ~151 tok/s
- RTX Spark 24 GB Q4_K_M 128K context · ~85 tok/s
- Tesla P40 24 GB Q4_K_M 128K context · ~95 tok/s
- RTX 5090 32 GB Q8_0 46K context · ~209 tok/s
- RTX 5000 Ada 32 GB Q8_0 46K context · ~104 tok/s
- RTX PRO 4500 Blackwell 32 GB Q8_0 46K context · ~142 tok/s
- Tesla V100 32GB 32 GB Q8_0 46K context · ~142 tok/s
- L40S 48 GB Q8_0 128K context · ~138 tok/s
- RTX 6000 Ada 48 GB Q8_0 128K context · ~148 tok/s
- RTX A6000 48 GB Q8_0 128K context · ~128 tok/s
- RTX PRO 5000 Blackwell 48 GB Q8_0 128K context · ~181 tok/s
- RTX PRO 5000 Blackwell 72GB 72 GB Q8_0 128K context · ~181 tok/s
- RTX PRO 5500 Blackwell 84 GB Q8_0 128K context · ~185 tok/s
- RTX PRO 6000 Blackwell 96 GB Q8_0 128K context · ~209 tok/s
- DGX Spark (GB 10) 128 GB Q8_0 128K context · ~57 tok/s
AMD
- Radeon RX 7900 XT 20 GB Q4_K_M 58K context · ~168 tok/s
- Radeon RX 7900 XTX 24 GB Q4_K_M 128K context · ~186 tok/s
- Radeon AI PRO R9700 32 GB Q8_0 46K context · ~113 tok/s
- Ryzen AI Max (Strix Halo) 32 GB Q8_0 46K context · ~54 tok/s
- Ryzen AI Max 400 (Gorgon Halo) 64 GB Q8_0 128K context · ~57 tok/s
Intel
- Arc Pro B65 32 GB Q8_0 46K context · ~109 tok/s
- Arc Pro B70 32 GB Q8_0 46K context · ~109 tok/s
Apple
- M3 Pro 18 GB Q4_K_M 18K context · ~48 tok/s
- M2 24 GB Q4_K_M 128K context · ~33 tok/s
- M3 24 GB Q4_K_M 128K context · ~33 tok/s
- M4 24 GB Q4_K_M 128K context · ~39 tok/s
- M4 Pro 24 GB Q4_K_M 128K context · ~79 tok/s
- M5 24 GB Q4_K_M 128K context · ~49 tok/s
- M5 Pro 24 GB Q4_K_M 128K context · ~87 tok/s
- M6 24 GB Q4_K_M 128K context · ~53 tok/s
- M1 Max 32 GB Q8_0 46K context · ~79 tok/s
- M1 Pro 32 GB Q8_0 46K context · ~44 tok/s
- M2 Max 32 GB Q8_0 46K context · ~79 tok/s
- M2 Pro 32 GB Q8_0 46K context · ~44 tok/s
- M3 Max 36 GB Q8_0 126K context · ~62 tok/s
- M4 Max 36 GB Q8_0 126K context · ~80 tok/s
- M5 Max 36 GB Q8_0 126K context · ~88 tok/s
- M1 Ultra 64 GB Q8_0 128K context · ~102 tok/s
- M2 Ultra 64 GB Q8_0 128K context · ~102 tok/s
- M3 Ultra 96 GB Q8_0 128K context · ~104 tok/s
- M5 Ultra 96 GB Q8_0 128K context · ~136 tok/s