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