← Back to community benchmarks
gemma-4-31b-it
Performance
4k
tokens
172.8
PP tok/s
16.6
TG tok/s
23700
TTFT (ms)
19.3
Peak mem (GB)
Hardware
Chip
M3 Max (40c)
Memory
48 GB
GPU Cores
40
Software
oMLX
v0.3.8rc1
macOS
macOS 26.3.1
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 173.5 | 18.2 | 17.6 GB | view |
| 4k | 172.8 | 16.6 | 19.3 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 18.2 | 1.00× |
| 2× | 29.1 | 1.60× |
| 4× | 33.6 | 1.85× |