← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
152.0
PP tok/s
6.4
TG tok/s
26947
TTFT (ms)
19.2
Peak mem (GB)
Hardware
Chip
M5 (10c)
Memory
32 GB
GPU Cores
10
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 | 159.1 | 6.9 | 17.4 GB | view |
| 4k | 152.0 | 6.4 | 19.2 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 6.9 | 1.00× |
| 2× | 11.4 | 1.65× |
| 4× | 7.8 | 1.13× |