← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
88.4
PP tok/s
5.4
TG tok/s
46341
TTFT (ms)
20.1
Peak mem (GB)
Hardware
Chip
M4 Pro (20c)
Memory
64 GB
GPU Cores
20
Software
oMLX
v0.3.6
macOS
macOS 26.4.1
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 100.1 | 12.2 | 17.6 GB | view |
| 4k | 88.4 | 5.4 | 20.1 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 12.2 | 1.00× |
| 2× | 20.2 | 1.66× |
| 4× | 21.7 | 1.78× |