← Back to community benchmarks
gemma-4-31B-it
Performance
4k
tokens
657.8
PP tok/s
17.2
TG tok/s
6227
TTFT (ms)
29.9
Peak mem (GB)
Hardware
Chip
M5 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.8
macOS
macOS 26.4.1
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 624.0 | 17.6 | 27.3 GB | view |
| 4k | 657.8 | 17.2 | 29.9 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 17.6 | 1.00× |
| 2× | 30.5 | 1.73× |
| 4× | 41.2 | 2.34× |