← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
306.7
PP tok/s
13.0
TG tok/s
13353
TTFT (ms)
20.2
Peak mem (GB)
Hardware
Chip
M5 Pro (16c)
Memory
48 GB
GPU Cores
16
Software
oMLX
v0.4.2.dev1
macOS
macOS 26.5.1
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 310.8 | 13.5 | 17.6 GB | view |
| 4k | 306.7 | 13.0 | 20.2 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 13.5 | 1.00× |
| 2× | 21.2 | 1.57× |
| 4× | 23.4 | 1.73× |