← CanIRunLocal · All hardware · All models

Can a M2 24GB run Gemma 4 12B?

Yes. Gemma 4 12B fits in fast memory on M2 24GB at Q8_0 (14.6 GB needed, 16.1 GB usable), about 6 tok/s (estimate).

Hardware: M2 24GB · Model: Gemma 4 12B

M2 24GB has 24 GB of unified memory and 100 GB/s of memory bandwidth. M3 24GB has the same memory and bandwidth, so the fit numbers match; this page is M2 24GB. The checker leaves macOS a share of unified memory, so Ollama can use 16.1 GB. Gemma 4 12B (12B, Google) at Q8_0 is a 13 GB download and needs 14.6 GB with headroom for about 8k tokens.

Best quantQ8_0
Download size13 GB
Memory needed14.6 GB
Usable fast memory16.1 GB
Fitfits in fast memory
Estimated speed~6 tok/s (estimate)
Commandollama run gemma4:12b-it-q8_0
Open M2 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