← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
191.5
PP tok/s
10.2
TG tok/s
5347
TTFT (ms)
31.8
Peak mem (GB)
Hardware
Chip
M4 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.6
macOS
macOS 26.4.1
Context
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 191.5 | 10.2 | 31.8 GB | current |
| 4k | 140.4 | 9.4 | 33.6 GB | view |
| 8k | 146.9 | 8.3 | 34.3 GB | view |
| 16k | 138.3 | 6.0 | 35.4 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 10.2 | 1.00× |
| 2× | 14.1 | 1.38× |