← Back to community benchmarks

gemma-4-31B-it

M5 Max (40c) · 128 GB · 6bit · 2026-05-05
Performance
64k
tokens
453.3
PP tok/s
10.6
TG tok/s
144566
TTFT (ms)
39.5
Peak mem (GB)
Hardware
Chip M5 Max (40c)
Memory 128 GB
GPU Cores 40
Software
oMLX v0.3.8
macOS macOS 26.4.1
Context 65,536
Performance by Context Length
Context PP tok/s TG tok/s Peak Mem
1k 583.5 16.2 29.5 GB view
4k 617.0 15.8 32.2 GB view
64k 453.3 10.6 39.5 GB current
128k 327.2 7.8 54.8 GB view
Batching Results
Batch Size TG tok/s Speedup
16.2 1.00×
25.9 1.60×
34.6 2.14×
40.3 2.49×