← Back to community benchmarks
gemma-4-31B-it
Performance
4k
tokens
635.2
PP tok/s
7.2
TG tok/s
6449
TTFT (ms)
62.9
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
4,096
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 | current |
| 8k | 620.9 | 6.9 | 63.0 GB | view |
| 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× |