← Back to community benchmarks
gemma-4-31B-it-OptiQ
Performance
4k
tokens
146.8
PP tok/s
22.7
TG tok/s
27901
TTFT (ms)
21.8
Peak mem (GB)
Hardware
Chip
M2 Ultra (60c)
Memory
64 GB
GPU Cores
60
Software
oMLX
v0.3.8
macOS
macOS 26.4.1
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 146.3 | 23.9 | 19.2 GB | view |
| 4k | 146.8 | 22.7 | 21.8 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 23.9 | 1.00× |
| 2× | 29.5 | 1.23× |
| 4× | 32.8 | 1.37× |