Disclosure As an Amazon Associate I earn from qualifying purchases. Some links on this page are affiliate links. If you sign up or buy through them, LocalAI Moa may earn a commission at no extra cost to you.
Running Google Gemma 4 31B IT on Mac mini M5 Pro 64GB
Running Google Gemma 4 31B IT (Q5_K_M) on Mac mini M5 Pro 64GB at 8K context uses 24.5GB of memory at ~8.6 tok/s (est.). Fits entirely in memory. Comfortable for chat, with modest wait times on long generations.
- Tokens/sec
- 8.6 Est.
- Free Headroom
- 23.5GB
- Max Context
- 98K
- Speed Rank
- #28/ 43
Scaling Context Length
| Context | Required | Status |
|---|---|---|
| 8K | 24.5GB | Runs Well |
| 16K | 26.6GB | Runs Well |
| 32K | 30.8GB | Runs Well |
| 64K | 39.1GB | Runs Well |
| 128K | 55.8GB | No Fit |
Switching Quantization
| Quant | Required | Status | Tokens/s |
|---|---|---|---|
| UD-Q3_K_XL | 18.3GB | Runs Well | 12 |
| IQ4_XS | 19.3GB | Runs Well | 11 |
| Q4_K_M | 21.2GB | Runs Well | 10 |
| UD-Q4_K_XL | 21.7GB | Runs Well | 9.9 |
| Q5_K_M | 24.5GB | Runs Well | 8.6 |
| Q6_K | 28.1GB | Tight | 7.4 |
| Q8_0 | 35.5GB | Tight | 5.8 |
Other Options
Before spending thousands on a new GPU or workstation, spin up an hourly RTX 5090, H100, or B200 on RunPod to verify real-world speed and output quality.
Referral perk · Spend your first $10 after signing up to unlock a $5–$500 random credit bonus.
I want to run Google Gemma 4 31B IT on a cloud GPU using RunPod. I have already created a RunPod account, and this is my first time setting up a pod. Please look up the current setup steps and guide me step by step—from choosing the right GPU and template to downloading the weights and running inference smoothly.