Builds / Apple M5 Ultra 64-core GPU (unified)
Apple M5 Ultra 64-core 256GB (oMLX oQ2e + MTP): DeepSeek V4.1 Flash at 28-114 tok/s from 1k to 195k context, 2K tok/s prefill
Last updated:
- GPU(s)
- Apple M5 Ultra 64-core GPU (unified)
- VRAM / unified memory (GB)
- 256
- CPU
- Apple M5 Ultra (64-core GPU)
- Motherboard
- not stated
- RAM
- 256 GB unified memory
- PSU
- not stated
- Other
- oMLX v0.8.4, macOS 27.2.1; model DeepSeek-V4.1-Flash-1017-oQ2e-ngram-mtp; Lightning MTP on; CED prefill; DeepSeek V4.1 Engram (ngram) SSD offload on; DFlash off; turboquant KV off; thinking on; benchmark context Code (Mixed); temperature 1, top_p 1, top_k 0; max context window 1,048,576; peak footprint 193.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 |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flash | oMLX oQ2e (DeepSeek-V4.1-Flash-1017; bit width listed as unknown, name suggests ~2-bit) | oMLX v0.8.4, Lightning MTP, CED prefill, Engram SSD offload | 28.3 | 466 @ 1k-token prompt est. TTFT @8k ≈ 17.6 s (calculated from measured prefill) measured TTFT: 2.2 s @ 1,024-token prompt | ⚡ spec-decode (MTP)context: 1k tokens📏 Public oMLX session on a 64-core M5 Ultra with 256 GB: PP 465.5 tok/s, TG 28.3 tok/s, TTFT 2,200 ms, peak MLX memory 179.5 GB (https://omlx.ai/benchmarks/performance/d1hk6y8v). Retrieved 2026-11-27. |
| DeepSeek V4.1 Flash | oMLX oQ2e (DeepSeek-V4.1-Flash-1017; bit width listed as unknown, name suggests ~2-bit) | oMLX v0.8.4, Lightning MTP, CED prefill, Engram SSD offload | 108.0 | 624 @ 4k-token prompt est. TTFT @8k ≈ 13.1 s (calculated from measured prefill) measured TTFT: 6.6 s @ 4,096-token prompt | ⚡ spec-decode (MTP)context: 4k tokens📏 Public oMLX session on a 64-core M5 Ultra with 256 GB: PP 624.0 tok/s, TG 108.0 tok/s, TTFT 6,564 ms, peak MLX memory 181.5 GB (https://omlx.ai/benchmarks/performance/1fmqbf1j). Retrieved 2026-11-27. |
| DeepSeek V4.1 Flash | oMLX oQ2e (DeepSeek-V4.1-Flash-1017; bit width listed as unknown, name suggests ~2-bit) | oMLX v0.8.4, Lightning MTP, CED prefill, Engram SSD offload | 51.0 | 1,172 @ 8k-token prompt est. TTFT @8k ≈ 7.0 s (calculated from measured prefill) measured TTFT: 7.0 s @ 8,192-token prompt | ⚡ spec-decode (MTP)context: 8k tokens📏 Public oMLX session on a 64-core M5 Ultra with 256 GB: PP 1,172 tok/s, TG 51.0 tok/s, TTFT 6,990 ms, peak MLX memory 183.2 GB (https://omlx.ai/benchmarks/performance/tkxxd1mf). Retrieved 2026-11-27. |
| DeepSeek V4.1 Flash | oMLX oQ2e (DeepSeek-V4.1-Flash-1017; bit width listed as unknown, name suggests ~2-bit) | oMLX v0.8.4, Lightning MTP, CED prefill, Engram SSD offload | 80.2 | 1,115 @ 16k-token prompt est. TTFT @8k ≈ 7.3 s (calculated from measured prefill) measured TTFT: 14.7 s @ 16,384-token prompt | ⚡ spec-decode (MTP)context: 16k tokens📏 Public oMLX session on a 64-core M5 Ultra with 256 GB: PP 1,115 tok/s, TG 80.2 tok/s, TTFT 14,693 ms, peak MLX memory 183.5 GB (https://omlx.ai/benchmarks/performance/iwssph8a). Retrieved 2026-11-27. |
| DeepSeek V4.1 Flash | oMLX oQ2e (DeepSeek-V4.1-Flash-1017; bit width listed as unknown, name suggests ~2-bit) | oMLX v0.8.4, Lightning MTP, CED prefill, Engram SSD offload | 113.9 | 1,778 @ 32k-token prompt est. TTFT @8k ≈ 4.6 s (calculated from measured prefill) measured TTFT: 18.4 s @ 32,768-token prompt | ⚡ spec-decode (MTP)context: 32k tokens📏 Public oMLX session on a 64-core M5 Ultra with 256 GB: PP 1,778 tok/s, TG 113.9 tok/s, TTFT 18,425 ms, peak MLX memory 183.6 GB (https://omlx.ai/benchmarks/performance/m06ti0uy). Retrieved 2026-11-27. |
| DeepSeek V4.1 Flash | oMLX oQ2e (DeepSeek-V4.1-Flash-1017; bit width listed as unknown, name suggests ~2-bit) | oMLX v0.8.4, Lightning MTP, CED prefill, Engram SSD offload | 90.0 | 1,643 @ 64k-token prompt est. TTFT @8k ≈ 5.0 s (calculated from measured prefill) measured TTFT: 39.9 s @ 65,536-token prompt | ⚡ spec-decode (MTP)context: 64k tokens📏 Public oMLX session on a 64-core M5 Ultra with 256 GB: PP 1,643 tok/s, TG 90.0 tok/s, TTFT 39,890 ms, peak MLX memory 184.0 GB (https://omlx.ai/benchmarks/performance/sxhuhu03). Retrieved 2026-11-27. |
| DeepSeek V4.1 Flash | oMLX oQ2e (DeepSeek-V4.1-Flash-1017; bit width listed as unknown, name suggests ~2-bit) | oMLX v0.8.4, Lightning MTP, CED prefill, Engram SSD offload | 92.4 | 2,051 @ 128k-token prompt est. TTFT @8k ≈ 4.0 s (calculated from measured prefill) measured TTFT: 63.9 s @ 131,072-token prompt | ⚡ spec-decode (MTP)context: 128k tokens📏 Public oMLX session on a 64-core M5 Ultra with 256 GB: PP 2,051 tok/s, TG 92.4 tok/s, TTFT 63,908 ms, peak MLX memory 184.5 GB (https://omlx.ai/benchmarks/performance/nv9nm4ma). Retrieved 2026-11-27. |
| DeepSeek V4.1 Flash | oMLX oQ2e (DeepSeek-V4.1-Flash-1017; bit width listed as unknown, name suggests ~2-bit) | oMLX v0.8.4, Lightning MTP, CED prefill, Engram SSD offload | 93.2 | 1,968 @ 195k-token prompt est. TTFT @8k ≈ 4.2 s (calculated from measured prefill) measured TTFT: 102 s @ 200,000-token prompt | ⚡ spec-decode (MTP)context: 195k tokens📏 Public oMLX session on a 64-core M5 Ultra with 256 GB: PP 1,968 tok/s, TG 93.2 tok/s, TTFT 101,620 ms, peak MLX memory 185.6 GB (https://omlx.ai/benchmarks/performance/rxe0qf23). Retrieved 2026-11-27. |
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.
One public oMLX benchmark session dated 27 Nov 2026 with eight context lengths from 1k to 195k tokens. Generation speed jumps around (28.3 tok/s at 1k, 108.0 at 4k, 51.0 at 8k, 113.9 at 32k, 93.2 at 195k) rather than falling with context, which points to MTP draft acceptance varying with the prompt content; read it as a range, not a curve. Prefill rises to about 2,000 tok/s at long context, so a 195k-token prompt took 101.6 s to the first token. Peak MLX memory 179.5-185.6 GB (193.65 GB footprint) on a 256 GB Mac with the Engram table offloaded to SSD; the 195k run reported heavy thermal state. Batched on the same session: 43.9 tok/s at batch 2, 96.8 at 4, 154.9 at 8 (aggregate, not listed). The 60-core M3 Ultra 256 GB oMLX build on RigBase ran a ~2.5-bit file of the same checkpoint at 51.9-66.7 tok/s.
https://omlx.ai/benchmarks/performance/d1hk6y8v
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 M5 Ultra run DeepSeek V4.1 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).