← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
78.2
PP tok/s
8.2
TG tok/s
13095
TTFT (ms)
16.7
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
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 78.2 | 8.2 | 16.7 GB | current |
| 4k | 76.8 | 12.4 | 18.4 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 8.2 | 1.00× |
| 2× | 14.0 | 1.71× |
| 4× | 15.4 | 1.88× |