Apple M4 Pro (20-core GPU) × Meta Llama 3.1 8B Instruct

Meta Llama 3.1 8B Instruct on Apple M4 Pro (20-core GPU)

34.2best gen tok/s
369best prompt tok/s
640max context tested
17results

Measured · all numbers below come from the linked sources

llama.cpp

QuantGen tok/sPrompt tok/sSourceContext testedTTFTBuild
Q4_K - Medium34.2367LocalScore ↗512+1283,386 msllamafile 0.9.2
Q4_K - Medium33.1366LocalScore ↗512+1283,381 msllamafile 0.9.2
Q4_K - Medium33.0367LocalScore ↗512+1283,371 msllamafile 0.9.2
Q4_K - Medium32.9362LocalScore ↗512+1283,421 msllamafile 0.9.2
Q4_K - Medium32.8369LocalScore ↗512+1283,383 msllamafile 0.9.2
Q4_K - Medium32.8366LocalScore ↗512+1283,411 msllamafile 0.9.2
Q4_K - Medium32.7351LocalScore ↗512+1283,512 msllamafile 0.9.2
Q4_K - Medium32.7363LocalScore ↗512+1283,441 msllamafile 0.9.2
Q4_K - Medium32.7352LocalScore ↗512+1283,510 msllamafile 0.9.2
Q4_K - Medium32.7360LocalScore ↗512+1283,423 msllamafile 0.9.2
Q4_K - Medium32.6364LocalScore ↗512+1283,431 msllamafile 0.9.2
Q4_K - Medium32.6362LocalScore ↗512+1283,405 msllamafile 0.9.2
Q4_K - Medium32.5357LocalScore ↗512+1283,488 msllamafile 0.9.2
Q4_K - Medium32.5358LocalScore ↗512+1283,406 msllamafile 0.9.2
Q4_K - Medium32.1358LocalScore ↗512+1283,492 msllamafile 0.9.2
Q4_K - Medium31.8329LocalScore ↗512+1283,794 msllamafile 0.9.2
Q4_K - Medium31.6351LocalScore ↗512+1283,445 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 M4 Pro (20-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.