← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
378.5
PP tok/s
13.9
TG tok/s
10822
TTFT (ms)
20.2
Peak mem (GB)
Hardware
Chip
M5 Pro (20c)
Memory
64 GB
GPU Cores
20
Software
oMLX
v0.3.8
macOS
macOS 26.4
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 365.1 | 14.4 | 17.6 GB | view |
| 4k | 378.5 | 13.9 | 20.2 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 14.4 | 1.00× |
| 2× | 24.4 | 1.69× |
| 4× | 29.4 | 2.04× |