← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
666.4
PP tok/s
7.3
TG tok/s
6147
TTFT (ms)
60.4
Peak mem (GB)
Hardware
Chip
M5 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.8rc1
macOS
macOS 26.4.1
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 642.5 | 7.3 | 58.8 GB | view |
| 4k | 666.4 | 7.3 | 60.4 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 7.3 | 1.00× |
| 2× | 8.9 | 1.22× |
| 4× | 15.7 | 2.15× |