← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
331.4
PP tok/s
9.3
TG tok/s
12361
TTFT (ms)
61.6
Peak mem (GB)
Hardware
Chip
M3 Ultra (80c)
Memory
512 GB
GPU Cores
80
Software
oMLX
v0.3.2
macOS
macOS 26.4
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 327.7 | 9.6 | 60.0 GB | view |
| 4k | 331.4 | 9.3 | 61.6 GB | current |
| 8k | 329.7 | 9.0 | 61.7 GB | view |
| 16k | 318.8 | 8.3 | 62.6 GB | view |
| 32k | 295.8 | 7.3 | 65.0 GB | view |
| 64k | 254.0 | 5.8 | 69.7 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 9.6 | 1.00× |
| 2× | 11.0 | 1.15× |
| 4× | 20.9 | 2.18× |