← Back to community benchmarks
gemma-4-12B-it
Performance
32k
tokens
897.2
PP tok/s
24.5
TG tok/s
36522
TTFT (ms)
19.2
Peak mem (GB)
Hardware
Chip
M5 Max (40c)
Memory
48 GB
GPU Cores
40
Software
oMLX
v0.4.2.dev2
macOS
macOS 26.5
Context
32,768
Performance by Context Length
| Context | PP tok/s | TG tok/s | Peak Mem | |
|---|---|---|---|---|
| 1k | 540.3 | 18.6 | 18.2 GB | view |
| 4k | 831.6 | 13.6 | 18.6 GB | view |
| 8k | 910.4 | 13.4 | 18.6 GB | view |
| 16k | 966.2 | 18.8 | 18.8 GB | view |
| 32k | 897.2 | 24.5 | 19.2 GB | current |
| 64k | 795.8 | 21.2 | 20.8 GB | view |
| 128k | 637.2 | 18.9 | 24.3 GB | view |
Batching Results
| Batch Size | TG tok/s | Speedup |
|---|---|---|
| 1× | 18.6 | 1.00× |
| 2× | 32.5 | 1.75× |
| 4× | 52.5 | 2.82× |
| 8× | 120.4 | 6.47× |