← CanIRunLocal · All hardware · All models

Can a M4 Pro 64GB run Gemma 4 31B?

Yes. Gemma 4 31B fits in fast memory on M4 Pro 64GB at Q8_0 (36.5 GB needed, 48.0 GB usable), about 6 tok/s (estimate).

Hardware: M4 Pro 64GB · Model: Gemma 4 31B

M4 Pro 64GB has 64 GB of unified memory and 273 GB/s of memory bandwidth. The checker leaves macOS a share of unified memory, so Ollama can use 48.0 GB. Gemma 4 31B (31.3B, Google) at Q8_0 is a 34 GB download and needs 36.5 GB with headroom for about 8k tokens.

Best quantQ8_0
Download size34 GB
Memory needed36.5 GB
Usable fast memory48.0 GB
Fitfits in fast memory
Estimated speed~6 tok/s (estimate)
Commandollama run gemma4:31b-it-q8_0
Open M4 Pro 64GB 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