← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
161.7
PP tok/s
14.7
TG tok/s
25327
TTFT (ms)
20.5
Peak mem (GB)
Hardware
Chip
M4 Max (32c)
Memory
36 GB
GPU Cores
32
Software
oMLX
v0.3.1
macOS
macOS 26.4
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 163.6 | 16.3 | 18.9 GB | view |
| 4k | 161.7 | 14.7 | 20.5 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 16.3 | 1.00× |
| 2× | 25.4 | 1.56× |
| 4× | 30.7 | 1.88× |