Speed test
DeepSeek-V4-Flash
M5 Max 128GB · llama.cpp · IQ2_XXS (asym MoE)
Decode
18.6tok/s
Prefill
260tok/s
Time to first token
136,900ms
Total
—
Peak VRAM
—
Context length
125K
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
34.8–96.0 tok/s
614 GB/s memory bandwidth (spec sheet) · 90.94 GB model weights · 16-bit KV cache · 1–128,000 tokens of context
19–54%
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
- 128,000 tokens
- Batch size
- 1
- Prefill tok/s
- 260.0 tok/s
- Notes
- antirez/ds4.c 128k context. Gen TPS 18.6 holds well. TTFT 137s via single-prompt prefill. Disk KV cache. M5 Max 128GB.
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.9tok/sllama.cpp · IQ2_XXS (asym MoE)32,000 context · 0 depth · batch 1elScipio · May 9, 2026
