← Back to community benchmarks
gemma-4-31b
Performance
4k
tokens
100.3
PP tok/s
6.6
TG tok/s
40830
TTFT (ms)
33.6
Peak mem (GB)
Hardware
Chip
M4 Pro (20c)
Memory
64 GB
GPU Cores
20
Software
oMLX
v0.3.4
macOS
macOS 26.3.1
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 99.5 | 7.0 | 32.1 GB | view |
| 4k | 100.3 | 6.6 | 33.6 GB | current |
| 8k | 93.6 | 6.1 | 33.9 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 7.0 | 1.00× |
| 2× | 13.4 | 1.91× |
| 4× | 18.0 | 2.57× |
| 8× | 18.6 | 2.66× |