Apple M4 Max (32-core GPU) × Meta Llama 3.1 8B Instruct

Meta Llama 3.1 8B Instruct on Apple M4 Max (32-core GPU)

48.7best gen tok/s
584best prompt tok/s
4,352max context tested
8results

Measured · all numbers below come from the linked sources

llama.cpp

QuantGen tok/sPrompt tok/sSourceContext testedTTFTBuild
Q4_K - Medium48.7584LocalScore ↗512+1282,114 msllamafile 0.9.2
Q4_K - Medium48.7584LocalScore ↗512+1282,113 msllamafile 0.9.2
Q4_K - Medium48.3580LocalScore ↗512+1282,125 msllamafile 0.9.2
Q4_K - Medium47.7562LocalScore ↗4,3522,182 msllamafile 0.9.2
Q4_K - Medium47.5553LocalScore ↗512+1282,220 msllamafile 0.9.2
Q4_K - Medium47.2551LocalScore ↗512+1282,201 msllamafile 0.9.2
Q4_K - Medium42.2475LocalScore ↗4,3522,466 msllamafile 0.9.2
Q4_K - Medium33.7432LocalScore ↗4,3522,593 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 Max (32-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.