← Back to community benchmarks

gemma-4-31b-it

M4 Pro (20c) · 64 GB · 8bit · 2026-04-06
Performance
4k
tokens
87.4
PP tok/s
6.5
TG tok/s
46872
TTFT (ms)
33.6
Peak mem (GB)
Hardware
Chip M4 Pro (20c)
Memory 64 GB
GPU Cores 20
Software
oMLX v0.3.4
macOS macOS 26.5
Context 4,096
Performance by Context Length
Context PP tok/s TG tok/s Peak Mem
1k 98.7 7.0 31.8 GB view
4k 87.4 6.5 33.6 GB current
Batching Results
Batch Size TG tok/s Speedup
7.0 1.00×
12.9 1.84×
15.8 2.26×