← CanIRunLocal · All hardware · All models

Can a M4 24GB run Gemma 4 26B-A4B (MoE)?

No. Gemma 4 26B-A4B (MoE) does not fit on M4 24GB: Q4_K_M needs 19.6 GB and 16.1 GB is usable.

Hardware: M4 24GB · Model: Gemma 4 26B-A4B (MoE)

M4 24GB has 24 GB of unified memory and 120 GB/s of memory bandwidth. The checker leaves macOS a share of unified memory, so Ollama can use 16.1 GB. Gemma 4 26B-A4B (MoE) (25.8B, 3.8B active, Google) at Q4_K_M is a 18 GB download and needs 19.6 GB with headroom for about 8k tokens.

Best quantQ4_K_M
Download size18 GB
Memory needed19.6 GB
Usable fast memory16.1 GB
Fitdoes not fit
Estimated speedno estimate, it does not fit
Commandollama run gemma4:26b-a4b-it-q4_K_M

Smallest hardware that runs it: RTX 3060 12GB at Q4_K_M (partial offload (slower), 19.6 GB needed, 11.5 GB usable, about 14 tok/s (estimate)). Can a RTX 3060 12GB run Gemma 4 26B-A4B (MoE)?

A smaller Google model that fits this hardware: Gemma 3 12B at Q8_0 (fits in fast memory, 14.6 GB). Can a M4 24GB run Gemma 3 12B?

Open M4 24GB in the checker

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-23.

A project by OnDevice Labs · llms.txt