Can I run it?

Can I run gemma 3 4b it on Apple M5?

Runs

Runs fully in unified memory on your Apple M5 at BF16, 8K context, about 9.4–13 tok/s. Weights 7.23 GB plus 0.30 GB of KV cache — 7.90 GB of 11.0 GB usable. Up to 128K context still fits.

Best quantBF16
Working context8K
Max that fits128K
Speed9.4–13 tok/s
Weights7.23 GB
KV cache0.30 GB
Total7.90 GB
Usable11.0 GB

gemma 3 4b it details · Apple M5 page · How this estimate is made

Run commands

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

Assumptions

Larger models that also fit

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