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

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

18.8best gen tok/s
149best prompt tok/s
640max context tested
3results

Measured · all numbers below come from the linked sources

llama.cpp

QuantGen tok/sPrompt tok/sSourceContext testedTTFTBuild
Q4_K - Medium18.8148LocalScore ↗512+1288,395 msllamafile 0.9.2
Q4_K - Medium17.9149LocalScore ↗512+1288,386 msllamafile 0.9.2
Q4_K - Medium12.9114LocalScore ↗512+12810,946 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 (8-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.