← Back to community benchmarks
gemma-4-26b-a4b-it
Performance
4k
tokens
1,412
PP tok/s
92.8
TG tok/s
2902
TTFT (ms)
14.6
Peak mem (GB)
Hardware
Chip
M4 Max (40c)
Memory
128 GB
GPU Cores
40
Software
oMLX
v0.5.1
macOS
macOS 26.5.2
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 1,574 | 99.9 | 14.3 GB | view |
| 4k | 1,412 | 92.8 | 14.6 GB | current |
| 8k | 1,247 | 90.6 | 15.0 GB | view |
| 16k | 1,106 | 83.0 | 15.7 GB | view |
| 32k | 979.9 | 71.0 | 16.8 GB | view |
| 64k | 812.2 | 54.1 | 18.1 GB | view |
| 128k | 505.5 | 34.1 | 21.4 GB | view |
| 195k | 368.3 | 22.2 | 25.4 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 99.9 | 1.00× |
| 2× | 156.8 | 1.57× |
| 4× | 210.9 | 2.11× |