Can MacBook Air M3 16 GB run Gemma 4 31B?
16 GB unified · 100 GB/s memory bandwidth · Gemma 4 31B has 31.3B parameters.
Short answer
No. It doesn't fit in memory.
Needs ≈16 GB but only ≈8.5 GB is available after the OS, other apps and Open WebUI.
Why it doesn’t fit
Even its smallest practical version (3-bit) needs about 16 GB for the model, its context memory and the runtime. After macOS (≈3.5 GB), a browser with a few tabs (≈3.0 GB) and Open WebUI (≈1.0 GB), MacBook Air M3 16 GB has about 8.5 GB left, so it’s 7.1 GB short.
Ways to make it work
Close everything else
Not enough on its own: with every other app closed it’s still about 4.1 GB short.
Pick a smaller model from the same family
Get more memory
You’d want at least 23 GB of memory in total. The machines below are the cheapest that run it comfortably.
Check your exact setup
These pages assume typical settings. A shorter context or a lighter chat app can change the answer.
Check MacBook Air M3 16 GB
The same applies to every workload we rate (chat, coding questions, coding in a repository, agentic coding and long documents): they all need at least as much memory as chat.
Other models for MacBook Air M3 16 GB
The best-rated models for chat on this machine.
- MiniCPM5 2B25–30 tok/sExcellent
- Qwen3.5 4B19–25 tok/sExcellent
- Llama 3.2 3B Instruct20–30 tok/sExcellent
- Qwen3.5 9B12–16 tok/sComfortable
- GLM-4.6V-Flash (10B)11–15 tok/sComfortable
- Qwen3 8B13–17 tok/sComfortable
Cheapest machines for Gemma 4 31B
Hardware rated comfortable or better for chat, lowest price first.
- Desktop PC · Intel Arc Pro B60 24GB · 32 GB RAM$1,500 · 9–16 tok/sComfortable
- Ryzen AI Max+ 395 mini PC / Framework Desktop · 64 GB$1,600 · 10–14 tok/sComfortable
- Desktop PC · Intel Arc Pro B60 24GB · 64 GB RAM$1,628 · 9–16 tok/sComfortable
- Desktop PC · GeForce RTX 3090 · 32 GB RAM$1,700 · 30–40 tok/sExcellent
- Desktop PC · Radeon RX 7900 XTX · 32 GB RAM$1,800 · 30–45 tok/sExcellent
- Desktop PC · GeForce RTX 3090 · 64 GB RAM$1,828 · 30–40 tok/sExcellent
Different tool, context size or workload?
These pages use typical settings. The full check models your exact setup.