← Back to community benchmarks
gemma-4-31b-it
Performance
1k
tokens
198.1
PP tok/s
13.5
TG tok/s
5168
TTFT (ms)
31.8
Peak mem (GB)
Hardware
Chip
M4 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.5.dev1
macOS
macOS 26.4
Context
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 198.1 | 13.5 | 31.8 GB | current |
| 4k | 200.1 | 13.0 | 33.6 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 13.5 | 1.00× |
| 2× | 25.7 | 1.90× |
| 4× | 34.8 | 2.58× |