← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
106.3
PP tok/s
13.6
TG tok/s
38522
TTFT (ms)
20.5
Peak mem (GB)
Hardware
Chip
M1 Ultra (48c)
Memory
128 GB
GPU Cores
48
Software
oMLX
v0.3.2
macOS
macOS 15.7.2
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 107.0 | 15.2 | 18.9 GB | view |
| 4k | 106.3 | 13.6 | 20.5 GB | current |
| 8k | 105.4 | 10.8 | 20.9 GB | view |
| 16k | 103.0 | 4.7 | 22.3 GB | view |
| 32k | 98.5 | 4.6 | 24.3 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 15.2 | 1.00× |
| 2× | 17.3 | 1.14× |
| 4× | 19.6 | 1.29× |