← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
622.8
PP tok/s
15.0
TG tok/s
6577
TTFT (ms)
34.5
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 | 615.3 | 15.4 | 31.8 GB | view |
| 4k | 622.8 | 15.0 | 34.5 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 15.4 | 1.00× |
| 2× | 27.7 | 1.80× |
| 4× | 36.2 | 2.35× |