← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
675.8
PP tok/s
27.0
TG tok/s
1515
TTFT (ms)
17.6
Peak mem (GB)
Hardware
Chip
M5 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.9rc1
macOS
macOS 26.4
Context
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 675.8 | 27.0 | 17.6 GB | current |
| 4k | 626.5 | 25.2 | 20.2 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 27.0 | 1.00× |
| 2× | 39.6 | 1.47× |
| 4× | 46.0 | 1.70× |