Black Friday week: local AI hardware on sale. See the list.

M3 Max 128GB LLM Benchmarks: Measured Tokens Per Second

These are 26 speed rows from one 14-inch MacBook Pro with an M3 Max and 128GB of unified memory. We ran them between 2026-07-05 and 2026-08-14. Download all rows as CSV.

What the rows show

Compare rows inside one table only. Prompts, output length, quant and software version change between tables.

Qwen3.8 27B: write speed on four setups

Date: 2026-08-14. Method: One engine at a time, other model servers stopped, one warm request, then one timed request of 300 tokens at temperature 0. Ollama 0.32.12, mlx-lm 0.31.3, llama.cpp Homebrew build 9878. The Ollama and plain llama.cpp rows come from bench.py, which leaves prompt reading time out of the speed. The MTP and MLX rows come from bench2.py, which divides tokens by the whole request time. Each row is one run.

ModelQuantRuntimeWrite tok/sPrompt tok/sMemory usedNote
Qwen3.8 27B4bitMLX (mlx-lm), no MTP19.2not measurednot recorded
Qwen3.8 27BQ4_K_Mllama.cpp, MTP on17.4not measurednot recorded
Qwen3.8 27BQ4_K_Mllama.cpp, no speculative decoding7.4not measurednot recorded
Qwen3.8 27BQ4_K_MOllama, MTP model tag7.0not measurednot recorded

Source: local-ai-coding-sessions: qwen-3.8-27b/RESULTS.md and bench/

Qwen3.8 27B: reading a 12,658-token prompt

Date: 2026-08-14. Method: A warm request, then one 12,658-token prompt with 1 output token. Speed is prompt tokens divided by the whole request time. llama.cpp ran with MTP on, 16K context and f16 KV cache. Each row is one run.

ModelQuantRuntimeWrite tok/sPrompt tok/sMemory usedNote
Qwen3.8 27BQ4_K_Mllama.cpp, MTP onnot measured122.3not recorded103.5 s to the first token
Qwen3.8 27B4bitMLX (mlx-lm)not measured61.5not recorded205.9 s to the first token

Source: local-ai-coding-sessions: qwen-3.8-27b/RESULTS.md and bench/bench3_results.json

Qwen3.6 27B inside a real coding-agent session

Date: 2026-07-11. Method: llama.cpp llama-server with MTP (draft max 2), 100K context, the Pi agent, one uncut build session. The speeds are approximate readings from the session, not a repeated benchmark.

ModelQuantRuntimeWrite tok/sPrompt tok/sMemory usedNote
Qwen3.6 27BQ6_Kllama.cpp, MTP on, short context~17~150~32 GB idle (weights + KV cache)Draft acceptance about 93%
Qwen3.6 27BQ6_Kllama.cpp, MTP on, deep context~10 to 12not measurednot recorded
Qwen3.6 27BQ6_Kllama.cpp, MTP off~11.8not measurednot recorded

Source: local-ai-coding-sessions: qwen-3.6-27b/RESULTS.md

llama-bench on the exact Ollama files (patched llama.cpp)

Date: 2026-07-05. Method: llama-bench -p 115 -n 128 -r 3 -ngl 999. Mean of 3 runs. llama.cpp commit 2da6686 plus a local patch, because the unpatched build did not load these two Ollama files.

ModelQuantRuntimeWrite tok/sPrompt tok/sMemory usedNote
Qwen3.6 27BQ4_K_Mllama-bench, patched llama.cpp17.60181.55not recordedStandard deviation: 1.07 write, 0.22 read
Qwen3.5 122B-A10BQ4_K_Mllama-bench, patched llama.cpp35.07217.86not recordedStandard deviation: 0.21 write, 1.54 read

Source: final-patched-llama-benchmark-20260705-182029.md (our video production receipts, not public)

Without the Ollama server: llama.cpp and MLX

