← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
163.6
PP tok/s
16.3
TG tok/s
6258
TTFT (ms)
18.9
Peak mem (GB)
Hardware
Chip
M4 Max (32c)
Memory
36 GB
GPU Cores
32
Software
oMLX
v0.3.1
macOS
macOS 26.4
Context
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 163.6 | 16.3 | 18.9 GB | current |
| 4k | 161.7 | 14.7 | 20.5 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 16.3 | 1.00× |
| 2× | 25.4 | 1.56× |
| 4× | 30.7 | 1.88× |