← Back to community benchmarks
gemma-4-31B-it
Performance
32k
tokens
83.7
PP tok/s
8.2
TG tok/s
391277
TTFT (ms)
39.2
Peak mem (GB)
Hardware
Chip
M2 Max (38c)
Memory
64 GB
GPU Cores
38
Software
oMLX
v0.3.9.dev2
macOS
macOS 26.5
Context
32,768
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 94.1 | 9.9 | 31.8 GB | view |
| 4k | 94.6 | 9.9 | 34.5 GB | view |
| 8k | 94.2 | 9.7 | 35.0 GB | view |
| 16k | 92.0 | 9.1 | 36.1 GB | view |
| 32k | 83.7 | 8.2 | 39.2 GB | current |
| 64k | 75.8 | 7.0 | 45.8 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 9.9 | 1.00× |
| 2× | 17.9 | 1.81× |
| 4× | 22.2 | 2.24× |
| 8× | 19.0 | 1.92× |