Can I run it?

Can I run GLM 4.7 Flash on Apple M4 Max (40-core GPU)?

Tight fit

Tight fit fully in unified memory on your Apple M4 Max (40-core GPU) at UD-Q8_K_XL, 8K context, about 37–51 tok/s. Weights 33.2 GB plus 0.41 GB of KV cache — 34.2 GB of 36.0 GB usable. Up to 16K context still fits.

Best quantUD-Q8_K_XL
Working context8K
Max that fits16K
Speed37–51 tok/s
Weights33.2 GB
KV cache0.41 GB
Total34.2 GB
Usable36.0 GB

GLM 4.7 Flash details · Apple M4 Max (40-core GPU) page · How this estimate is made

Run commands

llama.cpp
llama-server -hf unsloth/GLM-4.7-Flash-GGUF:UD-Q8_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-Q8_K_XL

Assumptions

Larger models that also fit

Updated 2026-10-24. Profile on this page is the device default.