← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
111.1
PP tok/s
10.8
TG tok/s
36859
TTFT (ms)
19.6
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 | 112.0 | 14.9 | 18.0 GB | view |
| 4k | 111.1 | 10.8 | 19.6 GB | current |
| 8k | 110.1 | 10.9 | 19.8 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 14.9 | 1.00× |
| 2× | 17.1 | 1.15× |
| 4× | 19.6 | 1.32× |