Builds / Apple M5 Max (40-core GPU, unified)
Apple M5 Max 40-core 128GB (oMLX 4-bit + MTP): Qwen3.8 Flash-Next at 81.6-113.5 tok/s up to 32k, 2.6K tok/s prefill
Last updated:
- GPU(s)
- Apple M5 Max (40-core GPU, unified)
- VRAM / unified memory (GB)
- 128
- CPU
- Apple M5 Max (40-core GPU)
- Motherboard
- not stated
- RAM
- 128 GB unified memory
- PSU
- not stated
- Other
- oMLX v0.8.4, macOS 27.2.1; model Qwen3.8-Flash-Next-4bit-mtp (MLX 4-bit); Lightning MTP on; TurboQuant KV cache 8-bit; LoopCD off; DFlash off; benchmark context Code (Python); max context window 200,000; temperature 0.3, top_p 0.95, top_k 20; peak footprint 85.01 GB
- Reported total cost
- not stated
- Power
- not stated
Measured speed (generation tokens/sec)
| Model | Quant | Engine | tok/s | Prompt processing (tok/s) | Details |
|---|---|---|---|---|---|
| Qwen3.8 Flash-Next | MLX 4-bit (Qwen3.8-Flash-Next-4bit-mtp) | oMLX v0.8.4, Lightning MTP, TurboQuant 8-bit KV cache | 87.6 | 1,187 @ 1k-token prompt est. TTFT @8k ≈ 6.9 s (calculated from measured prefill) measured TTFT: 0.86 s @ 1,024-token prompt | ⚡ spec-decode (MTP)context: 1k tokens📏 Public oMLX session on a 40-core M5 Max with 128 GB: PP 1,187 tok/s, TG 87.6 tok/s, TTFT 863 ms, peak MLX memory 77.8 GB (https://omlx.ai/benchmarks/performance/br91jssj). Retrieved 2026-11-29. |
| Qwen3.8 Flash-Next | MLX 4-bit (Qwen3.8-Flash-Next-4bit-mtp) | oMLX v0.8.4, Lightning MTP, TurboQuant 8-bit KV cache | 91.0 | 2,072 @ 4k-token prompt est. TTFT @8k ≈ 4.0 s (calculated from measured prefill) measured TTFT: 2.0 s @ 4,096-token prompt | ⚡ spec-decode (MTP)context: 4k tokens📏 Public oMLX session on a 40-core M5 Max with 128 GB: PP 2,072 tok/s, TG 91.0 tok/s, TTFT 1,977 ms, peak MLX memory 78.2 GB (https://omlx.ai/benchmarks/performance/0ehc5x15). Retrieved 2026-11-29. |
| Qwen3.8 Flash-Next | MLX 4-bit (Qwen3.8-Flash-Next-4bit-mtp) | oMLX v0.8.4, Lightning MTP, TurboQuant 8-bit KV cache | 92.4 | 2,707 @ 8k-token prompt est. TTFT @8k ≈ 3.0 s (calculated from measured prefill) measured TTFT: 3.0 s @ 8,192-token prompt | ⚡ spec-decode (MTP)context: 8k tokens📏 Public oMLX session on a 40-core M5 Max with 128 GB: PP 2,707 tok/s, TG 92.4 tok/s, TTFT 3,026 ms, peak MLX memory 79.1 GB (https://omlx.ai/benchmarks/performance/41wwy9e1). Retrieved 2026-11-29. |
| Qwen3.8 Flash-Next | MLX 4-bit (Qwen3.8-Flash-Next-4bit-mtp) | oMLX v0.8.4, Lightning MTP, TurboQuant 8-bit KV cache | 113.5 | 2,739 @ 16k-token prompt est. TTFT @8k ≈ 3.0 s (calculated from measured prefill) measured TTFT: 6.0 s @ 16,384-token prompt | ⚡ spec-decode (MTP)context: 16k tokens📏 Public oMLX session on a 40-core M5 Max with 128 GB: PP 2,739 tok/s, TG 113.5 tok/s, TTFT 5,982 ms, peak MLX memory 80.3 GB (https://omlx.ai/benchmarks/performance/dfjl2mlu). Retrieved 2026-11-29. |
| Qwen3.8 Flash-Next | MLX 4-bit (Qwen3.8-Flash-Next-4bit-mtp) | oMLX v0.8.4, Lightning MTP, TurboQuant 8-bit KV cache | 81.6 | 2,632 @ 32k-token prompt est. TTFT @8k ≈ 3.1 s (calculated from measured prefill) measured TTFT: 12.4 s @ 32,768-token prompt | ⚡ spec-decode (MTP)context: 32k tokens📏 Public oMLX session on a 40-core M5 Max with 128 GB: PP 2,632 tok/s, TG 81.6 tok/s, TTFT 12,450 ms, peak MLX memory 80.9 GB (https://omlx.ai/benchmarks/performance/csqatgjs). Retrieved 2026-11-29. |
Prompt processing = prefill speed (how fast the prompt is read) as reported by the source, with the prompt length it was measured at; blank = the source does not report it. est. TTFT @8k is calculated from the measured prefill speed (8,192 ÷ prefill tok/s), shown only when prefill was measured on a prompt of 512+ tokens. It is not a measurement and ignores load time and caching. measured TTFT is the source's own time-to-first-token. Why prefill matters for coding assistants.
Public oMLX benchmark session dated 29 Nov 2026 on a 40-core M5 Max with 128 GB: 87.6 tok/s at 1k, 91.0 at 4k, 92.4 at 8k, 113.5 at 16k and 81.6 at 32k, with prefill rising from 1,187 tok/s at 1k to 2,632-2,739 tok/s at 8k-32k (a 32k prompt reaches the first token in 12.5 s). Peak MLX memory 77.8-80.9 GB (85.01 GB footprint), so the 4-bit file fits a 128 GB Mac with room for long context. The KV cache was stored at 8 bits (TurboQuant). No batch results in this session. For comparison on RigBase: the 128 GB M4 Max oMLX build runs an oQ4h file at 46.8 tok/s at 1k, and a 128 GB M5 Max MTP build measured 44.4-64.5 tok/s in a 262k-context setup.
https://omlx.ai/benchmarks/performance/br91jssj
Blank fields = not stated in the source. We never estimate build data; GPU street prices above are separately sourced and dated.
Speculative-decoding rows on this page are not like-for-like with plain decode. See how much MTP and DFlash really speed things up (measured pairs).