Can You Run Gemma 4 on a MacBook Air (8GB)?
Yes — best fit is Gemma 4 E2B at Q4_0 (4-bit) (~2.5GB) ⚠️ Tight, using 3GB of usable memory on a 8GB MacBook Air.
Every Gemma 4 model on this configuration
| Model | Best quant | Size | Status |
|---|---|---|---|
| Gemma 4 E2B | Q4_0 (4-bit) | ~2.5 GB | ⚠️ Tight |
| Gemma 4 E4B | — | — | ❌ Won't fit |
| Gemma 4 12B | — | — | ❌ Won't fit |
| Gemma 4 26B A4B | — | — | ❌ Won't fit |
| Gemma 4 31B | — | — | ❌ Won't fit |
How we got this verdict
8 - 5 = 3GB usable (macOS and background processes reserve roughly 5 GB of unified memory).
E2B lands on Q4_0 here, so grab the official QAT (quantization-aware training) checkpoint instead of a generic Q4_0 quant. Google shipped a full-quality QAT build for E2B at essentially the same ~4.3GB download size, with noticeably better output quality than a naive 4-bit quant. See the QAT guide for exact file names.
Going up to 16GB (16GB) unlocks 12B at Q4_0 (4-bit) — a step up from E2B here.
Real-world notes for this configuration
8GB was the standard memory configuration across every MacBook Air from the M1 through the M3 generation — Apple only moved the entry point up to 16GB with the M4 Air. If you're shopping the used market, this is by far the most common Air configuration you'll find, which is exactly why it's worth checking a listing's memory spec before assuming a cheap "M2 Air" has real headroom for local AI work.
- ⚠No fan: sustained generation in a warm room, in direct sun, or inside a sleeve with blocked vents throttles sooner than on any higher-memory Air, since the chip is already working harder against a smaller memory pool.
- ⚠macOS plus an open browser can eat most of the headroom above the OS's own unified-memory reservation — close background apps before a session rather than assuming the full 8GB is available to you.
Try a different configuration
Best fit: Gemma 4 E2B · Q4_0 (4-bit) · ~2.5 GB ⚠️ Tight
FAQ
Can a MacBook Air (8GB) run the 31B flagship model?
No — the 31B model needs at least 17.4GB usable memory even at Q4_0, and this configuration only has 3GB usable. Gemma 4 E2B is the largest model that fits here.
What's the best Gemma 4 model for a MacBook Air (8GB)?
Gemma 4 E2B at Q4_0 (4-bit) (~2.5GB) is the best fit — it's the largest model that runs at all (tightly) within the 3GB of usable memory here.
What if I have more or less memory than 8GB?
With more (e.g. 16GB), you can run larger models or the same model more comfortably — see the MacBook Air page. This is already close to the practical floor for running Gemma 4 at all.
Why did Apple stop selling an 8GB MacBook Air?
The M4 Air (2025) raised the standard configuration to 16GB, reflecting how much more memory-hungry everyday use — including local AI — had become. 8GB Airs remain common secondhand across the M1, M2, and M3 generations.
Does the chip generation (M1 vs M2 vs M3) matter more than the 8GB ceiling?
For what fits, no — all three chips share the same 8GB unified-memory pool and the same OS reservation, so the ceiling doesn't move between generations. Chip generation changes how fast the model runs, not what it can hold.