can-i-run-this-llm

Can I run this LLM?

Can a MacBook Air/Pro M4 (16GB) run Llama 3.1 8B?

Llama · Llama 3.1 Community · estimated for a 16.0 GB machine at 4K context.

Yes — it runs great.

Best fit: Llama 3.1 8B at Q5_K_M · 5.7 GB · 12–18 tok/s on a MacBook Air/Pro M4 (16GB).

Every quantization on this machine

QuantSizeSpeedFit
Q2_K2.6 GB22–34 tok/sRuns great
Q3_K_M3.5 GB18–27 tok/sRuns great
Q4_K_M4.9 GB14–21 tok/sRuns great
Q5_K_M5.7 GB12–18 tok/sRuns great
Q6_K6.6 GB11–16 tok/sTight / slow
Q8_08.5 GB8–13 tok/sTight / slow

Ran Llama 3.1 8B on a MacBook Air/Pro M4 (16GB)? Add your real numbers →