← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
101.9
PP tok/s
12.5
TG tok/s
10047
TTFT (ms)
17.6
Peak mem (GB)
Hardware
Chip
M4 Pro (20c)
Memory
64 GB
GPU Cores
20
Software
oMLX
v0.3.4
macOS
macOS 15.7.5
Context
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 101.9 | 12.5 | 17.6 GB | current |
| 4k | 98.6 | 12.0 | 19.4 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 12.5 | 1.00× |
| 2× | 21.3 | 1.70× |
| 4× | 22.9 | 1.83× |
| 8× | 24.0 | 1.92× |