Can I run it?

Can I run gemma 4 E4B it on Apple M4?

Runs

Runs fully in unified memory on your Apple M4 at UD-Q8_K_XL, 8K context, about 7.0–9.6 tok/s. Weights 8.11 GB plus 0.14 GB of KV cache — 8.64 GB of 11.0 GB usable. Up to 128K context still fits.

Best quantUD-Q8_K_XL
Working context8K
Max that fits128K
Speed7.0–9.6 tok/s
Weights8.11 GB
KV cache0.14 GB
Total8.64 GB
Usable11.0 GB

gemma 4 E4B it details · Apple M4 page · How this estimate is made

Run commands

llama.cpp
llama-server -hf unsloth/gemma-4-E4B-it-GGUF:UD-Q8_K_XL -c 8192 -ngl 42
Ollama
ollama run gemma
LM Studio
lms get unsloth/gemma-4-E4B-it-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.