← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
621.5
PP tok/s
14.4
TG tok/s
6590
TTFT (ms)
33.6
Peak mem (GB)
Hardware
Chip
M5 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.6
macOS
macOS 26.4.1
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 593.1 | 14.9 | 31.8 GB | view |
| 4k | 621.5 | 14.4 | 33.6 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 14.9 | 1.00× |
| 2× | 26.1 | 1.75× |
| 4× | 34.3 | 2.30× |