Skip to content
can-i-run-this-llm

Can I run this LLM?

Can a MacBook Air / Mac mini M4 (24GB) run Llama 3.1 8B?

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

Yes — it runs great.

Runs great

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

Arena Text Overall · style-controlled

1,211Q5_K_M untested

llama-3.1-8b-instruct · published configuration reference · Q5_K_M not tested

Arena Text Overall (style-controlled), exact published entry llama-3.1-8b-instruct, 2026-10-08: reference rating 1,211.3. Published confidence bounds 1,207.1–1,215.4. 49,605 votes. Published llama-3.1-8b-instruct configuration reference. Reasoning mode is not disclosed by the Arena dataset. Tested precision, runtime and sampling settings are not disclosed in this dataset. Selected Q5_K_M has not been measured by this Arena entry. No quantization quality adjustment is applied.

Snapshot published 2026-10-08 · snapshot imported 2026-10-11 UTC · validated last-good data · manual refresh

Arena leaderboard dataset · Arena / lmarena-ai, Arena Leaderboard Dataset (CC BY 4.0). Selected Text Overall style-controlled rows; field names adapted, ratings unchanged. · dataset CC BY 4.0 · revision e16f90232986

Total memory at 4K context
7.1 GB
Weights + KV cache + runtime overhead
Estimated generation
12–18 tok/s
Estimated first token
~23s

Every quantization on this machine

On small screens, each quant lists every metric below its name. On wider screens, scroll sideways for total memory, speed and fit. Keyboard: focus the table, then use the arrow keys. Quant names stay visible.

Llama 3.1 8B quantizations on MacBook Air / Mac mini M4 (24GB), estimated at 4K context. Weights and total memory are shown separately.
QuantWeightsTotal memorySpeedFit
Q2_K3.2 GB4.5 GB19–29 tok/sRuns great
Q3_K_M4.0 GB5.4 GB16–24 tok/sRuns great
Q4_K_M4.9 GB6.3 GB14–20 tok/sRuns great
Q5_K_M5.7 GB7.1 GB12–18 tok/sRuns great
Q6_K6.6 GB7.9 GB11–16 tok/sTight / slow
Q8_08.5 GB9.9 GB8–13 tok/sTight / slow

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