← Back to community benchmarks

gemma-4-31b-it

M4 Max (32c) · 36 GB · 4bit · 2026-05-03
Performance
4k
tokens
160.0
PP tok/s
17.7
TG tok/s
25595
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.3.1
Context 4,096
Performance by Context Length
Context PP tok/s TG tok/s Peak Mem
1k 161.4 18.4 17.6 GB view
4k 160.0 17.7 20.2 GB current
Batching Results
Batch Size TG tok/s Speedup
18.4 1.00×
33.4 1.82×
36.9 2.01×