Gemma 4 12B on RX 9070 XT
Q6_K, Q5_K_M, Q4_0, Q4_K_XL and Q3_K_XL run on the RX 9070 XT, 16 GB. At 1 request:
- Q6_K: 47 tok/s decode, 236 ms first token p90, 13.8 GB card use at a 11,264-token context
- Q5_K_M: 52 tok/s decode, 220 ms first token p90, 12.4 GB card use at a 11,264-token context
- Q4_0: 57 tok/s decode, 178 ms first token p90, 14.9 GB card use at a 22,528-token context
- Q4_K_XL: 59 tok/s decode, 184 ms first token p90, 14.6 GB card use at a 22,528-token context
- Q3_K_XL: 61 tok/s decode, 231 ms first token p90, 13.9 GB card use at a 22,528-token context
Card use: the engine gives no split. The value holds the KV cache of the full context at boot, 11,264 to 22,528 tokens.
- GPU: RX 9070 XT · 16 GB
- Engine: llama.cpp b12063
- Measured Nov 6, 2026
© Softcery OÜ. License: CC BY 4.0. Credit: OINF, by Softcery, https://oinf.org/llms/gemma4-12b/rx-9070-xt.
TTFT
p50 and p90, ms

Decode per request
p50, tok/s

TTFT
p50 and p90, ms

Decode per request
p50, tok/s

TTFT
p50 and p90, ms

Decode per request
p50, tok/s

TTFT
p50 and p90, ms

Decode per request
p50, tok/s

TTFT
p50 and p90, ms

Decode per request
p50, tok/s

