← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
81.7
PP tok/s
7.0
TG tok/s
12527
TTFT (ms)
31.8
Peak mem (GB)
Hardware
Chip
M4 Pro (16c)
Memory
64 GB
GPU Cores
16
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 | 81.7 | 7.0 | 31.8 GB | current |
| 4k | 76.9 | 6.9 | 34.5 GB | view |
| 8k | 79.3 | 3.7 | 35.0 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 7.0 | 1.00× |
| 2× | 13.2 | 1.89× |