More
Submit build

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:

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

ModelQuantEnginetok/sPrompt processing (tok/s)Details
Hy4 FlashoMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp)oMLX v0.8.3, Lightning MTP31.8355 @ 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 FlashoMLX oQ4h (4-bit, as labelled Hy4-flash-oQ4h-mtp)oMLX v0.8.3, Lightning MTP40.0394 @ 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).

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

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-m4-max-40c-128gb-hy4-flash-oq4h-mtp.svg)](https://getrigbase.com/builds/omlx-m4-max-40c-128gb-hy4-flash-oq4h-mtp/)

HTML

<a href="https://getrigbase.com/builds/omlx-m4-max-40c-128gb-hy4-flash-oq4h-mtp/" rel="noopener"><img src="https://getrigbase.com/badge/omlx-m4-max-40c-128gb-hy4-flash-oq4h-mtp.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)

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