Can I run it?
Can I run GLM 4.7 Flash on Apple M5 Pro?
Tight fit
Tight fit fully in unified memory on your Apple M5 Pro at UD-Q4_K_XL, 8K context, about 22–30 tok/s. Weights 16.3 GB plus 0.41 GB of KV cache — 17.2 GB of 18.0 GB usable. Up to 16K context still fits.
Best quantUD-Q4_K_XL
Working context8K
Max that fits16K
Speed22–30 tok/sEstimate from memory bandwidth, not a benchmark. Method.
Weights16.3 GB
KV cache0.41 GB
Total17.2 GB
Usable18.0 GB
GLM 4.7 Flash details · Apple M5 Pro page · How this estimate is made
Run commands
llama.cpp
llama-server -hf unsloth/GLM-4.7-Flash-GGUF:UD-Q4_K_XL -c 8192 -ngl 47
Ollama
ollama run glm-4.7-flash
LM Studio
lms get unsloth/GLM-4.7-Flash-GGUF # Then load quant UD-Q4_K_XL
Assumptions
- Estimate from memory bandwidth, not a benchmark. Decode speed uses 55–75% of peak bandwidth.
- KV cache is FP16. Engine overhead assumes llama.cpp (0.3 GB + 1% of the weights). Ollama is closer to 0.9 GB + 3%, LM Studio closer to 1 GB + 3%.
- UD-Q4_K_XL size is the real GGUF file size from Hugging Face.
- Unified memory uses 75% for the GPU by default, and always leaves about 5 GB for the OS.
- Speed is quoted at 8K context, not at the maximum context that still fits.
Larger models that also fit
- Can I run Qwen3.6 35B A3B on Apple M5 Pro? — Tight fit, UD-IQ4_XS, 23–31 tok/s (estimate)
- Can I run Qwen3.8 35B A3B Distill on Apple M5 Pro? — Tight fit, Q3_K_M, 23–31 tok/s (estimate)
- Can I run Qwen3.5 35B A3B on Apple M5 Pro? — Tight fit, UD-IQ4_XS, 23–32 tok/s (estimate)
Updated 2026-10-24. Profile on this page is the device default.