← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
399.4
PP tok/s
14.5
TG tok/s
2564
TTFT (ms)
17.6
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
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 399.4 | 14.5 | 17.6 GB | current |
| 4k | 389.7 | 14.0 | 19.3 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 14.5 | 1.00× |
| 2× | 26.6 | 1.83× |
| 4× | 41.6 | 2.87× |