Can I run it?

Can I run gemma 4 12b it on Apple M1 Max?

Tight fit

Tight fit fully in unified memory on your Apple M1 Max at BF16, 4K context, about 8.6–12 tok/s. Weights 22.2 GB plus 0.56 GB of KV cache — 23.3 GB of 24.0 GB usable.

Best quantBF16
Working context4K
Max that fits4K
Speed8.6–12 tok/sEstimate from memory bandwidth, not a benchmark. Method.
Weights22.2 GB
KV cache0.56 GB
Total23.3 GB
Usable24.0 GB

gemma 4 12b it details · Apple M1 Max page · How this estimate is made

Run commands

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

Assumptions

Larger models that also fit

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