Speed test
gpt-oss-20b
M5 Max 128GB · mlx · mlx-vlm 0.6.3 · MXFP4
austenweaverCommunityJun 25, 2026
Decode
389tok/s
Prefill
—
Time to first token
—
Total
—
Peak VRAM
12.3GB
Context length
2K
KV depth
—
Batch size
16
Power draw
—
Verification
Not verified — experimental result
Verified runs use a standard test prompt and record enough data to check the result.
Launch command
mlx_vlm.server --model mlx-community/gpt-oss-20b-MXFP4-Q8 --port 8125 --max-kv-size 16384 # 16 concurrent streams, 256 max_tokens each, temperature 0.7, continuous batching (default), no prompt cache
Theoretical memory ceiling
This mixture-of-experts model doesn't list how many parameters are used per token, so a ceiling can't be estimated.
Hardware
- Chip
- M5 Max
- Memory
- 128 GB
Engine
- Engine
- mlx
- Version
- mlx-vlm 0.6.3
- Quant
- MXFP4
Run config
- Context
- 2,048 tokens
- Batch size
- 16
- Prompt tokens
- 80
- Output tokens
- 256
- Notes
- Aggregate end-to-end throughput across 16 concurrent streams (256 max_tokens each, distinct prompts so no prefix-cache reuse), mlx-vlm 0.6.3 server continuous batching. Weights: mlx-community/gpt-oss-20b-MXFP4-Q8 (native MXFP4). tokSOut = aggregate output tok/s; per-stream median ~24 tok/s. Reproducible (382-389 across two runs). Peak unified memory ~12.3 GB (RSS). Apple M5 Max / 128GB, macOS 27.0. Single-stream (bs=1) ~126 tok/s.
Captured evidence
- Prompt hash (SHA-256)
- —
Prompt sample—
Output sample—
