← Back to community benchmarks
gemma-4-31b
Performance
1k
tokens
582.8
PP tok/s
15.1
TG tok/s
1759
TTFT (ms)
32.1
Peak mem (GB)
Hardware
Chip
M5 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.4
macOS
macOS 26.4
Context
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 582.8 | 15.1 | 32.1 GB | current |
| 4k | 630.4 | 14.4 | 33.6 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 15.1 | 1.00× |
| 2× | 26.7 | 1.77× |
| 4× | 35.3 | 2.34× |