- 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
- 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-fullRX 9070 XT
16 GB1Max requests
Memory, GB
- Runtime
- 13.8, card use
- Weights
- not split
- KV cache
- not split
- KV per request
- not split
- KV tokens
- 11,264
Workload, tokens per request
- Prompt p50
- 9,687
- Prompt range
- 8,471 to 9,813
- From cache
- 98 %
- Reply p50
- 183
Run
- Measured
- Nov 6, 2026
- Engine
- llama.cpp b12063
- Load tool
- custom stream client
- Load test end
- 2 requests · p90 > 1 s or token 12 > 1.3 s
- Run end
- complete
Load
TTFT in ms, decode in tok/s| Requests | Sent | Errors | TTFT p50 | TTFT p90 | Decode p50 |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 183 | 236 | 47 |
Quality
Score in %, ± 95 % interval, run on RX 9070 XT, Nov 6, 2026| IFBench | MMLU-Pro | BFCL | IFEval | |
|---|---|---|---|---|
| Score per quant | ||||
| Q6_K · unsloth | 39 ± 6 | 81 ± 4 | 68 ± 4 | 87 ± 4 |
| Q5_K_M · unsloth | 41 ± 6 | 78 ± 4 | 69 ± 4 | 84 ± 4 |
| Q4_0 · google | 36 ± 5 | 77 ± 4 | 65 ± 4 | 88 ± 4 |
| Q4_K_XL · unsloth | 35 ± 5 | 77 ± 4 | 67 ± 4 | 86 ± 4 |
| Q3_K_XL · unsloth | 39 ± 6 | 75 ± 4 | 64 ± 5 | 87 ± 4 |
| Bench of Q6_K | ||||
| Harness | IFBench 0.2.0 | lm-evaluation-harness 0.4.13 | bfcl-eval 2026.3.23 | lm-evaluation-harness 0.4.13 |
| Items | 150 | 420 | 210 | 200 |
| Dataset | allenai/IFBench_test at 2e8a48d | TIGER-Lab/MMLU-Pro at b189ec7 | in the harness | google/IFEval at 966cd89 |
RX 9070 XT
16 GB1Max requests
Memory, GB
- Runtime
- 12.4, card use
- Weights
- not split
- KV cache
- not split
- KV per request
- not split
- KV tokens
- 11,264
Workload, tokens per request
- Prompt p50
- 8,732
- Prompt range
- 8,610 to 10,076
- From cache
- 97 %
- Reply p50
- 205
Run
- Measured
- Nov 5, 2026
- Engine
- llama.cpp b12063
- Load tool
- custom stream client
- Load test end
- 2 requests · p90 > 1 s or token 12 > 1.3 s
- Run end
- aborted: throttle: sw thermal for 30 s
Load
TTFT in ms, decode in tok/s| Requests | Sent | Errors | TTFT p50 | TTFT p90 | Decode p50 |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 166 | 220 | 52 |
Quality
Score in %, ± 95 % interval, run on RX 9070 XT, Nov 6, 2026| IFBench | MMLU-Pro | BFCL | IFEval | |
|---|---|---|---|---|
| Score per quant | ||||
| Q6_K · unsloth | 39 ± 6 | 81 ± 4 | 68 ± 4 | 87 ± 4 |
| Q5_K_M · unsloth | 41 ± 6 | 78 ± 4 | 69 ± 4 | 84 ± 4 |
| Q4_0 · google | 36 ± 5 | 77 ± 4 | 65 ± 4 | 88 ± 4 |
| Q4_K_XL · unsloth | 35 ± 5 | 77 ± 4 | 67 ± 4 | 86 ± 4 |
| Q3_K_XL · unsloth | 39 ± 6 | 75 ± 4 | 64 ± 5 | 87 ± 4 |
| Bench of Q5_K_M | ||||
| Harness | IFBench 0.2.0 | lm-evaluation-harness 0.4.13 | bfcl-eval 2026.3.23 | lm-evaluation-harness 0.4.13 |
| Items | 150 | 420 | 210 | 200 |
| Dataset | allenai/IFBench_test at 2e8a48d | TIGER-Lab/MMLU-Pro at b189ec7 | in the harness | google/IFEval at 966cd89 |
RX 9070 XT
16 GB2Max requests
Memory, GB
- Runtime
- 14.9, card use
- Weights
- not split
- KV cache
- not split
- KV per request
- not split
- KV tokens
- 22,528
Workload, tokens per request
- Prompt p50
- 9,889
- Prompt range
- 9,199 to 10,418
- From cache
- 98 %
- Reply p50
- 201
Run
- Measured
- Nov 5, 2026
- Engine
- llama.cpp b12063
- Load tool
- custom stream client
- Load test end
- 3 requests · p90 > 1 s or token 12 > 1.3 s
- Run end
- aborted: bfcl: bench bfcl: the tool ran past the time limit of its items
Load
TTFT in ms, decode in tok/s| Requests | Sent | Errors | TTFT p50 | TTFT p90 | Decode p50 |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 138 | 178 | 57 |
| 2 | 101 | 0 | 165 | 205 | 50 |
Quality
Score in %, ± 95 % interval, run on RX 9070 XT, Nov 6, 2026| IFBench | MMLU-Pro | BFCL | IFEval | |
|---|---|---|---|---|
| Score per quant | ||||
| Q6_K · unsloth | 39 ± 6 | 81 ± 4 | 68 ± 4 | 87 ± 4 |
| Q5_K_M · unsloth | 41 ± 6 | 78 ± 4 | 69 ± 4 | 84 ± 4 |
| Q4_0 · google | 36 ± 5 | 77 ± 4 | 65 ± 4 | 88 ± 4 |
| Q4_K_XL · unsloth | 35 ± 5 | 77 ± 4 | 67 ± 4 | 86 ± 4 |
| Q3_K_XL · unsloth | 39 ± 6 | 75 ± 4 | 64 ± 5 | 87 ± 4 |
| Bench of Q4_0 | ||||
| Harness | IFBench 0.2.0 | lm-evaluation-harness 0.4.13 | bfcl-eval 2026.3.23 | lm-evaluation-harness 0.4.13 |
| Items | 150 | 420 | 210 | 200 |
| Dataset | allenai/IFBench_test at 2e8a48d | TIGER-Lab/MMLU-Pro at b189ec7 | in the harness | google/IFEval at 966cd89 |
RX 9070 XT
16 GB2Max requests
Memory, GB
- Runtime
- 14.6, card use
- Weights
- not split
- KV cache
- not split
- KV per request
- not split
- KV tokens
- 22,528
Workload, tokens per request
- Prompt p50
- 9,783
- Prompt range
- 8,470 to 10,328
- From cache
- 98 %
- Reply p50
- 192
Run
- Measured
- Nov 5, 2026
- Engine
- llama.cpp b12063
- Load tool
- custom stream client
- Load test end
- 3 requests · p90 > 1 s or token 12 > 1.3 s
- Run end
- aborted: bfcl: bench bfcl: the tool ran past the time limit of its items
Load
TTFT in ms, decode in tok/s| Requests | Sent | Errors | TTFT p50 | TTFT p90 | Decode p50 |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 139 | 184 | 59 |
| 2 | 101 | 0 | 166 | 207 | 52 |
Quality
Score in %, ± 95 % interval, run on RX 9070 XT, Nov 6, 2026| IFBench | MMLU-Pro | BFCL | IFEval | |
|---|---|---|---|---|
| Score per quant | ||||
| Q6_K · unsloth | 39 ± 6 | 81 ± 4 | 68 ± 4 | 87 ± 4 |
| Q5_K_M · unsloth | 41 ± 6 | 78 ± 4 | 69 ± 4 | 84 ± 4 |
| Q4_0 · google | 36 ± 5 | 77 ± 4 | 65 ± 4 | 88 ± 4 |
| Q4_K_XL · unsloth | 35 ± 5 | 77 ± 4 | 67 ± 4 | 86 ± 4 |
| Q3_K_XL · unsloth | 39 ± 6 | 75 ± 4 | 64 ± 5 | 87 ± 4 |
| Bench of Q4_K_XL | ||||
| Harness | IFBench 0.2.0 | lm-evaluation-harness 0.4.13 | bfcl-eval 2026.3.23 | lm-evaluation-harness 0.4.13 |
| Items | 150 | 420 | 210 | 200 |
| Dataset | allenai/IFBench_test at 2e8a48d | TIGER-Lab/MMLU-Pro at b189ec7 | in the harness | google/IFEval at 966cd89 |
RX 9070 XT
16 GB2Max requests
Memory, GB
- Runtime
- 13.9, card use
- Weights
- not split
- KV cache
- not split
- KV per request
- not split
- KV tokens
- 22,528
Workload, tokens per request
- Prompt p50
- 9,175
- Prompt range
- 8,448 to 10,073
- From cache
- 98 %
- Reply p50
- 192
Run
- Measured
- Nov 6, 2026
- Engine
- llama.cpp b12063
- Load tool
- custom stream client
- Load test end
- 3 requests · p90 > 1 s or token 12 > 1.3 s
- Run end
- complete
Load
TTFT in ms, decode in tok/s| Requests | Sent | Errors | TTFT p50 | TTFT p90 | Decode p50 |
|---|---|---|---|---|---|
| 1 | 100 | 1 | 176 | 231 | 61 |
| 2 | 101 | 0 | 193 | 250 | 50 |
Quality
Score in %, ± 95 % interval, run on RX 9070 XT, Nov 6, 2026| IFBench | MMLU-Pro | BFCL | IFEval | |
|---|---|---|---|---|
| Score per quant | ||||
| Q6_K · unsloth | 39 ± 6 | 81 ± 4 | 68 ± 4 | 87 ± 4 |
| Q5_K_M · unsloth | 41 ± 6 | 78 ± 4 | 69 ± 4 | 84 ± 4 |
| Q4_0 · google | 36 ± 5 | 77 ± 4 | 65 ± 4 | 88 ± 4 |
| Q4_K_XL · unsloth | 35 ± 5 | 77 ± 4 | 67 ± 4 | 86 ± 4 |
| Q3_K_XL · unsloth | 39 ± 6 | 75 ± 4 | 64 ± 5 | 87 ± 4 |
| Bench of Q3_K_XL | ||||
| Harness | IFBench 0.2.0 | lm-evaluation-harness 0.4.13 | bfcl-eval 2026.3.23 | lm-evaluation-harness 0.4.13 |
| Items | 150 | 420 | 210 | 200 |
| Dataset | allenai/IFBench_test at 2e8a48d | TIGER-Lab/MMLU-Pro at b189ec7 | in the harness | google/IFEval at 966cd89 |
The method of the Gemma 4 12B page defines each value: load, TTFT, decode, max requests, quality and KV per request.