← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
160.6
PP tok/s
18.2
TG tok/s
6375
TTFT (ms)
17.6
Peak mem (GB)
Hardware
Chip
M4 Max (32c)
Memory
36 GB
GPU Cores
32
Software
oMLX
v0.4.1
macOS
macOS 26.5.1
Context
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 160.6 | 18.2 | 17.6 GB | current |
| 4k | 125.8 | 17.5 | 19.2 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 18.2 | 1.00× |
| 2× | 33.3 | 1.83× |
| 4× | 37.4 | 2.05× |