Speed test
Laguna-S-2.1-MLX-4bit
M5 Max 128GB · mlx · mlx 0.32.0 + mlx-lm 0.31.3 · 4bit-affine-gs64
Decode
13.3tok/s
Prefill
51.8tok/s
Time to first token
15,721ms
Total
—
Peak VRAM
66GB
Context length
952
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
python -c 'import mlx_lm; mlx_lm.generate(...)' (stock, no opts)
Theoretical memory ceiling
180.7–187.0 tok/s
614 GB/s memory bandwidth (spec sheet) · 59.00 GB model weights · 16-bit KV cache · 1–814 tokens of context
7–7%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from pipenetwork/Laguna-S-2.1-MLX-4bit; size from 4bit-affine-gs64 estimate. Hardware source · Open calculator
Hardware
- Chip
- M5 Max
- Memory
- 128 GB
Engine
- Engine
- mlx
- Version
- mlx 0.32.0 + mlx-lm 0.31.3
- Quant
- 4bit-affine-gs64
- Backend
- metal
- Attn
- sdpa
Run config
- Context
- 952 tokens
- Batch size
- 1
- Prompt tokens
- 814
- Prefill tok/s
- 51.8 tok/s
- Output tokens
- 128
- Notes
- Stock baseline (no optimizations, no zmlx, no compile). Prompt: 814 tokens, decode: 128 tokens greedy (temp=0). For comparison: optimized version achieves 63.7 tok/s on same hardware. Code: github.com/jacklarmer/laguna-apple
Captured evidence
- Prompt hash (SHA-256)
- —
More runs of this model on this hardware
- 69.5tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64376 context · 0 depth · batch 1jacklarmer · Jul 27, 2026
- 63.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,200 context · 0 depth · batch 1jacklarmer · Jul 27, 2026
- 63.8tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,200 context · 0 depth · batch 1jacklarmer · Jul 27, 2026
- 60.9tok/smlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs641,800 context · 0 depth · batch 1jacklarmer · Jul 27, 2026
