← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
309.3
PP tok/s
7.1
TG tok/s
13243
TTFT (ms)
33.6
Peak mem (GB)
Hardware
Chip
M5 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 | 296.6 | 7.4 | 31.8 GB | view |
| 4k | 309.3 | 7.1 | 33.6 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 7.4 | 1.00× |
| 2× | 12.9 | 1.74× |
| 4× | 18.3 | 2.47× |