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.

Quant

TTFT

p50 / p90, ms, 1 req

Decode

tok/s, 1 req

Memory

GB of the 16 GB card, requests at a context
Context per request
0 to 16 GBRequestsWeightsKV tokens

TTFT

p50 and p90, ms
TTFT of Gemma 4 12B Q6_K on RX 9070 XT, llama.cpp b12063: p50 and p90 in ms by concurrent requests. At 1 request, p50 183 ms, p90 236 ms.TTFT of Gemma 4 12B Q6_K on RX 9070 XT, llama.cpp b12063: p50 and p90 in ms by concurrent requests. At 1 request, p50 183 ms, p90 236 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 12B Q6_K on RX 9070 XT, llama.cpp b12063: p50 in tok/s by concurrent requests. At 1 request, p50 47 tok/s.Decode speed per request of Gemma 4 12B Q6_K on RX 9070 XT, llama.cpp b12063: p50 in tok/s by concurrent requests. At 1 request, p50 47 tok/s.

TTFT

p50 and p90, ms
TTFT of Gemma 4 12B Q5_K_M on RX 9070 XT, llama.cpp b12063: p50 and p90 in ms by concurrent requests. At 1 request, p50 166 ms, p90 220 ms.TTFT of Gemma 4 12B Q5_K_M on RX 9070 XT, llama.cpp b12063: p50 and p90 in ms by concurrent requests. At 1 request, p50 166 ms, p90 220 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 12B Q5_K_M on RX 9070 XT, llama.cpp b12063: p50 in tok/s by concurrent requests. At 1 request, p50 52 tok/s.Decode speed per request of Gemma 4 12B Q5_K_M on RX 9070 XT, llama.cpp b12063: p50 in tok/s by concurrent requests. At 1 request, p50 52 tok/s.

TTFT

p50 and p90, ms
TTFT of Gemma 4 12B Q4_0 on RX 9070 XT, llama.cpp b12063: p50 and p90 in ms by concurrent requests. At 1 request, p50 138 ms, p90 178 ms.TTFT of Gemma 4 12B Q4_0 on RX 9070 XT, llama.cpp b12063: p50 and p90 in ms by concurrent requests. At 1 request, p50 138 ms, p90 178 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 12B Q4_0 on RX 9070 XT, llama.cpp b12063: p50 in tok/s by concurrent requests. At 1 request, p50 57 tok/s.Decode speed per request of Gemma 4 12B Q4_0 on RX 9070 XT, llama.cpp b12063: p50 in tok/s by concurrent requests. At 1 request, p50 57 tok/s.

TTFT

p50 and p90, ms
TTFT of Gemma 4 12B Q4_K_XL on RX 9070 XT, llama.cpp b12063: p50 and p90 in ms by concurrent requests. At 1 request, p50 139 ms, p90 184 ms.TTFT of Gemma 4 12B Q4_K_XL on RX 9070 XT, llama.cpp b12063: p50 and p90 in ms by concurrent requests. At 1 request, p50 139 ms, p90 184 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 12B Q4_K_XL on RX 9070 XT, llama.cpp b12063: p50 in tok/s by concurrent requests. At 1 request, p50 59 tok/s.Decode speed per request of Gemma 4 12B Q4_K_XL on RX 9070 XT, llama.cpp b12063: p50 in tok/s by concurrent requests. At 1 request, p50 59 tok/s.

TTFT

p50 and p90, ms
TTFT of Gemma 4 12B Q3_K_XL on RX 9070 XT, llama.cpp b12063: p50 and p90 in ms by concurrent requests. At 1 request, p50 176 ms, p90 231 ms.TTFT of Gemma 4 12B Q3_K_XL on RX 9070 XT, llama.cpp b12063: p50 and p90 in ms by concurrent requests. At 1 request, p50 176 ms, p90 231 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 12B Q3_K_XL on RX 9070 XT, llama.cpp b12063: p50 in tok/s by concurrent requests. At 1 request, p50 61 tok/s.Decode speed per request of Gemma 4 12B Q3_K_XL on RX 9070 XT, llama.cpp b12063: p50 in tok/s by concurrent requests. At 1 request, p50 61 tok/s.

IFBench

Score, %

MMLU-Pro

Score, %

BFCL

Score, %

IFEval

Score, %

The benches of each quant run on 1 reference GPU, not on each GPU: Q6_K, Q5_K_M, Q4_0, Q4_K_XL and Q3_K_XL on RX 9070 XT, Nov 6, 2026.

Recipe

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-full

RX 9070 XT

16 GB

1Max 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
RequestsSentErrorsTTFT p50TTFT p90Decode p50
1100018323647

Quality

