← Back to community benchmarks
gemma-4-31B-it
Performance
1k
tokens
624.0
PP tok/s
17.6
TG tok/s
1641
TTFT (ms)
27.3
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
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 624.0 | 17.6 | 27.3 GB | current |
| 4k | 657.8 | 17.2 | 29.9 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 17.6 | 1.00× |
| 2× | 30.5 | 1.73× |
| 4× | 41.2 | 2.34× |