About the Gemma family
Gemma is Google's family of open models. Gemma 4 (Apache-2.0) adds a 26B A4B mixture-of-experts model and 256K context on the larger sizes; Gemma 3 models use Google's Gemma terms of use. See our Gemma 4 requirements guide for the multimodal details.
Best Gemma model for each Mac
| Mac | Best pick | Size | Expected speed |
|---|---|---|---|
| Mac mini M6 16GB | Gemma 4 E4B (Q4_K_M) | 6.6 GB | ~17.4 tok/s |
| Mac mini M6 32GB | Gemma 4 26B-A4B (Q4_K_M) | 18 GB | ~28.2 tok/s |
| Mac mini M5 Pro 64GB | Gemma 4 26B-A4B (Q4_K_M) | 18 GB | ~50.9 tok/s |
| Mac Studio M5 Max 128GB | Gemma 4 31B (Q4_K_M) | 20 GB | ~23.0 tok/s |
| Mac Studio M5 Ultra 512GB | Gemma 4 31B (Q4_K_M) | 20 GB | ~45.0 tok/s |
Every Gemma model we track
| Model | Params (active) | Size | License | Smallest Mac |
|---|---|---|---|---|
| Gemma 3 1B (Q4_K_M) | 1B | 0.8 GB | Gemma Terms of Use | 8 GB |
| Gemma 3 4B (Q4_K_M) | 4.3B | 3.4 GB | Gemma Terms of Use | 8 GB |
| Gemma 4 E2B (Q4_K_M) | 5.1B | 4.6 GB | Apache-2.0 | 16 GB |
| Gemma 4 E4B (Q4_K_M) | 8B | 6.6 GB | Apache-2.0 | 16 GB |
| Gemma 4 12B (Q4_K_M) | 11.95B | 8 GB | Apache-2.0 | 16 GB |
| Gemma 3 12B (Q4_K_M) | 12.2B | 8.2 GB | Gemma Terms of Use | 16 GB |
| Gemma 3 27B (Q4_K_M) | 27.4B | 17 GB | Gemma Terms of Use | 24 GB |
| Gemma 4 26B-A4B (Q4_K_M) | 25.2B (3.8B) | 18 GB | Apache-2.0 | 24 GB |
| Gemma 4 31B (Q4_K_M) | 30.7B | 20 GB | Apache-2.0 | 24 GB |
Expected speed on four Macs
| Model | Mac mini M6 16GB | Mac mini M6 32GB | Mac mini M5 Pro 64GB | Mac Studio M5 Max 128GB |
|---|---|---|---|---|
| Gemma 3 1B (Q4_K_M) 0.8 GB | ||||
| Gemma 3 4B (Q4_K_M) 3.4 GB | ||||
| Gemma 4 E2B (Q4_K_M) 4.6 GB | ||||
| Gemma 4 E4B (Q4_K_M) 6.6 GB | ||||
| Gemma 4 12B (Q4_K_M) 8 GB | ||||
| Gemma 3 12B (Q4_K_M) 8.2 GB | ||||
| Gemma 3 27B (Q4_K_M) 17 GB | ||||
| Gemma 4 26B-A4B (Q4_K_M) 18 GB | ||||
| Gemma 4 31B (Q4_K_M) 20 GB | NoDoesn't fit |
Mixture-of-experts models (shown with active parameters) read only part of the model per token, so they run much faster than dense models of the same size. See mixture of experts, explained.
Which one is good enough for your work?
FAQ
Which Gemma model can my Mac run?
What is the best Gemma model for a 32 GB Mac?
How much memory does Gemma 4 31B need?
See any model on the exact Mac you're considering.
Speeds come from published measurements (with source links) or labeled estimates. How we measure