Best Local LLMs for 8GB RAM
Ranked open-weight models that run well on a 8GB machine, with estimated speed and the run command for each.
Try: Qwen3 8B, RTX 4090, MacBook Pro M4, 16GB, iPhone 17 Pro
Best local models for ~8GB
12 picksEstimates assume a representative Apple-Silicon machine with 8GB unified memory. Tok/s are ModelFit estimates, not measured benchmarks; typical error is the median gap to measured runs on hardware the model was not fitted on (how the estimates work). Run the wizard for figures tuned to your exact chip.
- 01
Qwen3.5 4B Instruct
Best for coding, agents, multimodal. Strong fit for 8 GB RAM with balanced speed and quality.
$ollama run qwen3.5:4b- Fit
- Runs wellB · 37
- Best for
- Coding, Agents, Multimodal
- Perf
- est. 30 tok/s, typical error 10% · first token ~2.7s
- 02
Gemma 4 E4B
Best for on-device, mobile, chat. Strong fit for 8 GB RAM with balanced speed and quality.
$ollama run gemma4:e4b- Fit
- Runs wellB · 29
- Best for
- On-device, Mobile, Chat
- Perf
- est. 24 tok/s, typical error 10% · first token ~5.2s
- 03
LFM2.5 8B-A1B
This model may feel memory-heavy on 8 GB RAM, but it is still listed for balanced speed and quality.
$ollama run lfm2.5:8b-a1b-q4_K_M- Fit
- Runs wellC · 2
- Best for
- On-device agents, tool calling, multilingual chat
- Perf
- est. 49 tok/s, typical error 10% · first token ~1.1s
- 04
Qwen3.5 4B Instruct (Q8)
This model may feel memory-heavy on 8 GB RAM, but it is still listed for balanced speed and quality.
$ollama run qwen3.5:4b-q8_0- Fit
- Runs wellC · 23
- Best for
- Coding, Agents, Multimodal
- Perf
- est. 18 tok/s, typical error 10% · first token ~2.8s
- 05
Gemma 4 E2B (Q8)
This model may feel memory-heavy on 8 GB RAM, but it is still listed for balanced speed and quality.
$ollama run gemma4:e2b-it-q8_0- Fit
- Runs wellC · 18
- Best for
- IoT, Mobile, Edge
- Perf
- est. 40 tok/s, typical error 10% · first token ~2.9s
- 06
Ministral 3 3B
Best for chat, vision, edge. Strong fit for 8 GB RAM with balanced speed and quality.
$ollama run ministral-3:3b- Fit
- Runs wellB · 46
- Best for
- Chat, Vision, Edge
- Perf
- est. 25 tok/s, typical error 10% · first token ~2.7s
- 07
Gemma 4 E2B
Best for iot, mobile, edge. Strong fit for 8 GB RAM with balanced speed and quality.
$ollama run gemma4:e2b- Fit
- Runs wellB · 59
- Best for
- IoT, Mobile, Edge
- Perf
- est. 55 tok/s, typical error 10% · first token ~2.8s
- 08
Granite 4.2 8B
This model may feel memory-heavy on 8 GB RAM, but it is still listed for balanced speed and quality.
$ollama run granite4.2:8b- Fit
- Runs wellC · 11
- Best for
- Chat, Coding
- Perf
- est. 15 tok/s, typical error 10% · first token ~6.6s
- 09
Qwen3.5 2B Instruct
Best for chat, edge tasks. Strong fit for 8 GB RAM with balanced speed and quality.
$ollama run qwen3.5:2b- Fit
- Lots of roomA · 68
- Best for
- Chat, Edge tasks
- Perf
- est. 40 tok/s, typical error 5% · first token ~1.2s
- 10
Ornith 1.0 9B
This model may feel memory-heavy on 8 GB RAM, but it is still listed for balanced speed and quality.
$ollama run ornith:9b- Fit
- Runs wellC · 0
- Best for
- Agentic coding on small machines
- Perf
- est. 17 tok/s, typical error 10% · first token ~5.8s
- 11
Granite 4.2 3B
Best for chat, coding. Strong fit for 8 GB RAM with balanced speed and quality.
$ollama run granite4.2:3b- Fit
- Lots of roomA · 63
- Best for
- Chat, Coding
- Perf
- est. 34 tok/s, typical error 10% · first token ~2.8s
- 12
Phi-4 Mini 3.8B
Best for coding, chat. Strong fit for 8 GB RAM with balanced speed and quality.
$ollama run phi4-mini:3.8b- Fit
- Runs wellB · 43
- Best for
- Coding, Chat
- Perf
- est. 28 tok/s, typical error 10% · first token ~2.9s
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.
Browse by RAM tier
Want an exact recommendation?
The wizard tunes picks and speed estimates to your exact device, chip, and RAM.