Score in %, ± 95 % interval, run on RX 9070 XT, Nov 6, 2026
IFBenchMMLU-ProBFCLIFEval
Score per quant
Q6_K · unsloth39 ± 681 ± 468 ± 487 ± 4
Q5_K_M · unsloth41 ± 678 ± 469 ± 484 ± 4
Q4_0 · google36 ± 577 ± 465 ± 488 ± 4
Q4_K_XL · unsloth35 ± 577 ± 467 ± 486 ± 4
Q3_K_XL · unsloth39 ± 675 ± 464 ± 587 ± 4
Bench of Q6_K
HarnessIFBench 0.2.0lm-evaluation-harness 0.4.13bfcl-eval 2026.3.23lm-evaluation-harness 0.4.13
Items150420210200
Datasetallenai/IFBench_test at 2e8a48dTIGER-Lab/MMLU-Pro at b189ec7in the harnessgoogle/IFEval at 966cd89

RX 9070 XT

16 GB

1Max 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
RequestsSentErrorsTTFT p50TTFT p90Decode p50
1100016622052

Quality

Score in %, ± 95 % interval, run on RX 9070 XT, Nov 6, 2026
IFBenchMMLU-ProBFCLIFEval
Score per quant
Q6_K · unsloth39 ± 681 ± 468 ± 487 ± 4
Q5_K_M · unsloth41 ± 678 ± 469 ± 484 ± 4
Q4_0 · google36 ± 577 ± 465 ± 488 ± 4
Q4_K_XL · unsloth35 ± 577 ± 467 ± 486 ± 4
Q3_K_XL · unsloth39 ± 675 ± 464 ± 587 ± 4
Bench of Q5_K_M
HarnessIFBench 0.2.0lm-evaluation-harness 0.4.13bfcl-eval 2026.3.23lm-evaluation-harness 0.4.13
Items150420210200
Datasetallenai/IFBench_test at 2e8a48dTIGER-Lab/MMLU-Pro at b189ec7in the harnessgoogle/IFEval at 966cd89

RX 9070 XT

16 GB

2Max 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
RequestsSentErrorsTTFT p50TTFT p90Decode p50
1100013817857
2101016520550

Quality

Score in %, ± 95 % interval, run on RX 9070 XT, Nov 6, 2026
IFBenchMMLU-ProBFCLIFEval
Score per quant
Q6_K · unsloth39 ± 681 ± 468 ± 487 ± 4
Q5_K_M · unsloth41 ± 678 ± 469 ± 484 ± 4
Q4_0 · google36 ± 577 ± 465 ± 488 ± 4
Q4_K_XL · unsloth35 ± 577 ± 467 ± 486 ± 4
Q3_K_XL · unsloth39 ± 675 ± 464 ± 587 ± 4
Bench of Q4_0
HarnessIFBench 0.2.0lm-evaluation-harness 0.4.13bfcl-eval 2026.3.23lm-evaluation-harness 0.4.13
Items150420210200
Datasetallenai/IFBench_test at 2e8a48dTIGER-Lab/MMLU-Pro at b189ec7in the harnessgoogle/IFEval at 966cd89

RX 9070 XT

16 GB

2Max 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
RequestsSentErrorsTTFT p50TTFT p90Decode p50
1100013918459
2101016620752

Quality

Score in %, ± 95 % interval, run on RX 9070 XT, Nov 6, 2026
IFBenchMMLU-ProBFCLIFEval
Score per quant
Q6_K · unsloth39 ± 681 ± 468 ± 487 ± 4
Q5_K_M · unsloth41 ± 678 ± 469 ± 484 ± 4
Q4_0 · google36 ± 577 ± 465 ± 488 ± 4
Q4_K_XL · unsloth35 ± 577 ± 467 ± 486 ± 4
Q3_K_XL · unsloth39 ± 675 ± 464 ± 587 ± 4
Bench of Q4_K_XL
HarnessIFBench 0.2.0lm-evaluation-harness 0.4.13bfcl-eval 2026.3.23lm-evaluation-harness 0.4.13
Items150420210200
Datasetallenai/IFBench_test at 2e8a48dTIGER-Lab/MMLU-Pro at b189ec7in the harnessgoogle/IFEval at 966cd89

RX 9070 XT

16 GB

2Max 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
RequestsSentErrorsTTFT p50TTFT p90Decode p50
1100117623161
2101019325050

Quality

Score in %, ± 95 % interval, run on RX 9070 XT, Nov 6, 2026
IFBenchMMLU-ProBFCLIFEval
Score per quant
Q6_K · unsloth39 ± 681 ± 468 ± 487 ± 4
Q5_K_M · unsloth41 ± 678 ± 469 ± 484 ± 4
Q4_0 · google36 ± 577 ± 465 ± 488 ± 4
Q4_K_XL · unsloth35 ± 577 ± 467 ± 486 ± 4
Q3_K_XL · unsloth39 ± 675 ± 464 ± 587 ± 4
Bench of Q3_K_XL
HarnessIFBench 0.2.0lm-evaluation-harness 0.4.13bfcl-eval 2026.3.23lm-evaluation-harness 0.4.13
Items150420210200
Datasetallenai/IFBench_test at 2e8a48dTIGER-Lab/MMLU-Pro at b189ec7in the harnessgoogle/IFEval at 966cd89

The method of the Gemma 4 12B page defines each value: load, TTFT, decode, max requests, quality and KV per request.