Builds / Apple M4 Max (40-core GPU, unified)
Apple M4 Max 40-core 128GB (oMLX oQ4h + MTP): Tencent Hy4 Flash 4-bit at 31.8-40.0 tok/s in under 90 GB
Last updated:
- GPU(s)
- Apple M4 Max (40-core GPU, unified)
- VRAM / unified memory (GB)
- 128
- CPU
- Apple M4 Max (40-core GPU)
- Motherboard
- not stated
- RAM
- 128 GB unified memory
- PSU
- not stated
- Other
- oMLX v0.8.3, macOS 27.2.1; model Hy4-flash-oQ4h-mtp (4-bit); Lightning MTP on; DFlash off; turboquant KV off; benchmark context Code (Python); temperature 0.9, top_p 1, top_k 0; peak footprint 89.65 GB
- Reported total cost
- not stated
- Power
- not stated
Measured speed (generation tokens/sec)
| Model | Quant | Engine | tok/s | Prompt processing (tok/s) | Details |
|---|---|---|---|---|---|
| Hy4 Flash | oMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp) | oMLX v0.8.3, Lightning MTP | 31.8 | 355 @ 1k-token prompt est. TTFT @8k ≈ 23.1 s (calculated from measured prefill) measured TTFT: 2.9 s @ 1,024-token prompt | ⚡ spec-decode (MTP)context: 1k tokens📏 Public oMLX session on a 40-core M4 Max with 128 GB: PP 354.8 tok/s, TG 31.8 tok/s, TTFT 2,886 ms, peak MLX memory 87.4 GB (https://omlx.ai/benchmarks/performance/vtq1ai4r). Retrieved 2026-11-26. |
| Hy4 Flash | oMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp) | oMLX v0.8.3, Lightning MTP | 40.0 | 394 @ 4k-token prompt est. TTFT @8k ≈ 20.8 s (calculated from measured prefill) measured TTFT: 10.4 s @ 4,096-token prompt | ⚡ spec-decode (MTP)context: 4k tokens📏 Public oMLX session on a 40-core M4 Max with 128 GB: PP 393.7 tok/s, TG 40.0 tok/s, TTFT 10,403 ms, peak MLX memory 87.9 GB (https://omlx.ai/benchmarks/performance/m8eytptw). Retrieved 2026-11-26. |
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 26 Nov 2026. Peak MLX memory 87.4-87.9 GB (89.65 GB footprint), so the 4-bit Hy4 Flash fits a 128 GB Mac with room for other apps. MTP is on here (the 60-core M3 Ultra oMLX build on RigBase ran the same oQ4h file with MTP off at 28.4 tok/s at 1k). Batched on the same session: 34.1 tok/s at batch 2, 42.0 at batch 4 (aggregate, not listed).
https://omlx.ai/benchmarks/performance/m8eytptw
Blank fields = not stated in the source. We never estimate build data; GPU street prices above are separately sourced and dated.
Quick answers: Can Apple M4 Max run Hy4 Flash?
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).