← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
389.7
PP tok/s
14.0
TG tok/s
10512
TTFT (ms)
19.3
Peak mem (GB)
Hardware
Chip
M5 Pro (20c)
Memory
48 GB
GPU Cores
20
Software
oMLX
v0.5.1
macOS
macOS 26.5.2
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 399.4 | 14.5 | 17.6 GB | view |
| 4k | 389.7 | 14.0 | 19.3 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 14.5 | 1.00× |
| 2× | 26.6 | 1.83× |
| 4× | 41.6 | 2.87× |