← Back to community benchmarks
gemma-4-31B-it
Performance
32k
tokens
504.9
PP tok/s
12.4
TG tok/s
64901
TTFT (ms)
37.0
Peak mem (GB)
Hardware
Chip
M5 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.9rc1
macOS
macOS 26.4.1
Context
32,768
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 608.8 | 15.0 | 31.8 GB | view |
| 4k | 651.5 | 14.8 | 33.8 GB | view |
| 8k | 601.9 | 13.4 | 34.1 GB | view |
| 16k | 539.5 | 13.6 | 34.8 GB | view |
| 32k | 504.9 | 12.4 | 37.0 GB | current |
| 64k | 426.3 | 10.5 | 41.8 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 15.0 | 1.00× |
| 2× | 25.4 | 1.69× |
| 4× | 34.7 | 2.31× |