← Back to community benchmarks
gemma-4-31b
Performance
4k
tokens
75.3
PP tok/s
9.3
TG tok/s
54441
TTFT (ms)
34.5
Peak mem (GB)
Hardware
Chip
M2 Max (30c)
Memory
64 GB
GPU Cores
30
Software
oMLX
v0.3.9.dev1
macOS
macOS 26.5
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 73.1 | 9.7 | 32.1 GB | view |
| 4k | 75.3 | 9.3 | 34.5 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 9.7 | 1.00× |
| 8× | 15.1 | 1.56× |