← Back to community benchmarks

gemma-4-31b-it

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