← Back to community benchmarks

gemma-4-31b-it

M5 Max (40c) · 128 GB · 4bit · 2026-04-12
Performance
4k
tokens
523.7
PP tok/s
16.6
TG tok/s
7821
TTFT (ms)
19.3
Peak mem (GB)
Hardware
Chip M5 Max (40c)
Memory 128 GB
GPU Cores 40
Software
oMLX v0.3.5.dev1
macOS macOS 26.3.2
Context 4,096
Performance by Context Length
Context PP tok/s TG tok/s Peak Mem
1k 597.2 23.8 17.6 GB view
4k 523.7 16.6 19.3 GB current
Batching Results
Batch Size TG tok/s Speedup
23.8 1.00×
37.7 1.58×
38.0 1.60×