← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
76.8
PP tok/s
12.4
TG tok/s
53344
TTFT (ms)
18.4
Peak mem (GB)
Hardware
Chip
M2 Max (30c)
Memory
32 GB
GPU Cores
30
Software
oMLX
v0.3.5
macOS
macOS 26.4.1
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 78.2 | 8.2 | 16.7 GB | view |
| 4k | 76.8 | 12.4 | 18.4 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 8.2 | 1.00× |
| 2× | 14.0 | 1.71× |
| 4× | 15.4 | 1.88× |