← Back to community benchmarks
gemma-4-12B-it
Performance
1k
tokens
147.0
PP tok/s
20.3
TG tok/s
6964
TTFT (ms)
12.8
Peak mem (GB)
Hardware
Chip
M1 Max (24c)
Memory
32 GB
GPU Cores
24
Software
oMLX
v0.4.2.dev2
macOS
macOS 26.5.1
Context
1,024
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 147.0 | 20.3 | 12.8 GB | current |
| 4k | 145.2 | 19.1 | 13.9 GB | view |
| 8k | 138.0 | 17.8 | 14.0 GB | view |
| 16k | 133.5 | 17.6 | 14.3 GB | view |
| 32k | 128.5 | 16.6 | 15.1 GB | view |
| 64k | 116.7 | 15.2 | 17.0 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 20.3 | 1.00× |
| 2× | 24.4 | 1.20× |
| 4× | 27.1 | 1.33× |