8 GB vs 16 GB RAM for Local AI: Can You Run LLMs on 8 GB?
8 GB is the base configuration for the cheapest MacBook Air and Mac Mini. Many potential AI users wonder whether it is enough or if they should spend extra for 16 GB. The short answer: 8 GB works but is limiting. Here is exactly what you can and cannot do at each level.
- 8 GB RAM
- 1wins
- Ties
- 0draws
- 16 GB RAM
- 4wins
- Categories compared
- 5
Verdict
16 GB RAM8 GB works for small models (Phi-4 Mini 3.8B, Qwen 3B, Llama 3.2 3B) but cannot run the 7-8B models that deliver truly useful quality. 16 GB is the minimum recommended for a good local AI experience. Moving to 16 GB is the single most impactful upgrade for AI.
Category-by-category breakdown
| Category | 8 GB RAM | 16 GB RAM | Winner |
|---|---|---|---|
| Max Model Size | 3.8B (Phi-4 Mini) with headroom | 7-8B Q4 comfortably | 16 GB RAM |
| Best Available Model | Phi-4 Mini 3.8B (decent quality) | Qwen2.5 7B or Llama 3.1 8B (good quality) | 16 GB RAM |
| Usability | Must close other apps during inference | Can run model alongside browser and editor | 16 GB RAM |
| Price (MacBook Air) | Lower (8 GB base) | Higher (16 GB) | 8 GB RAM |
| Long-term Value | Will struggle as models improve | Comfortable for 2-3 years | 16 GB RAM |
Detailed analysis
Max Model Size
16 GB RAM8 GB fits models up to 3.8B with room for the OS. 7B models technically load but cause heavy swap usage that slows everything down.
- 8 GB RAM
- 3.8B (Phi-4 Mini) with headroom
- 16 GB RAM
- 7-8B Q4 comfortably
Best Available Model
16 GB RAMThe jump from 3.8B to 7-8B is enormous in terms of model capability. 7B models are dramatically better at reasoning, coding, and following instructions.
- 8 GB RAM
- Phi-4 Mini 3.8B (decent quality)
- 16 GB RAM
- Qwen2.5 7B or Llama 3.1 8B (good quality)
Usability
16 GB RAMOn 8 GB, running even a 3B model alongside Chrome and VS Code is tight. 16 GB allows comfortable multitasking.
- 8 GB RAM
- Must close other apps during inference
- 16 GB RAM
- Can run model alongside browser and editor
Price (MacBook Air)
8 GB RAMThe 8 GB MacBook Air costs less, which matters for tight budgets.
- 8 GB RAM
- Lower (8 GB base)
- 16 GB RAM
- Higher (16 GB)
Long-term Value
16 GB RAMAs models get more efficient, 8 GB will run better models. But 16 GB provides a much larger safety margin for future model improvements.
- 8 GB RAM
- Will struggle as models improve
- 16 GB RAM
- Comfortable for 2-3 years
Get told when a better model fits your MacBook Air M5 16 GB
Get one email when a new open-weight model is a better fit for this machine.
For: MacBook Air M5 16 GB
You'll also get the weekly ModelFit email. By signing up you agree to our Privacy Policy. Unsubscribe from either email anytime, in one click.
Frequently asked questions
Can I run any AI models on 8 GB RAM?
Is 8 GB MacBook Air usable for AI?
What is the minimum RAM for a useful local AI setup?
Should I buy the 8 GB or 16 GB MacBook Air?
Related comparisons
- 16 GB vs 32 GB RAM for Local AI: How Much Memory Do You Actually Need?16 GB RAM vs 32 GB RAM
- Gemma vs Phi: The Best Small Models for Low RAMGemma vs Phi
- M4 vs M3 for Local AI: Is the Upgrade Worth It?Apple M4 vs Apple M3
- M4 Pro vs M4 Max for LLMs: When Does Max Make Sense?Apple M4 Pro vs Apple M4 Max
- M5 Pro vs M5 Max for Local LLMs: Which Should You Buy?Apple M5 Pro vs Apple M5 Max