← Back to community benchmarks
gemma-4-31b-it-oQ4
Performance
64k
tokens
468.3
PP tok/s
13.5
TG tok/s
139940
TTFT (ms)
28.0
Peak mem (GB)
Hardware
Chip
M5 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.8
macOS
macOS 26.4.1
Context
65,536
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 670.6 | 25.7 | 18.1 GB | view |
| 64k | 468.3 | 13.5 | 28.0 GB | current |
| 128k | 270.7 | 7.8 | 43.4 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 25.7 | 1.00× |
| 2× | 27.8 | 1.08× |
| 4× | 74.5 | 2.90× |