Can I Run / Gemma 4 31B / on Apple M3 Ultra (96GB)

Can I Run Gemma 4 31B on a Apple M3 Ultra (96GB)?

Yes

Runs at full precision (fp16). Zero quality loss.

Model size
31.3B
GPU memory
96.0GB
Smallest quant
Q3_K_S
Best fit
fp16

11 quantizations fit your 96.0GB

QuantMin VRAMRecommendedFile sizeHeadroom
fp16BEST63.6 GB65.1 GB0.9 GB+32.4 GB
Q8_034.3 GB35.8 GB0.5 GB+61.7 GB
Q6_K26.8 GB28.3 GB25.2 GB+69.2 GB
Q5_K_M23.2 GB24.7 GB21.7 GB+72.8 GB
Q5_K_S22.6 GB24.1 GB21.1 GB+73.4 GB
Q4_120.6 GB22.1 GB19.1 GB+75.4 GB
Q4_K_M20.0 GB21.5 GB18.3 GB+76.0 GB
Q4_K_S18.9 GB20.4 GB17.4 GB+77.1 GB
Q4_018.6 GB20.1 GB17.3 GB+77.4 GB
Q3_K_M14.1 GB15.6 GB14.7 GB+81.9 GB
Q3_K_S13.1 GB14.6 GB13.2 GB+83.0 GB

Try it in the cloud first

Don't want to download Gemma 4 31B just to try it? Use a hosted API or rent a GPU by the second.

Affiliate links — we earn a commission at no cost to you.

Advertisement
Full model details
Gemma 4 31B

All quant variants, benchmark scores, and use-case tags.

Best models for this GPU
Apple M3 Ultra (96GB)

Top-ranked open-source models that fit in 96.0GB.

FAQ

Can the Apple M3 Ultra (96GB) run Gemma 4 31B?

Yes. The Apple M3 Ultra (96GB)'s 96.0GB of unified memory is enough to run Gemma 4 31B at fp16 quantization (63.6GB required).

What's the best quantization to use?

fp16 is the highest-precision quantization that fits in your 96.0GB. It uses about 63.6GB of memory and 65.1GB recommended for comfortable inference.

What if I need more headroom for context length?

KV cache memory grows with context length. The numbers above assume a baseline 2K-4K context. For long-context use (32K+), add another 2-6GB depending on the model architecture.