Can I run it?

Can I run gemma 4 12b it on Apple M4 Pro?

Runs

Runs fully in unified memory on your Apple M4 Pro at UD-Q8_K_XL, 8K context, about 8.9–12 tok/s. Weights 12.7 GB plus 0.81 GB of KV cache — 13.9 GB of 18.0 GB usable. Up to 64K context still fits.

Best quantUD-Q8_K_XL
Working context8K
Max that fits64K
Speed8.9–12 tok/s
Weights12.7 GB
KV cache0.81 GB
Total13.9 GB
Usable18.0 GB

gemma 4 12b it details · Apple M4 Pro page · How this estimate is made

Run commands

llama.cpp
llama-server -hf unsloth/gemma-4-12b-it-GGUF:UD-Q8_K_XL -c 8192 -ngl 48
Ollama
ollama run gemma
LM Studio
lms get unsloth/gemma-4-12b-it-GGUF
# Then load quant UD-Q8_K_XL

Assumptions

Larger models that also fit

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