More
Submit build

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:

Source: omlx.ai ↗More source: omlx.ai ↗📏 How measured: reported by the original source; RigBase re-checked the numbers at that source
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)

ModelQuantEnginetok/sPrompt processing (tok/s)Details
Qwen3.8 Flash-NextMLX 4-bit (Qwen3.8-Flash-Next-4bit-mtp)oMLX v0.8.4, Lightning MTP, TurboQuant 8-bit KV cache87.61,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-NextMLX 4-bit (Qwen3.8-Flash-Next-4bit-mtp)oMLX v0.8.4, Lightning MTP, TurboQuant 8-bit KV cache91.02,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-NextMLX 4-bit (Qwen3.8-Flash-Next-4bit-mtp)oMLX v0.8.4, Lightning MTP, TurboQuant 8-bit KV cache92.42,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-NextMLX 4-bit (Qwen3.8-Flash-Next-4bit-mtp)oMLX v0.8.4, Lightning MTP, TurboQuant 8-bit KV cache113.52,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-NextMLX 4-bit (Qwen3.8-Flash-Next-4bit-mtp)oMLX v0.8.4, Lightning MTP, TurboQuant 8-bit KV cache81.62,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.

Source: https://omlx.ai/benchmarks/performance/dfjl2mlu
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.

Embed this result

Copy into a README or blog. Links back to this build. See badge docs (CC BY 4.0 attribution). The SVG does not invent speeds — numbers stay on the build page.

Markdown

[![Measured on RigBase](https://getrigbase.com/badge/omlx-m5-max-40c-128gb-qwen38-flash-next-4bit-mtp-tq8.svg)](https://getrigbase.com/builds/omlx-m5-max-40c-128gb-qwen38-flash-next-4bit-mtp-tq8/)

HTML

<a href="https://getrigbase.com/builds/omlx-m5-max-40c-128gb-qwen38-flash-next-4bit-mtp-tq8/" rel="noopener"><img src="https://getrigbase.com/badge/omlx-m5-max-40c-128gb-qwen38-flash-next-4bit-mtp-tq8.svg" alt="Measured on RigBase" height="20"/></a>

Preview: Measured on RigBase · How to use

Rent before you buy: try this model on a cloud GPU for a few dollars first: Runpod (referral link; sign up with Google to get the new-user bonus)

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).