← Back to community benchmarks

gemma-4-31b-it

M4 Max (40c) · 48 GB · 4bit · 2026-04-06
Performance
1k
tokens
196.9
PP tok/s
24.0
TG tok/s
5200
TTFT (ms)
17.6
Peak mem (GB)
Hardware
Chip M4 Max (40c)
Memory 48 GB
GPU Cores 40
Software
oMLX v0.3.4
macOS macOS 26.4
Context 1,024
Performance by Context Length
Context PP tok/s TG tok/s Peak Mem
1k 196.9 24.0 17.6 GB current
4k 199.3 21.0 19.4 GB view
Batching Results
Batch Size TG tok/s Speedup
24.0 1.00×
41.1 1.71×
45.5 1.90×