Date: 2026-07-05. Method: Ollama stopped before each test. llama-bench -p 115 -n 128, 1 run. mlx-lm generated up to 360 tokens at temperature 0 from a 115-token prompt.

ModelQuantRuntimeWrite tok/sPrompt tok/sMemory usedNote
Qwen3.6 27BUD-Q4_K_XLllama.cpp (llama-bench)17.48180.6not recorded
Qwen3.6 27BUD-MLX-4bitmlx-lm14.581126.84525.7 GB peak

Source: direct-runtime-benchmark-20260705-165405.md (our video production receipts, not public)

One prompt, up to 360 tokens: Ollama and ds4

Date: 2026-07-05. Method: One prompt (a decision memo, 115 tokens in Ollama). Ollama ran through its API with num_ctx 32768, num_predict 360 and temperature 0. The ds4 row is DeepSeek V4 Flash in the ds4 (DwarfStar) engine. Each row is one run.

ModelQuantRuntimeWrite tok/sPrompt tok/sMemory usedNote
Qwen3.5 122B-A10BQ4_K_MOllama API27.73126.01not recorded
DeepSeek V4 Flashq2-imatrix GGUFds414.4161.5180.8 GiB mapped29.9 s load
Qwen3.6 27BQ4_K_MOllama API11.8099.80not recorded
Qwen3.6 27BMLX BF16Ollama API5.6075.02not recorded

Source: ds4-vs-ollama-api-20260705-161555.md (our video production receipts, not public)

DeepSeek V4 Flash in ds4: three more runs

Date: 2026-07-05. Method: ds4 --nothink --ctx 32768. One run each. These runs and the ds4 row above show write speeds from 14.41 to 24.85 on the same day. The receipts do not show why.

ModelQuantRuntimeWrite tok/sPrompt tok/sMemory usedNote
DeepSeek V4 Flashq2-imatrix GGUFds4, short prompt, 80-token cap23.4439.8280.8 GiB mappedFirst load
DeepSeek V4 Flashq2-imatrix GGUFds4, decision memo, run 124.691.9680.8 GiB mapped
DeepSeek V4 Flashq2-imatrix GGUFds4, decision memo, run 224.8564.0780.8 GiB mapped

Source: ds4-run-notes.md and ds4-vs-ollama-20260705-155718.jsonl (our video production receipts, not public)

Q4 vs Q8 vs BF16, run A (21:17 UTC)

Date: 2026-07-07. Method: Ollama API, one model at a time, temperature 0, seed 42, thinking off. Each speed is the mean of 3 prompts with output caps of 180 to 260 tokens. The prompts in this run start with /no_think.

ModelQuantRuntimeWrite tok/sPrompt tok/sMemory usedNote
Qwen3.6 27BQ4_K_MOllama API16.25not measurednot recordedModel size in Ollama: 17 GB
Qwen3.6 27BQ8_0Ollama API11.27not measurednot recordedModel size in Ollama: 30 GB
Qwen3.6 27BMLX BF16Ollama API6.21not measurednot recordedModel size in Ollama: 54 GB

Source: qwen36-quant-ollama-20260707-211720.jsonl (our video production receipts, not public)

Q4 vs Q8 vs BF16, run B (21:24 UTC)

Date: 2026-07-07. Method: Ollama API, one model at a time, temperature 0, seed 42, thinking off. Each speed is the mean of 3 prompts with output caps of 180 to 260 tokens.

ModelQuantRuntimeWrite tok/sPrompt tok/sMemory usedNote
Qwen3.6 27BQ4_K_MOllama API8.28not measurednot recordedModel size in Ollama: 17 GB
Qwen3.6 27BQ8_0Ollama API7.01not measurednot recordedModel size in Ollama: 30 GB
Qwen3.6 27BMLX BF16Ollama API4.35not measurednot recordedModel size in Ollama: 54 GB

Source: qwen36-quant-ollama-20260707-212416.jsonl (our video production receipts, not public)

Method and limits

Related