← CanIRunLocal · All hardware · All models

Can a Mac Studio M5 Ultra (64c GPU) 256GB run Gemma 3 4B?

Yes. Gemma 3 4B fits in fast memory on Mac Studio M5 Ultra (64c GPU) 256GB at Q8_0 (6.2 GB needed, 192.0 GB usable), about 192 tok/s (estimate).

Hardware: Mac Studio M5 Ultra (64c GPU) 256GB · Model: Gemma 3 4B

Mac Studio M5 Ultra (64c GPU) 256GB has 256 GB of unified memory and 1200 GB/s of memory bandwidth. Mac Studio M5 Ultra (80c GPU) 256GB has the same memory and bandwidth, so the fit numbers match; this page is Mac Studio M5 Ultra (64c GPU) 256GB. The checker leaves macOS a share of unified memory, so Ollama can use 192.0 GB. Gemma 3 4B (4.3B, Google) at Q8_0 is a 5 GB download and needs 6.2 GB with headroom for about 8k tokens.

Best quantQ8_0
Download size5 GB
Memory needed6.2 GB
Usable fast memory192.0 GB
Fitfits in fast memory
Estimated speed~192 tok/s (estimate)
Commandollama run gemma3:4b-it-q8_0
Open Mac Studio M5 Ultra (64c GPU) 256GB 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