← Back to community benchmarks
gemma-4-31b-it
Performance
8k
tokens
176.0
PP tok/s
5.8
TG tok/s
46558
TTFT (ms)
60.3
Peak mem (GB)
Hardware
Chip
M3 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.3.10
macOS
macOS 26.3.1
Context
8,192
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 184.5 | 5.9 | 58.5 GB | view |
| 4k | 187.9 | 5.8 | 59.8 GB | view |
| 8k | 176.0 | 5.8 | 60.3 GB | current |
| 16k | 149.8 | 3.4 | 61.5 GB | view |
| 32k | 131.6 | 3.8 | 63.8 GB | view |
| 64k | 112.3 | 3.5 | 68.5 GB | view |
| 128k | 81.6 | 2.9 | 78.1 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 5.9 | 1.00× |
| 2× | 4.8 | 0.81× |
| 4× | 9.5 | 1.61× |