← CanIRunLocal · All hardware · All models

Can I run GLM-4.7-Flash 30B-A3B (MoE) locally?

Z.ai · 31.2B parameters (3B active) · chat, reasoning, coding.

Ollama weight files: Q4_K_M 19 GB (glm-4.7-flash:latest); Q8_0 32 GB (glm-4.7-flash:q8_0).

Yes on 47 machines in this list. The smallest is RTX 3060 12GB: Q4_K_M, about 20.4 GB, roughly 20 tokens per second, via Ollama. ollama run glm-4.7-flash:latest

Setup on DGX Spark 128GB (NVIDIA, ASUS, Dell, Lenovo, HP, MSI, Acer, Gigabyte)

Open GLM-4.7-Flash 30B-A3B (MoE) in the checker

Hardware that fits

HardwareRuntimeQuantMemoryFitSpeedCommand
RTX 3060 12GBOllamaQ4_K_M20.4 GBpartial offload (slower)~20 tok/sollama run glm-4.7-flash:latest
RTX 4070 12GBOllamaQ4_K_M20.4 GBpartial offload (slower)~21 tok/sollama run glm-4.7-flash:latest
RTX 5070 12GBOllamaQ4_K_M20.4 GBpartial offload (slower)~22 tok/sollama run glm-4.7-flash:latest
RTX 4060 Ti 16GBOllamaQ4_K_M20.4 GBpartial offload (slower)~26 tok/sollama run glm-4.7-flash:latest
RTX 4070 Ti Super 16GBOllamaQ4_K_M20.4 GBpartial offload (slower)~35 tok/sollama run glm-4.7-flash:latest
RTX 4080 16GBOllamaQ4_K_M20.4 GBpartial offload (slower)~35 tok/sollama run glm-4.7-flash:latest
RTX 5080 16GBOllamaQ4_K_M20.4 GBpartial offload (slower)~37 tok/sollama run glm-4.7-flash:latest
RX 7800 XT 16GBOllamaQ4_K_M20.4 GBpartial offload (slower)~34 tok/sollama run glm-4.7-flash:latest
RX 9070 XT 16GBOllamaQ4_K_M20.4 GBpartial offload (slower)~34 tok/sollama run glm-4.7-flash:latest
RTX 3090 24GBOllamaQ4_K_M20.4 GBfits in fast memory~154 tok/sollama run glm-4.7-flash:latest
RTX 4090 24GBOllamaQ4_K_M20.4 GBfits in fast memory~166 tok/sollama run glm-4.7-flash:latest
RX 7900 XTX 24GBOllamaQ4_K_M20.4 GBfits in fast memory~158 tok/sollama run glm-4.7-flash:latest
M1 Pro 32GBOllamaQ4_K_M20.4 GBfits in fast memory~44 tok/sollama run glm-4.7-flash:latest
M2 Pro 32GBOllamaQ4_K_M20.4 GBfits in fast memory~44 tok/sollama run glm-4.7-flash:latest
M4 32GBOllamaQ4_K_M20.4 GBfits in fast memory~26 tok/sollama run glm-4.7-flash:latest
M3 Pro 36GBOllamaQ4_K_M20.4 GBfits in fast memory~33 tok/sollama run glm-4.7-flash:latest
Mac Studio M4 Max (32c GPU) 36GBOllamaQ4_K_M20.4 GBfits in fast memory~90 tok/sollama run glm-4.7-flash:latest
Mac Studio M5 Max (32c GPU) 36GBOllamaQ4_K_M20.4 GBfits in fast memory~101 tok/sollama run glm-4.7-flash:latest
RTX 5090 32GBOllamaQ4_K_M20.4 GBfits in fast memory~294 tok/sollama run glm-4.7-flash:latest
M4 Pro 48GBOllamaQ8_033.4 GBfits in fast memory~35 tok/sollama run glm-4.7-flash:q8_0
Mac Studio M4 Max (40c GPU) 48GBOllamaQ8_033.4 GBfits in fast memory~71 tok/sollama run glm-4.7-flash:q8_0
Mac Studio M5 Max (40c GPU) 48GBOllamaQ8_033.4 GBfits in fast memory~80 tok/sollama run glm-4.7-flash:q8_0
M1 Max 64GBOllamaQ8_033.4 GBfits in fast memory~52 tok/sollama run glm-4.7-flash:q8_0
M2 Max 64GBOllamaQ8_033.4 GBfits in fast memory~52 tok/sollama run glm-4.7-flash:q8_0
M3 Max 64GBOllamaQ8_033.4 GBfits in fast memory~52 tok/sollama run glm-4.7-flash:q8_0
M4 Max 64GBOllamaQ8_033.4 GBfits in fast memory~71 tok/sollama run glm-4.7-flash:q8_0
Mac Studio M4 Max (40c GPU) 64GBOllamaQ8_033.4 GBfits in fast memory~71 tok/sollama run glm-4.7-flash:q8_0
Mac Studio M5 Max (40c GPU) 64GBOllamaQ8_033.4 GBfits in fast memory~80 tok/sollama run glm-4.7-flash:q8_0
DGX Spark 64GB (ASUS, Dell, HP, MSI, Acer, Gigabyte)OllamaQ8_033.4 GBfits in fast memory~51 tok/sollama run glm-4.7-flash:q8_0
Mac Studio M3 Ultra 96GBOllamaQ8_033.4 GBfits in fast memory~106 tok/sollama run glm-4.7-flash:q8_0
Mac Studio M5 Ultra 96GBOllamaQ8_033.4 GBfits in fast memory~156 tok/sollama run glm-4.7-flash:q8_0
M3 Max 128GBOllamaQ8_033.4 GBfits in fast memory~52 tok/sollama run glm-4.7-flash:q8_0
M4 Max 128GBOllamaQ8_033.4 GBfits in fast memory~71 tok/sollama run glm-4.7-flash:q8_0
Mac Studio M4 Max (40c GPU) 128GBOllamaQ8_033.4 GBfits in fast memory~71 tok/sollama run glm-4.7-flash:q8_0
Mac Studio M5 Max (40c GPU) 128GBOllamaQ8_033.4 GBfits in fast memory~80 tok/sollama run glm-4.7-flash:q8_0
DGX Spark 128GB (NVIDIA, ASUS, Dell, Lenovo, HP, MSI, Acer, Gigabyte)OllamaQ8_033.4 GBfits in fast memory~51 tok/sollama run glm-4.7-flash:q8_0
M2 Ultra 192GBOllamaQ8_033.4 GBfits in fast memory~104 tok/sollama run glm-4.7-flash:q8_0
2x Mac Studio M5 Max (40c GPU) 128GBllama.cppQ8_0 GGUF33.2 GBfits in fast memory~68 tok/sllama-server -hf unsloth/GLM-4.7-Flash-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node
Mac Studio M3 Ultra 256GBOllamaQ8_033.4 GBfits in fast memory~106 tok/sollama run glm-4.7-flash:q8_0
Mac Studio M5 Ultra (64c GPU) 256GBOllamaQ8_033.4 GBfits in fast memory~156 tok/sollama run glm-4.7-flash:q8_0
Mac Studio M5 Ultra (80c GPU) 256GBOllamaQ8_033.4 GBfits in fast memory~156 tok/sollama run glm-4.7-flash:q8_0
2x DGX Spark 128GBllama.cppQ8_0 GGUF33.2 GBfits in fast memory~44 tok/sllama-server -hf unsloth/GLM-4.7-Flash-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node
4x Mac Studio M5 Max (40c GPU) 128GBllama.cppQ8_0 GGUF33.2 GBfits in fast memory~60 tok/sllama-server -hf unsloth/GLM-4.7-Flash-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node
2x Mac Studio M5 Ultra (80c GPU) 256GBllama.cppQ8_0 GGUF33.2 GBfits in fast memory~133 tok/sllama-server -hf unsloth/GLM-4.7-Flash-GGUF:Q8_0 --rpc node2:50052 -c 8192 # run rpc-server on each other node
Mac Studio M3 Ultra (80c GPU) 512GBOllamaQ8_033.4 GBfits in fast memory~106 tok/sollama run glm-4.7-flash:q8_0
4x DGX Spark 128GBllama.cppQ8_0 GGUF33.2 GBfits in fast memory~38 tok/sllama-server -hf unsloth/GLM-4.7-Flash-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node
4x Mac Studio M5 Ultra (80c GPU) 256GBllama.cppQ8_0 GGUF33.2 GBfits in fast memory~118 tok/sllama-server -hf unsloth/GLM-4.7-Flash-GGUF:Q8_0 --rpc node2:50052,node3:50052,node4:50052 -c 8192 # run rpc-server on each other node

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-18.

A project by OnDevice Labs · llms.txt