Speed test
DeepSeek-V4-Flash
M5 Max 128GB · llama.cpp · IQ2_XXS (asym MoE)
Decode
18.9tok/s
Prefill
260tok/s
Time to first token
6,400ms
Total
—
Peak VRAM
—
Context length
32,000
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 524288 --kv-disk-dir ~/.pi/ds4/kv-cache --kv-disk-space-mb 16384 --kv-cache-continued-interval-tokens 6000 --quality --port 8000
Theoretical memory ceiling
66.6–96.0 tok/s
614 GB/s memory bandwidth (spec sheet) · 90.94 GB model weights · 16-bit KV cache · 1–32,000 tokens of context
20–28%
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
- Quant
- IQ2_XXS (asym MoE)
- Backend
- metal
- Chunked prefill
- yes
- Flash Attn
- yes
Run config
- Context
- 32,000 tokens
- Batch size
- 1
- Prefill tok/s
- 260.0 tok/s
- Notes
- antirez/ds4.c custom Metal engine for DSv4 Flash. Q2 asymmetrical: MoE experts IQ2_XXS, MoE down Q2_K, shared experts/routing untouched. Disk KV cache. M5 Max 128GB. --quality flag.
Captured evidence
- Prompt hash (SHA-256)
- —
More runs of this model on this hardware
- 26.3tok/sllama.cpp · ds4 80ebbc3 · IQ2_XXS (asym MoE)32K context · 0 depth · batch 1austenweaver · Jun 22, 2026
- 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.6tok/sllama.cpp · IQ2_XXS (asym MoE)125K context · 0 depth · batch 1elScipio · May 9, 2026
