← Back to community benchmarks

gemma-4-31b-it

M4 Max (32c) · 36 GB · 4bit · 2026-05-07
Performance
4k
tokens
133.5
PP tok/s
15.6
TG tok/s
30678
TTFT (ms)
20.2
Peak mem (GB)
Hardware
Chip M4 Max (32c)
Memory 36 GB
GPU Cores 32
Software
oMLX v0.3.8
macOS macOS 26.4.1
Context 4,096
Performance by Context Length
Context PP tok/s TG tok/s Peak Mem
1k 152.7 17.3 17.6 GB view
4k 133.5 15.6 20.2 GB current
Batching Results
Batch Size TG tok/s Speedup
17.3 1.00×
28.3 1.64×
29.9 1.73×