Apple M2 Pro (16-core GPU) × Meta Llama 3.1 8B Instruct

Meta Llama 3.1 8B Instruct on Apple M2 Pro (16-core GPU)

25.0best gen tok/s
229best prompt tok/s
4,352max context tested
5results

Measured · all numbers below come from the linked sources

llama.cpp

QuantGen tok/sPrompt tok/sSourceContext testedTTFTBuild
Q4_K - Medium25.0229LocalScore ↗512+1285,430 msllamafile 0.9.2
Q4_K - Medium24.5224LocalScore ↗4,3525,677 msllamafile 0.9.2
Q4_K - Medium24.3226LocalScore ↗512+1285,560 msllamafile 0.9.2
Q4_K - Medium23.8209LocalScore ↗512+1286,068 msllamafile 0.9.2
Q4_K - Medium23.6219LocalScore ↗512+1285,733 msllamafile 0.9.2

Ollama

No measured Ollama results yet. Submit yours →

MLX

No measured MLX results yet. Submit yours →

"Context tested" is the largest prompt+generation length actually benchmarked (tokens), not a memory-fit estimate.

What else can Apple M2 Pro (16-core GPU) run? →

Includes results from LocalScore, a Mozilla Builders project by cjpais, mirrored in the cn0303/local-llm-speed-benchmarks dataset. LocalScore runs use llamafile, which is built on llama.cpp.