← CanIRunLocal · All hardware · All models

Can a M4 16GB run Llama 3.1 8B?

Yes. Llama 3.1 8B fits in fast memory on M4 16GB at Q8_0 (9.5 GB needed, 10.7 GB usable), about 11 tok/s (estimate).

Hardware: M4 16GB · Model: Llama 3.1 8B

M4 16GB has 16 GB of unified memory and 120 GB/s of memory bandwidth. The checker leaves macOS a share of unified memory, so Ollama can use 10.7 GB. Llama 3.1 8B (8.03B, Meta) at Q8_0 is a 8.5 GB download and needs 9.5 GB with headroom for about 8k tokens.

Best quantQ8_0
Download size8.5 GB
Memory needed9.5 GB
Usable fast memory10.7 GB
Fitfits in fast memory
Estimated speed~11 tok/s (estimate)
Commandollama run llama3.1:8b-instruct-q8_0
Open M4 16GB in the checker

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-23.

A project by OnDevice Labs · llms.txt