Gemma 4 12B
Gemma 4 12B needs 11.1 GB of VRAM at 1 request, as W4A16 on L4.
- Provider: Google
- License: Apache 2.0
- 12B params
- 256K context
- Weights
- Measured Nov 6, 2026
© Softcery OÜ. License: CC BY 4.0. Credit: OINF, by Softcery, https://oinf.org/llms/gemma4-12b.
Gemma 4 12B benchmarks
60 ± 1
BF16: the reference
38 full set
BF16: the reference
77 ± 2
BF16: the reference
66 full set
BF16: the reference
90 full set
BF16: the reference
Run on RTX PRO 6000, Nov 5, 2026. Scores in %, ± the 95 % interval.
Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.
Bench setup and weights
- IFBench
- IFBench 0.2.0, 300 items, allenai/IFBench_test at 2e8a48d
- MMLU-Pro
- lm-evaluation-harness 0.4.13, 1400 items, TIGER-Lab/MMLU-Pro at b189ec7
- BFCL
- bfcl-eval 2026.3.23, 1640 items, in the harness
- IFEval
- lm-evaluation-harness 0.4.13, 541 items, google/IFEval at 966cd89
- Weights
- google/gemma-4-12B-it
58 ± 1
37 full set
−1.3 against BF16
76 ± 2
−1.2 against BF16
65 full set
−0.7 against BF16
89 full set
−0.4 against BF16
Run on RTX PRO 6000, Nov 5, 2026. Scores in %, ± the 95 % interval. The tick marks BF16.
Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.
Bench setup and weights
- IFBench
- IFBench 0.2.0, 300 items, allenai/IFBench_test at 2e8a48d
- MMLU-Pro
- lm-evaluation-harness 0.4.13, 1400 items, TIGER-Lab/MMLU-Pro at b189ec7
- BFCL
- bfcl-eval 2026.3.23, 1640 items, in the harness
- IFEval
- lm-evaluation-harness 0.4.13, 541 items, google/IFEval at 966cd89
62 ± 3
39 ± 6
−2.7 against BF16
81 ± 4
+0.5 against BF16
68 ± 4
−1.4 against BF16
87 ± 4
−0.5 against BF16
Run on RX 9070 XT, Nov 6, 2026. Scores in %, ± the 95 % interval. The tick marks BF16.
Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.
Bench setup and weights
- IFBench
- IFBench 0.2.0, 150 items, allenai/IFBench_test at 2e8a48d
- MMLU-Pro
- lm-evaluation-harness 0.4.13, 420 items, TIGER-Lab/MMLU-Pro at b189ec7
- BFCL
- bfcl-eval 2026.3.23, 210 items, in the harness
- IFEval
- lm-evaluation-harness 0.4.13, 200 items, google/IFEval at 966cd89
- Weights
- unsloth/gemma-4-12b-it-GGUF
62 ± 3
41 ± 6
−0.7 against BF16
78 ± 4
−2.1 against BF16
69 ± 4
0.0 against BF16
84 ± 4
−3.5 against BF16
Run on RX 9070 XT, Nov 6, 2026. Scores in %, ± the 95 % interval. The tick marks BF16.
Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.
Bench setup and weights
- IFBench
- IFBench 0.2.0, 150 items, allenai/IFBench_test at 2e8a48d
- MMLU-Pro
- lm-evaluation-harness 0.4.13, 420 items, TIGER-Lab/MMLU-Pro at b189ec7
- BFCL
- bfcl-eval 2026.3.23, 210 items, in the harness
- IFEval
- lm-evaluation-harness 0.4.13, 200 items, google/IFEval at 966cd89
- Weights
- unsloth/gemma-4-12b-it-GGUF
57 ± 1
35 full set
−3.0 against BF16
73 ± 2
−3.6* against BF16
64 full set
−1.9* against BF16
86 full set
−3.9* against BF16
Run on RTX PRO 6000, Nov 5, 2026. Scores in %, ± the 95 % interval. The tick marks BF16. * The change leaves out 0 at 95 %.
Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.
Bench setup and weights
- IFBench
- IFBench 0.2.0, 300 items, allenai/IFBench_test at 2e8a48d
- MMLU-Pro
- lm-evaluation-harness 0.4.13, 1400 items, TIGER-Lab/MMLU-Pro at b189ec7
- BFCL
- bfcl-eval 2026.3.23, 1640 items, in the harness
- IFEval
- lm-evaluation-harness 0.4.13, 541 items, google/IFEval at 966cd89
59 ± 3
36 ± 5
−5.3 against BF16
77 ± 4
−3.3 against BF16
65 ± 4
−5.2* against BF16
88 ± 4
+0.5 against BF16
Run on RX 9070 XT, Nov 6, 2026. Scores in %, ± the 95 % interval. The tick marks BF16. * The change leaves out 0 at 95 %.
Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.
Bench setup and weights
- IFBench
- IFBench 0.2.0, 150 items, allenai/IFBench_test at 2e8a48d
- MMLU-Pro
- lm-evaluation-harness 0.4.13, 420 items, TIGER-Lab/MMLU-Pro at b189ec7
- BFCL
- bfcl-eval 2026.3.23, 210 items, in the harness
- IFEval
- lm-evaluation-harness 0.4.13, 200 items, google/IFEval at 966cd89
59 ± 3
35 ± 5
−6.0 against BF16
77 ± 4
−3.3 against BF16
67 ± 4
−2.4 against BF16
86 ± 4
−2.0 against BF16
Run on RX 9070 XT, Nov 6, 2026. Scores in %, ± the 95 % interval. The tick marks BF16.
Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.
Bench setup and weights
- IFBench
- IFBench 0.2.0, 150 items, allenai/IFBench_test at 2e8a48d
- MMLU-Pro
- lm-evaluation-harness 0.4.13, 420 items, TIGER-Lab/MMLU-Pro at b189ec7
- BFCL
- bfcl-eval 2026.3.23, 210 items, in the harness
- IFEval
- lm-evaluation-harness 0.4.13, 200 items, google/IFEval at 966cd89
59 ± 3
39 ± 6
−2.7 against BF16
75 ± 4
−5.9* against BF16
64 ± 5
−5.2* against BF16
87 ± 4
−0.5 against BF16
Run on RX 9070 XT, Nov 6, 2026. Scores in %, ± the 95 % interval. The tick marks BF16. * The change leaves out 0 at 95 %.
Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.
Bench setup and weights
- IFBench
- IFBench 0.2.0, 150 items, allenai/IFBench_test at 2e8a48d
- MMLU-Pro
- lm-evaluation-harness 0.4.13, 420 items, TIGER-Lab/MMLU-Pro at b189ec7
- BFCL
- bfcl-eval 2026.3.23, 210 items, in the harness
- IFEval
- lm-evaluation-harness 0.4.13, 200 items, google/IFEval at 966cd89
- Weights
- unsloth/gemma-4-12b-it-GGUF
Gemma 4 12B speed
No run of this quant on this GPU. Runs on RX 9070 XT:
No run of this quant on this GPU. Runs on L4:
No run of this quant on this GPU. Runs on RTX 3090:
BF16 on RTX 5090
All quants on RTX 5090TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 4
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 75 | 82 | 58 |
| 2 | 100 | 0 | 97 | 110 | 56 |
| 3 | 100 | 0 | 103 | 109 | 55 |
| 4 | 100 | 0 | 104 | 151 | 54 |
BF16 on L40S
All quants on L40STTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 9
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 101 | 115 | 28 |
| 2 | 100 | 0 | 146 | 155 | 27 |
| 3 | 100 | 0 | 147 | 155 | 27 |
| 4 | 100 | 0 | 147 | 157 | 26 |
| 6 | 100 | 0 | 153 | 161 | 25 |
| 8 | 100 | 0 | 151 | 168 | 24 |
| 10 | 100 | 0 | 154 | 181 | 23 |
| 12 | 100 | 0 | 164 | 188 | 22 |
| 16 | 100 | 0 | 165 | 196 | 21 |
BF16 on RTX PRO 6000
All quants on RTX PRO 6000TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 13
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 178 | 200 | 50 |
| 2 | 100 | 0 | 181 | 211 | 49 |
| 3 | 100 | 0 | 180 | 204 | 49 |
| 4 | 100 | 0 | 185 | 212 | 49 |
| 6 | 100 | 0 | 183 | 205 | 47 |
| 8 | 100 | 0 | 187 | 222 | 45 |
| 10 | 100 | 0 | 192 | 237 | 43 |
| 12 | 100 | 0 | 192 | 220 | 41 |
| 16 | 100 | 0 | 198 | 231 | 38 |
| 24 | 100 | 0 | 211 | 265 | 31 |
| 32 | 100 | 0 | 231 | 289 | 29 |
| 48 | 100 | 2 | 252 | 365 | 25 |
| 64 | 100 | 0 | 291 | 387 | 22 |
No run of this quant on this GPU. Runs on RX 9070 XT:
FP8 on L4
All quants on L4TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 5
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 262 | 285 | 16 |
| 2 | 100 | 0 | 308 | 363 | 16 |
| 3 | 100 | 0 | 334 | 421 | 15 |
| 4 | 100 | 0 | 315 | 366 | 14 |
| 6 | 100 | 0 | 307 | 361 | 13 |
No run of this quant on this GPU. Runs on RTX 3090:
FP8 on RTX 5090
All quants on RTX 5090TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 9
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 62 | 68 | 88 |
| 2 | 100 | 0 | 71 | 84 | 86 |
| 3 | 100 | 0 | 80 | 83 | 84 |
| 4 | 100 | 0 | 82 | 90 | 82 |
| 6 | 100 | 0 | 73 | 91 | 78 |
| 8 | 100 | 0 | 85 | 94 | 73 |
| 10 | 100 | 0 | 87 | 96 | 69 |
| 12 | 100 | 0 | 87 | 110 | 65 |
| 16 | 100 | 0 | 82 | 108 | 57 |
FP8 on L40S
All quants on L40STTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 11
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 120 | 131 | 42 |
| 2 | 100 | 0 | 145 | 163 | 41 |
| 3 | 100 | 0 | 143 | 198 | 40 |
| 4 | 100 | 0 | 142 | 170 | 39 |
| 6 | 100 | 0 | 138 | 162 | 37 |
| 8 | 100 | 0 | 145 | 181 | 35 |
| 10 | 100 | 0 | 156 | 183 | 32 |
| 12 | 100 | 0 | 152 | 180 | 31 |
| 16 | 100 | 0 | 165 | 192 | 28 |
| 24 | 100 | 0 | 195 | 289 | 24 |
| 32 | 100 | 0 | 205 | 308 | 21 |
FP8 on RTX PRO 6000
All quants on RTX PRO 6000TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 14
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 163 | 188 | 79 |
| 2 | 100 | 0 | 168 | 195 | 77 |
| 3 | 100 | 0 | 168 | 194 | 75 |
| 4 | 100 | 0 | 176 | 218 | 74 |
| 6 | 100 | 0 | 173 | 230 | 70 |
| 8 | 100 | 0 | 176 | 224 | 67 |
| 10 | 100 | 0 | 183 | 231 | 63 |
| 12 | 100 | 0 | 178 | 236 | 59 |
| 16 | 100 | 0 | 187 | 248 | 53 |
| 24 | 100 | 0 | 209 | 249 | 40 |
| 32 | 100 | 0 | 231 | 294 | 36 |
| 48 | 100 | 0 | 252 | 330 | 31 |
| 64 | 100 | 0 | 259 | 354 | 28 |
| 96 | 100 | 0 | 434 | 2661 | 11 |
Q6_K on RX 9070 XT
All quants on RX 9070 XTTTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 1
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 183 | 236 | 47 |
No run of this quant on this GPU. Runs on L4:
No run of this quant on this GPU. Runs on RTX 3090:
No run of this quant on this GPU. Runs on RTX 5090:
No run of this quant on this GPU. Runs on L40S:
No run of this quant on this GPU. Runs on RTX PRO 6000:
Q5_K_M on RX 9070 XT
All quants on RX 9070 XTTTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 1
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 166 | 220 | 52 |
No run of this quant on this GPU. Runs on L4:
No run of this quant on this GPU. Runs on RTX 3090:
No run of this quant on this GPU. Runs on RTX 5090:
No run of this quant on this GPU. Runs on L40S:
No run of this quant on this GPU. Runs on RTX PRO 6000:
No run of this quant on this GPU. Runs on RX 9070 XT:
W4A16 on L4
All quants on L4TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 8
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 273 | 345 | 27 |
| 2 | 100 | 0 | 325 | 379 | 26 |
| 3 | 100 | 0 | 330 | 388 | 24 |
| 4 | 100 | 0 | 341 | 386 | 22 |
| 6 | 100 | 0 | 335 | 412 | 20 |
| 8 | 100 | 0 | 377 | 433 | 18 |
| 10 | 100 | 0 | 400 | 451 | 16 |
| 12 | 100 | 0 | 417 | 553 | 15 |
W4A16 on RTX 3090
All quants on RTX 3090TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 9
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 197 | 231 | 71 |
| 2 | 100 | 0 | 218 | 260 | 67 |
| 3 | 100 | 0 | 190 | 236 | 63 |
| 4 | 100 | 0 | 206 | 253 | 59 |
| 6 | 100 | 0 | 205 | 264 | 50 |
| 8 | 100 | 0 | 214 | 279 | 45 |
| 10 | 100 | 0 | 243 | 359 | 38 |
| 12 | 100 | 0 | 229 | 335 | 35 |
| 16 | 100 | 0 | 247 | 364 | 30 |
W4A16 on RTX 5090
All quants on RTX 5090TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 10
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 86 | 100 | 121 |
| 2 | 100 | 0 | 92 | 109 | 116 |
| 3 | 100 | 0 | 97 | 112 | 112 |
| 4 | 100 | 0 | 97 | 115 | 109 |
| 6 | 100 | 0 | 101 | 120 | 101 |
| 8 | 100 | 0 | 105 | 145 | 91 |
| 10 | 100 | 0 | 100 | 128 | 83 |
| 12 | 100 | 0 | 107 | 134 | 75 |
| 16 | 100 | 0 | 113 | 157 | 66 |
| 24 | 100 | 0 | 126 | 174 | 45 |
W4A16 on L40S
All quants on L40STTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 11
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 115 | 131 | 70 |
| 2 | 100 | 0 | 127 | 144 | 67 |
| 3 | 100 | 0 | 136 | 152 | 64 |
| 4 | 100 | 0 | 130 | 153 | 62 |
| 6 | 100 | 0 | 137 | 162 | 56 |
| 8 | 100 | 0 | 137 | 167 | 51 |
| 10 | 100 | 0 | 141 | 167 | 46 |
| 12 | 100 | 0 | 153 | 189 | 42 |
| 16 | 100 | 0 | 156 | 183 | 37 |
| 24 | 100 | 0 | 180 | 241 | 30 |
| 32 | 100 | 0 | 192 | 273 | 26 |
W4A16 on RTX PRO 6000
All quants on RTX PRO 6000TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 13
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 59 | 62 | 120 |
| 2 | 100 | 0 | 63 | 74 | 116 |
| 3 | 100 | 0 | 62 | 66 | 115 |
| 4 | 100 | 0 | 64 | 78 | 110 |
| 6 | 100 | 0 | 66 | 75 | 101 |
| 8 | 100 | 0 | 68 | 84 | 95 |
| 10 | 100 | 0 | 70 | 87 | 85 |
| 12 | 100 | 0 | 74 | 90 | 78 |
| 16 | 100 | 0 | 81 | 120 | 69 |
| 24 | 100 | 0 | 90 | 118 | 48 |
| 32 | 100 | 0 | 90 | 120 | 44 |
| 48 | 100 | 0 | 108 | 178 | 36 |
| 64 | 100 | 0 | 117 | 156 | 31 |
Q4_0 on RX 9070 XT
All quants on RX 9070 XTTTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 2
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 138 | 178 | 57 |
| 2 | 101 | 0 | 165 | 205 | 50 |
No run of this quant on this GPU. Runs on L4:
No run of this quant on this GPU. Runs on RTX 3090:
No run of this quant on this GPU. Runs on RTX 5090:
No run of this quant on this GPU. Runs on L40S:
No run of this quant on this GPU. Runs on RTX PRO 6000:
Q4_K_XL on RX 9070 XT
All quants on RX 9070 XTTTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 2
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 139 | 184 | 59 |
| 2 | 101 | 0 | 166 | 207 | 52 |
No run of this quant on this GPU. Runs on L4:
No run of this quant on this GPU. Runs on RTX 3090:
No run of this quant on this GPU. Runs on RTX 5090:
No run of this quant on this GPU. Runs on L40S:
No run of this quant on this GPU. Runs on RTX PRO 6000:
Q3_K_XL on RX 9070 XT
All quants on RX 9070 XTTTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 2
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 1 | 176 | 231 | 61 |
| 2 | 101 | 0 | 193 | 250 | 50 |
No run of this quant on this GPU. Runs on L4:
No run of this quant on this GPU. Runs on RTX 3090:
No run of this quant on this GPU. Runs on RTX 5090:
No run of this quant on this GPU. Runs on L40S:
No run of this quant on this GPU. Runs on RTX PRO 6000:
Gemma 4 12B VRAM requirements
Card memory, 32 GB
Requests the KV cache holds, by context
- 16K tokens4
- 32K tokens2
- 64K tokens1
Workload per request: prompt p50 9,575 tokens, 8,696 to 10,299, 95 % from cache. Reply p50 205 tokens.
Card memory, 48 GB
Requests the KV cache holds, by context
- 16K tokens16
- 32K tokens8
- 64K tokens4
- 128K tokens2
- 256K tokens1
Workload per request: prompt p50 9,560 tokens, 8,349 to 10,455, 96 % from cache. Reply p50 202 tokens.
Card memory, 96 GB
Requests the KV cache holds, by context
- 16K tokens21
- 32K tokens10
- 64K tokens5
- 128K tokens2
- 256K tokens1
Workload per request: prompt p50 9,438 tokens, 8,338 to 10,461, 97 % from cache. Reply p50 198 tokens.
Card memory, 24 GB
Requests the KV cache holds, by context
- 16K tokens6
- 32K tokens3
- 64K tokens1
Workload per request: prompt p50 8,985 tokens, 8,418 to 10,407, 93 % from cache. Reply p50 200 tokens.
Card memory, 32 GB
Requests the KV cache holds, by context
- 16K tokens14
- 32K tokens7
- 64K tokens3
- 128K tokens1
Workload per request: prompt p50 9,234 tokens, 8,329 to 10,442, 96 % from cache. Reply p50 195 tokens.
Card memory, 48 GB
Requests the KV cache holds, by context
- 16K tokens25
- 32K tokens12
- 64K tokens6
- 128K tokens3
- 256K tokens1
Workload per request: prompt p50 9,505 tokens, 8,334 to 10,403, 97 % from cache. Reply p50 200 tokens.
Card memory, 96 GB
Requests the KV cache holds, by context
- 16K tokens24
- 32K tokens12
- 64K tokens6
- 128K tokens3
- 256K tokens1
Workload per request: prompt p50 9,207 tokens, 8,311 to 10,463, 96 % from cache. Reply p50 201 tokens.
Card memory, 16 GB
Requests the KV cache holds, by context
KV tokens: not recorded.
Workload per request: prompt p50 9,687 tokens, 8,471 to 9,813, 98 % from cache. Reply p50 183 tokens.
Card memory, 16 GB
Requests the KV cache holds, by context
KV tokens: not recorded.
Workload per request: prompt p50 8,732 tokens, 8,610 to 10,076, 97 % from cache. Reply p50 205 tokens.
Card memory, 24 GB
Requests the KV cache holds, by context
- 16K tokens10
- 32K tokens5
- 64K tokens2
- 128K tokens1
Workload per request: prompt p50 9,324 tokens, 8,346 to 10,343, 97 % from cache. Reply p50 203 tokens.
Card memory, 24 GB
Requests the KV cache holds, by context
- 16K tokens11
- 32K tokens5
- 64K tokens2
- 128K tokens1
Workload per request: prompt p50 9,494 tokens, 8,348 to 10,485, 97 % from cache. Reply p50 203 tokens.
Card memory, 32 GB
Requests the KV cache holds, by context
- 16K tokens18
- 32K tokens9
- 64K tokens4
- 128K tokens2
- 256K tokens1
Workload per request: prompt p50 9,593 tokens, 8,323 to 10,479, 96 % from cache. Reply p50 198 tokens.
Card memory, 48 GB
Requests the KV cache holds, by context
- 16K tokens30
- 32K tokens15
- 64K tokens7
- 128K tokens3
- 256K tokens1
Workload per request: prompt p50 9,441 tokens, 8,316 to 10,478, 97 % from cache. Reply p50 196 tokens.
Card memory, 96 GB
Requests the KV cache holds, by context
- 16K tokens26
- 32K tokens13
- 64K tokens6
- 128K tokens3
- 256K tokens1
Workload per request: prompt p50 9,398 tokens, 8,303 to 10,465, 97 % from cache. Reply p50 197 tokens.
Card memory, 16 GB
Requests the KV cache holds, by context
- 16K tokens1
Workload per request: prompt p50 9,889 tokens, 9,199 to 10,418, 98 % from cache. Reply p50 201 tokens.
Card memory, 16 GB
Requests the KV cache holds, by context
- 16K tokens1
Workload per request: prompt p50 9,783 tokens, 8,470 to 10,328, 98 % from cache. Reply p50 192 tokens.
Card memory, 16 GB
Requests the KV cache holds, by context
- 16K tokens1
Workload per request: prompt p50 9,175 tokens, 8,448 to 10,073, 98 % from cache. Reply p50 192 tokens.
Gemma 4 12B recipe
- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 6 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-12B-it \
--revision 43c9d014b231474fa7212dbb48a762566c2b255d \
--served-model-name gemma4-12b-bf16-rtx-5090 \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 24 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-12B-it \
--revision 43c9d014b231474fa7212dbb48a762566c2b255d \
--served-model-name gemma4-12b-bf16-l40s \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 96 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-12B-it \
--revision 43c9d014b231474fa7212dbb48a762566c2b255d \
--served-model-name gemma4-12b-bf16-rtx-pro-6000 \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 8 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve RedHatAI/gemma-4-12B-it-FP8-Dynamic \
--revision 2083adceb2a3df0465e6021e08a7196d21dbbb44 \
--served-model-name gemma4-12b-fp8-l4 \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 24 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve RedHatAI/gemma-4-12B-it-FP8-Dynamic \
--revision 2083adceb2a3df0465e6021e08a7196d21dbbb44 \
--served-model-name gemma4-12b-fp8-rtx-5090 \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 48 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve RedHatAI/gemma-4-12B-it-FP8-Dynamic \
--revision 2083adceb2a3df0465e6021e08a7196d21dbbb44 \
--served-model-name gemma4-12b-fp8-l40s \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 96 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve RedHatAI/gemma-4-12B-it-FP8-Dynamic \
--revision 2083adceb2a3df0465e6021e08a7196d21dbbb44 \
--served-model-name gemma4-12b-fp8-rtx-pro-6000 \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- llama.cpp b12063
- Load tool
- custom stream client
- Measured
- Nov 6, 2026
- Load test end
- 2 requests · p90 > 1 s or token 12 > 1.3 s
- Chat template
- gemma4.jinja
- Image
- ghcr.io/ggml-org/llama.cpp:server-vulkan-b12063@sha256:1359b4e1b3896bc922563a1bb4391afaaf41f4607dfd556627187fd689778853
/app/llama-server \
-m /data/models/hub/models--unsloth--gemma-4-12b-it-GGUF/snapshots/fc034cfff751157913579611efad8462ac1be606/gemma-4-12b-it-Q6_K.gguf \
--host 127.0.0.1 \
--port 8000 \
--alias gemma4-12b-q6-k-rx-9070-xt \
--jinja \
--chat-template-file /opt/engine/models/gemma4-12b/gemma4.jinja \
--metrics \
--temp 1.0 \
--top-k 64 \
--top-p 0.95 \
--min-p 0.0 \
--repeat-penalty 1.0 \
--presence-penalty 0.0 \
--reasoning off \
--gpu-layers 99 \
--flash-attn on \
--ctx-size 11264 \
--parallel 1 \
--swa-full- Engine
- llama.cpp b12063
- Load tool
- custom stream client
- Measured
- Nov 5, 2026
- Load test end
- 2 requests · p90 > 1 s or token 12 > 1.3 s
- Chat template
- gemma4.jinja
- Image
- ghcr.io/ggml-org/llama.cpp:server-vulkan-b12063@sha256:1359b4e1b3896bc922563a1bb4391afaaf41f4607dfd556627187fd689778853
/app/llama-server \
-m /data/models/hub/models--unsloth--gemma-4-12b-it-GGUF/snapshots/fc034cfff751157913579611efad8462ac1be606/gemma-4-12b-it-Q5_K_M.gguf \
--host 127.0.0.1 \
--port 8000 \
--alias gemma4-12b-q5-k-m-rx-9070-xt \
--jinja \
--chat-template-file /opt/engine/models/gemma4-12b/gemma4.jinja \
--metrics \
--temp 1.0 \
--top-k 64 \
--top-p 0.95 \
--min-p 0.0 \
--repeat-penalty 1.0 \
--presence-penalty 0.0 \
--reasoning off \
--gpu-layers 99 \
--flash-attn on \
--ctx-size 11264 \
--parallel 1 \
--swa-full- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 16 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-12B-it-qat-w4a16-ct \
--revision 1d2c2d7f2466070e69d6fb3fd5ce9a7d75f2f6ee \
--served-model-name gemma4-12b-w4a16-l4 \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 24 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-12B-it-qat-w4a16-ct \
--revision 1d2c2d7f2466070e69d6fb3fd5ce9a7d75f2f6ee \
--served-model-name gemma4-12b-w4a16-rtx-3090 \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 32 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-12B-it-qat-w4a16-ct \
--revision 1d2c2d7f2466070e69d6fb3fd5ce9a7d75f2f6ee \
--served-model-name gemma4-12b-w4a16-rtx-5090 \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 48 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-12B-it-qat-w4a16-ct \
--revision 1d2c2d7f2466070e69d6fb3fd5ce9a7d75f2f6ee \
--served-model-name gemma4-12b-w4a16-l40s \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 6, 2026
- Load test end
- 96 requests · p90 > 1 s
- Chat template
- gemma4.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-12B-it-qat-w4a16-ct \
--revision 1d2c2d7f2466070e69d6fb3fd5ce9a7d75f2f6ee \
--served-model-name gemma4-12b-w4a16-rtx-pro-6000 \
--host 127.0.0.1 \
--port 8000 \
--enable-prefix-caching \
--enable-prompt-tokens-details \
--chat-template /opt/engine/models/gemma4-12b/gemma4.jinja \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--override-generation-config '{"temperature": 1.0, "top_k": 64, "top_p": 0.95}' \
--logprobs-mode raw_logprobs \
--default-chat-template-kwargs '{"enable_thinking": false}' \
--max-model-len 32768 \
--limit-mm-per-prompt '{"image": 0, "audio": 0, "video": 0}'- Engine
- llama.cpp b12063
- Load tool
- custom stream client
- Measured
- Nov 5, 2026
- Load test end
- 3 requests · p90 > 1 s or token 12 > 1.3 s
- Chat template
- gemma4.jinja
- Image
- ghcr.io/ggml-org/llama.cpp:server-vulkan-b12063@sha256:1359b4e1b3896bc922563a1bb4391afaaf41f4607dfd556627187fd689778853
/app/llama-server \
-m /data/models/hub/models--google--gemma-4-12B-it-qat-q4_0-gguf/snapshots/29d097773436b69ff9feafd636ab4cf873786537/gemma-4-12b-it-qat-q4_0.gguf \
--host 127.0.0.1 \
--port 8000 \
--alias gemma4-12b-q4-0-qat-rx-9070-xt \
--jinja \
--chat-template-file /opt/engine/models/gemma4-12b/gemma4.jinja \
--metrics \
--temp 1.0 \
--top-k 64 \
--top-p 0.95 \
--min-p 0.0 \
--repeat-penalty 1.0 \
--presence-penalty 0.0 \
--reasoning off \
--gpu-layers 99 \
--flash-attn on \
--ctx-size 22528 \
--parallel 2 \
--swa-full- Engine
- llama.cpp b12063
- Load tool
- custom stream client
- Measured
- Nov 5, 2026
- Load test end
- 3 requests · p90 > 1 s or token 12 > 1.3 s
- Chat template
- gemma4.jinja
- Image
- ghcr.io/ggml-org/llama.cpp:server-vulkan-b12063@sha256:1359b4e1b3896bc922563a1bb4391afaaf41f4607dfd556627187fd689778853
/app/llama-server \
-m /data/models/hub/models--unsloth--gemma-4-12B-it-qat-GGUF/snapshots/980b060c40a8539ac159e0501a3e0f66a6365af3/gemma-4-12B-it-qat-UD-Q4_K_XL.gguf \
--host 127.0.0.1 \
--port 8000 \
--alias gemma4-12b-ud-q4-k-xl-rx-9070-xt \
--jinja \
--chat-template-file /opt/engine/models/gemma4-12b/gemma4.jinja \
--metrics \
--temp 1.0 \
--top-k 64 \
--top-p 0.95 \
--min-p 0.0 \
--repeat-penalty 1.0 \
--presence-penalty 0.0 \
--reasoning off \
--gpu-layers 99 \
--flash-attn on \
--ctx-size 22528 \
--parallel 2 \
--swa-full- Engine
- llama.cpp b12063
- Load tool
- custom stream client
- Measured
- Nov 6, 2026
- Load test end
- 3 requests · p90 > 1 s or token 12 > 1.3 s
- Chat template
- gemma4.jinja
- Image
- ghcr.io/ggml-org/llama.cpp:server-vulkan-b12063@sha256:1359b4e1b3896bc922563a1bb4391afaaf41f4607dfd556627187fd689778853
/app/llama-server \
-m /data/models/hub/models--unsloth--gemma-4-12b-it-GGUF/snapshots/fc034cfff751157913579611efad8462ac1be606/gemma-4-12b-it-UD-Q3_K_XL.gguf \
--host 127.0.0.1 \
--port 8000 \
--alias gemma4-12b-ud-q3-k-xl-rx-9070-xt \
--jinja \
--chat-template-file /opt/engine/models/gemma4-12b/gemma4.jinja \
--metrics \
--temp 1.0 \
--top-k 64 \
--top-p 0.95 \
--min-p 0.0 \
--repeat-penalty 1.0 \
--presence-penalty 0.0 \
--reasoning off \
--gpu-layers 99 \
--flash-attn on \
--ctx-size 22528 \
--parallel 2 \
--swa-fullMethod
- Load: AIPerf, or a custom client in older runs, sends warm chat turns at each step of concurrent requests. Most of each prompt comes from the prefix cache.
- TTFT: time to first token, in ms. p90 reads "errors" when over 10 % of the requests fail.
- Decode: tokens per second of 1 request after its first token, p50.
- Max requests: the highest step with a TTFT p90 of 1 s or less.
- VRAM: weights, runtime and the KV cache of 1 request, at the last engine boot. llama.cpp gives no split: its value is the card use, with the KV cache of the full context.
- KV per request: the KV cache of 1 request at the p50 prompt and reply tokens.
- Quality: pinned public harnesses on a fixed sample of items, on 1 GPU per quant. ± is the 95 % interval of the sample. "Full set": all items of the bench, no interval.
- Grading: rule checks and exact answers. No model grades the answers.
- BFCL: 7 categories, not the published overall score.
- Change against the top quant: an exact paired test on the items both quants answered. The interval is the 95 % interval of the gap in points.
- No run: No run of this quant on this GPU. The picker marks such a quant or GPU with a dotted tab.