Can I run it?

Can I run gemma 4 12b it on Apple M5 Max (40-core GPU)?

Runs

Runs fully in unified memory on your Apple M5 Max (40-core GPU) at BF16, 8K context, about 12–17 tok/s. Weights 22.2 GB plus 0.81 GB of KV cache — 23.5 GB of 36.0 GB usable. Up to 200K context still fits.

Best quantBF16
Working context8K
Max that fits200K
Speed12–17 tok/s
Weights22.2 GB
KV cache0.81 GB
Total23.5 GB
Usable36.0 GB

gemma 4 12b it details · Apple M5 Max (40-core GPU) page · How this estimate is made

Run commands

llama.cpp
llama-server -hf unsloth/gemma-4-12b-it-GGUF:BF16 -c 8192 -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.