← Back to community benchmarks
gemma-4-12B-it
Performance
4k
tokens
264.3
PP tok/s
16.0
TG tok/s
15498
TTFT (ms)
13.9
Peak mem (GB)
Hardware
Chip
M4 Pro (20c)
Memory
48 GB
GPU Cores
20
Software
oMLX
v0.4.2.dev2
macOS
macOS 15.7.7
Context
4,096
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 262.4 | 17.5 | 12.8 GB | view |
| 4k | 264.3 | 16.0 | 13.9 GB | current |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 17.5 | 1.00× |
| 2× | 29.4 | 1.68× |
| 4× | 39.6 | 2.26× |