← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
160.8
PP tok/s
18.3
TG tok/s
6368
TTFT (ms)
17.6
Peak mem (GB)
Hardware
Chip
M4 Max (32c)
Memory
36 GB
GPU Cores
32
Software
oMLX
v0.4.1
macOS
macOS 15.7.7
Context
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 160.8 | 18.3 | 17.6 GB | current |
| 4k | 127.5 | 17.5 | 19.3 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 18.3 | 1.00× |
| 2× | 33.2 | 1.81× |
| 4× | 37.1 | 2.03× |