← Back to community benchmarks
gemma-4-31b-it
Performance
16k
tokens
120.6
PP tok/s
13.6
TG tok/s
135812
TTFT (ms)
20.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
16,384
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 208.3 | 26.1 | 17.6 GB | view |
| 4k | 193.4 | 23.9 | 19.3 GB | view |
| 8k | 176.3 | 16.8 | 19.6 GB | view |
| 16k | 120.6 | 13.6 | 20.4 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 26.1 | 1.00× |
| 2× | 23.9 | 0.92× |