Speed test
DeepSeek-V4-Flash
M5 Max 128GB · llama.cpp · ds4 80ebbc3 · IQ2_XXS (asym MoE)
Decode
26.3tok/s
Prefill
320tok/s
Time to first token
—
Total
—
Peak VRAM
—
Context length
32K
KV depth
—
Batch size
1
Power draw
—
Verification
Not verified — experimental result
Verified runs use a standard test prompt and record enough data to check the result.
Launch command
ds4-server --model ds4flash.gguf --ctx 32768 (antirez/ds4 "DwarfStar" native Metal engine; q2-imatrix IQ2_XXS GGUF from antirez/deepseek-v4-gguf; in-memory KV, no MTP)
Theoretical memory ceiling
66.2–96.0 tok/s
614 GB/s memory bandwidth (spec sheet) · 90.94 GB model weights · 16-bit KV cache · 1–32,768 tokens of context
27–40%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from deepseek-ai/DeepSeek-V4-Flash; size from IQ2_XXS (asym MoE) estimate. Hardware source · Open calculator
Hardware
- Chip
- M5 Max
- Memory
- 128 GB
Engine
- Engine
- llama.cpp
- Version
- ds4 80ebbc3
- Quant
- IQ2_XXS (asym MoE)
Run config
- Context
- 32,768 tokens
- Batch size
- 1
- Prompt tokens
- 32768
- Prefill tok/s
- 320.0 tok/s
- Output tokens
- 128
- Notes
- antirez/ds4 (DwarfStar) custom Metal engine for DeepSeek-V4-Flash (filed as llama.cpp per cell convention; not actual llama.cpp). IQ2_XXS asymmetric MoE quant. Decode measured at the 32k context frontier via ds4-bench, greedy, in-memory KV (no disk KV cache, no MTP): gen 26.33 t/s, prefill 319.95 t/s. Apple M5 Max 128GB macOS 27.0.
Captured evidence
- Prompt hash (SHA-256)
- —
More runs of this model on this hardware
- 20.9tok/sllama.cpp · IQ2_XXS (asym MoE)32,000 context · 0 depth · batch 1elScipio · May 9, 2026
- 19.0tok/sllama.cpp · IQ2_XXS (asym MoE)125K context · 0 depth · batch 1elScipio · May 9, 2026
- 18.9tok/sllama.cpp · IQ2_XXS (asym MoE)32,000 context · 0 depth · batch 1elScipio · May 9, 2026
- 18.6tok/sllama.cpp · IQ2_XXS (asym MoE)125K context · 0 depth · batch 1elScipio · May 9, 2026
