HomeCan I run it?Gemma 4 31BGemma 4 31B on a Mac mini 24GB
No. Gemma 4 31B at Q4_K_M needs about 22.8 GB, and the Mac mini M6 24GB has 18.0 GB usable at a ~4k context.
Can I run Gemma 4 31B on a Mac mini 24GB?
Gemma 4 31B at Q4_K_M needs about 22.8 GB, and the Mac mini M6 24GB has 18.0 GB usable. That figure is 24 GB of unified memory on the spec sheet, of which 18.0 GB is usable for weights and cache, at 170 GB/s memory bandwidth. Google’s dense Gemma 4 31B. Close in memory to Qwen3-32B, with a different training mix. These are estimates from our formula, not measured benchmarks.
- Quant that fits
- None of Q4, Q8 or FP16 needs 22.8 GB
- Memory needed
- 22.8 GB at Q4_K_M, ~4k context
- Usable unified memory
- 18.0 GB of 24 GB unified memory
- Est. tokens/sec
- n/a does not fit
Memory at each quant
| Quant | Need vs 18.0 GB | Verdict |
|---|---|---|
| Q4_K_M | 22.8 GB | Q4Won’t fit |
| Q8_0 | 39.2 GB | Q8Won’t fit |
| FP16 | 72.9 GB | FP16Won’t fit |
Estimated tokens per second
No speed estimate: Gemma 4 31B does not fit in the 18.0 GB this machine can use, so we do not publish a tokens/sec figure for CPU offload.
Context headroom
We do not have a published KV config for this model, so the memory need is the ~4k-context estimate only. Use the VRAM calculator to explore longer chats.
What to do instead
- Run Mistral Small 24B instead (17.7 GB at Q4). It is a different model, not a drop-in, but it does fit this machine.
- To hold Gemma 4 31B at Q4, you need about 22.8 GB. The GeForce RTX 3090 has 24.0 GB usable ($1499 list price).
- CPU offload can load the weights anyway, but it is slow. We do not publish an offload tokens/sec figure.
- See the best GPU for this model family and the Gemma 4 31B model page.
Other hardware for Gemma 4 31B
- Gemma 4 31B on an RTX 3060 12GBWon’t fit
- Gemma 4 31B on an RTX 3070 TiWon’t fit
- Gemma 4 31B on an RTX 3080Won’t fit
- Gemma 4 31B on an RTX 3090Tight
- Gemma 4 31B on an RTX 4060 Ti 16GBWon’t fit
- Gemma 4 31B on an RTX 4070 Ti SuperWon’t fit
Other models on a Mac mini 24GB
- Qwen3-32B on a Mac mini 24GBWon’t fit
- Qwen3-30B-A3B on a Mac mini 24GBWon’t fit
- Qwen3.8-27B on a Mac mini 24GBWon’t fit
- Gemma 3 27B on a Mac mini 24GBWon’t fit
- gpt-oss-20b on a Mac mini 24GBFits
- Mistral Small 24B on a Mac mini 24GBTight
Quick answers
- Can I run Gemma 4 31B on a Mac mini 24GB?
- No. Gemma 4 31B at Q4_K_M needs about 22.8 GB, and the Mac mini M6 24GB has 18.0 GB usable.
- How much VRAM does Gemma 4 31B need?
- About 22.8 GB at Q4_K_M, 39.2 GB at Q8_0 and 72.9 GB at FP16, estimated for a ~4k context.
- How fast is Gemma 4 31B on a Mac mini 24GB?
- We do not estimate tokens/sec when the model does not fit. CPU offload is possible but slow.