← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
683.9
PP tok/s
7.2
TG tok/s
5989
TTFT (ms)
61.3
Peak mem (GB)
Hardware
Chip
M5 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.8
macOS
macOS 26.4.1
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 617.4 | 7.3 | 58.8 GB | view |
| 4k | 683.9 | 7.2 | 61.3 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 7.3 | 1.00× |
| 2× | 9.4 | 1.29× |
| 4× | 18.2 | 2.49× |