← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
152.7
PP tok/s
17.3
TG tok/s
6708
TTFT (ms)
17.6
Peak mem (GB)
Hardware
Chip
M4 Max (32c)
Memory
36 GB
GPU Cores
32
Software
oMLX
v0.3.8
macOS
macOS 26.4.1
Context
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 152.7 | 17.3 | 17.6 GB | current |
| 4k | 133.5 | 15.6 | 20.2 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 17.3 | 1.00× |
| 2× | 28.3 | 1.64× |
| 4× | 29.9 | 1.73× |