← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
628.5
PP tok/s
7.3
TG tok/s
1629
TTFT (ms)
58.8
Peak mem (GB)
Hardware
Chip
M5 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.8.dev2
macOS
macOS 26.4.1
Context
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 628.5 | 7.3 | 58.8 GB | current |
| 4k | 672.1 | 7.2 | 60.4 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 7.3 | 1.00× |
| 2× | 7.7 | 1.05× |
| 4× | 16.8 | 2.30× |