Gemma 4 12B on RTX 5090

BF16, FP8 and W4A16 run on the RTX 5090, 32 GB. At 1 request:

  • BF16: 58 tok/s decode, 82 ms first token p90, 26.9 GB VRAM
  • FP8: 88 tok/s decode, 68 ms first token p90, 16.0 GB VRAM
  • W4A16: 121 tok/s decode, 100 ms first token p90, 11.4 GB VRAM

VRAM: weights, runtime and the KV cache of 1 request of 9,429 to 9,791 tokens, the p50 prompt and reply of the run.

The engine fills the rest of the card with KV cache for more requests. The Memory tile of each GPU shows the split.

  • GPU: RTX 5090 · 32 GB
  • Engine: vLLM v0.31.0
  • Measured Nov 6, 2026

© Softcery OÜ. License: CC BY 4.0. Credit: OINF, by Softcery, https://oinf.org/llms/gemma4-12b/rtx-5090.

Quant

TTFT

p50 / p90, ms, 1 req

Decode

tok/s, 1 req

Memory

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

TTFT

p50 and p90, ms
TTFT of Gemma 4 12B BF16 on RTX 5090, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 75 ms, p90 82 ms.TTFT of Gemma 4 12B BF16 on RTX 5090, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 75 ms, p90 82 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 12B BF16 on RTX 5090, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 58 tok/s.Decode speed per request of Gemma 4 12B BF16 on RTX 5090, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 58 tok/s.

TTFT

p50 and p90, ms
TTFT of Gemma 4 12B FP8 on RTX 5090, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 62 ms, p90 68 ms.TTFT of Gemma 4 12B FP8 on RTX 5090, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 62 ms, p90 68 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 12B FP8 on RTX 5090, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 88 tok/s.Decode speed per request of Gemma 4 12B FP8 on RTX 5090, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 88 tok/s.

TTFT

p50 and p90, ms
TTFT of Gemma 4 12B W4A16 on RTX 5090, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 86 ms, p90 100 ms.TTFT of Gemma 4 12B W4A16 on RTX 5090, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 86 ms, p90 100 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 12B W4A16 on RTX 5090, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 121 tok/s.Decode speed per request of Gemma 4 12B W4A16 on RTX 5090, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 121 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: BF16, FP8 and W4A16 on RTX PRO 6000, Nov 5, 2026.

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 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
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}'

RTX 5090

32 GB

4Max requests

Memory, GB

Runtime
1.7
Weights
24.5
KV cache
5.1
KV per request
0.66
KV tokens
74,915

Workload, tokens per request

Prompt p50
9,575
Prompt range
8,696 to 10,299
From cache
95 %
Reply p50
205

Run

Measured
Nov 6, 2026
Engine
vLLM v0.31.0
Load tool
AIPerf 0.13.0
Load test end
6 requests · p90 > 1 s
Run end
complete

Load

TTFT in ms, decode in tok/s
RequestsSentErrorsTTFT p50TTFT p90Decode p50
11000758258
210009711056
3100010310955
4100010415154

Quality

Score in %, ± 95 % interval, run on RTX PRO 6000, Nov 5, 2026
IFBenchMMLU-ProBFCLIFEval
Score per quant
BF16 · google38 ± 077 ± 266 ± 090 ± 0
FP8 · RedHatAI37 ± 076 ± 265 ± 089 ± 0
W4A16 · google35 ± 073 ± 264 ± 086 ± 0
Bench of BF16
HarnessIFBench 0.2.0lm-evaluation-harness 0.4.13bfcl-eval 2026.3.23lm-evaluation-harness 0.4.13
Items30014001640541
Datasetallenai/IFBench_test at 2e8a48dTIGER-Lab/MMLU-Pro at b189ec7in the harnessgoogle/IFEval at 966cd89

RTX 5090

32 GB

16Max requests

Memory, GB

Runtime
1.7
Weights
13.7
KV cache
16.0
KV per request
0.64
KV tokens
235,366

Workload, tokens per request

Prompt p50
9,234
Prompt range
8,329 to 10,442
From cache
96 %
Reply p50
195

Run

Measured
Nov 6, 2026
Engine
vLLM v0.31.0
Load tool
AIPerf 0.13.0
Load test end
24 requests · p90 > 1 s
Run end
complete

Load

TTFT in ms, decode in tok/s
RequestsSentErrorsTTFT p50TTFT p90Decode p50
11000626888
21000718486
31000808384
41000829082
61000739178
81000859473
101000879669
1210008711065
1610008210857

Quality

Score in %, ± 95 % interval, run on RTX PRO 6000, Nov 5, 2026
IFBenchMMLU-ProBFCLIFEval
Score per quant
BF16 · google38 ± 077 ± 266 ± 090 ± 0
FP8 · RedHatAI37 ± 076 ± 265 ± 089 ± 0
W4A16 · google35 ± 073 ± 264 ± 086 ± 0
Bench of FP8
HarnessIFBench 0.2.0lm-evaluation-harness 0.4.13bfcl-eval 2026.3.23lm-evaluation-harness 0.4.13
Items30014001640541
Datasetallenai/IFBench_test at 2e8a48dTIGER-Lab/MMLU-Pro at b189ec7in the harnessgoogle/IFEval at 966cd89

RTX 5090

32 GB

24Max requests

Memory, GB

Runtime
1.8
Weights
8.9
KV cache
20.6
KV per request
0.66
KV tokens
304,709

Workload, tokens per request

Prompt p50
9,593
Prompt range
8,323 to 10,479
From cache
96 %
Reply p50
198

Run

Measured
Nov 6, 2026
Engine
vLLM v0.31.0
Load tool
AIPerf 0.13.0
Load test end
32 requests · p90 > 1 s
Run end
complete

Load

TTFT in ms, decode in tok/s
RequestsSentErrorsTTFT p50TTFT p90Decode p50
1100086100121
2100092109116
3100097112112
4100097115109
61000101120101
8100010514591
10100010012883
12100010713475
16100011315766
24100012617445

Quality

Score in %, ± 95 % interval, run on RTX PRO 6000, Nov 5, 2026
IFBenchMMLU-ProBFCLIFEval
Score per quant
BF16 · google38 ± 077 ± 266 ± 090 ± 0
FP8 · RedHatAI37 ± 076 ± 265 ± 089 ± 0
W4A16 · google35 ± 073 ± 264 ± 086 ± 0
Bench of W4A16
HarnessIFBench 0.2.0lm-evaluation-harness 0.4.13bfcl-eval 2026.3.23lm-evaluation-harness 0.4.13
Items30014001640541
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.