← Back to community benchmarks

gemma-4-31b-it

M4 Max (40c) · 48 GB · 4bit · 2026-04-18
Performance
1k
tokens
196.7
PP tok/s
16.2
TG tok/s
5205
TTFT (ms)
16.7
Peak mem (GB)
Hardware
Chip M4 Max (40c)
Memory 48 GB
GPU Cores 40
Software
oMLX v0.3.6
macOS macOS 26.3.1
Context 1,024
Performance by Context Length
Context PP tok/s TG tok/s Peak Mem
1k 196.7 16.2 16.7 GB current
4k 172.3 19.9 18.4 GB view
Batching Results
Batch Size TG tok/s Speedup
16.2 1.00×
29.9 1.85×
32.4 2.00×