Speed testsModelsBenchmarksRentalsReportsHardwareDecode calculatorOrganizationsProAPI DocsSubmit
Language
Actual Computer — Every computer, one endpoint

Speed test

Laguna-S-2.1-MLX-4bit

M5 Max 128GB · mlx · mlx 0.32.0 + mlx-lm 0.31.3 + zmlx 0.9.0 · 4bit-affine-gs64

jacklarmerCommunityJul 27, 2026

Decode

63.8tok/s

Prefill

1.0ktok/s

Time to first token

802ms

Total

—

Peak VRAM

66GB

Context length

1,200

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 bench_speed.py (optimized: compile+zmlx+sigmoid+masks+bf16gate)

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

34–35%

of the ceiling reached

Medium confidence

The 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 + zmlx 0.9.0
Quant
4bit-affine-gs64
Backend
metal
Attn
sdpa

Run config

Context
1,200 tokens
Batch size
1
Prompt tokens
814
Prefill tok/s
1,015.5 tok/s
Output tokens
128
Notes
Optimized. One-big-function @mx.compile (48 layers) + zmlx moe_mlp sigmoid gating fix + precomputed masks + bf16 gating. Prompt: 814 tokens, decode: 128 tokens greedy (temp=0). Quality: 0.9555 Pearson logit corr vs BF16 ref. Code: github.com/jacklarmer/laguna-apple

Captured evidence

Prompt hash (SHA-256)
—
Prompt sample—
Output sample—

More runs of this model on this hardware