Gemma 3 27B on a Mac
Google · 27.4B parameters · Gemma Terms · released 2025-03
Weights @ Q4_K_M
15.6 GiB
the usual download size
KV cache
496 KB
per token, FP16
Max context
128K
tokens
Smallest Mac
32 GB
M4
Short answerA M4 32GB is the smallest Apple Silicon machine that loads Gemma 3 27B at Q4_K_M with an 8K context, at roughly 6 tokens/sec. MacBook Air 15" (M4) is the cheapest way to get that configuration.
Every Mac, ranked
| Mac | Memory | Needs | Tok/s | Verdict |
|---|---|---|---|---|
| M1 8GB | 8 GB | 21.1 GiB | 3 | No |
| M1 16GB | 16 GB | 21.1 GiB | 3 | No |
| M2 16GB | 16 GB | 21.1 GiB | 5 | No |
| M4 16GB | 16 GB | 21.1 GiB | 6 | No |
| M1 Pro 16GB | 16 GB | 21.1 GiB | 10 | No |
| M3 Pro 18GB | 18 GB | 21.1 GiB | 7 | No |
| M2 24GB | 24 GB | 21.1 GiB | 5 | No |
| M4 24GB | 24 GB | 21.1 GiB | 6 | No |
| M4 Pro 24GB | 24 GB | 21.1 GiB | 13 | No |
| M4 32GB | 32 GB | 21.1 GiB | 6 | Yes, comfortably |
| M1 Max 32GB | 32 GB | 21.1 GiB | 19 | Yes, comfortably |
| M2 Max 32GB | 32 GB | 21.1 GiB | 19 | Yes, comfortably |
| M3 Max 36GB | 36 GB | 21.1 GiB | 14 | Yes, comfortably |
| M4 Max 36GB | 36 GB | 21.1 GiB | 20 | Yes, comfortably |
| M4 Pro 48GB | 48 GB | 21.1 GiB | 13 | Yes, comfortably |
| M4 Max 48GB | 48 GB | 21.1 GiB | 26 | Yes, comfortably |
| M4 Pro 64GB | 64 GB | 21.1 GiB | 13 | Yes, comfortably |
| M1 Max 64GB | 64 GB | 21.1 GiB | 19 | Yes, comfortably |
| M4 Max 64GB | 64 GB | 21.1 GiB | 26 | Yes, comfortably |
| M2 Ultra 64GB | 64 GB | 21.1 GiB | 38 | Yes, comfortably |
| M2 Max 96GB | 96 GB | 21.1 GiB | 19 | Yes, comfortably |
| M3 Ultra 96GB | 96 GB | 21.1 GiB | 39 | Yes, comfortably |
| M3 Max 128GB | 128 GB | 21.1 GiB | 19 | Yes, comfortably |
| M4 Max 128GB | 128 GB | 21.1 GiB | 26 | Yes, comfortably |
| M2 Ultra 192GB | 192 GB | 21.1 GiB | 38 | Yes, comfortably |
| M3 Ultra 256GB | 256 GB | 21.1 GiB | 39 | Yes, comfortably |
| M3 Ultra 512GB | 512 GB | 21.1 GiB | 39 | Yes, comfortably |
Download size by quantisation
Weight memory scales linearly with bits per parameter. Everything below assumes an 8K context on top.
| Quantisation | Weights | Total @ 8K | Notes |
|---|---|---|---|
| FP16 | 51.0 GiB | 58.3 GiB | Full precision. Reference quality, twice the memory of Q8. |
| Q8_0 | 27.1 GiB | 33.1 GiB | Indistinguishable from FP16 in practice, at half the size. |
| Q6_K | 21.1 GiB | 26.8 GiB | Near-lossless. A good stop when you have memory to spare. |
| Q5_K_M | 18.2 GiB | 23.8 GiB | Slightly better than Q4_K_M, noticeably bigger. |
| Q4_K_M | 15.6 GiB | 21.1 GiB | The default. Best quality-per-gigabyte for most people. |
| Q3_K_M | 12.4 GiB | 17.7 GiB | Visible quality loss. Use to squeeze one size class up. |
| Q2_K | 9.6 GiB | 14.7 GiB | Last resort. Often worse than a smaller model at Q4. |