← Back to community benchmarks
gemma-4-31B-it
Performance
8k
tokens
620.9
PP tok/s
6.9
TG tok/s
13194
TTFT (ms)
63.0
Peak mem (GB)
Hardware
Chip
M5 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.4
macOS
macOS 26.3.1
Context
8,192
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 541.7 | 7.3 | 61.1 GB | view |
| 4k | 635.2 | 7.2 | 62.9 GB | view |
| 8k | 620.9 | 6.9 | 63.0 GB | current |
| 16k | 575.7 | 6.0 | 63.9 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 7.3 | 1.00× |
| 2× | 7.4 | 1.01× |
| 4× | 15.2 | 2.08× |