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.
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
- 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 GB4Max 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| Requests | Sent | Errors | TTFT p50 | TTFT p90 | Decode p50 |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 75 | 82 | 58 |
| 2 | 100 | 0 | 97 | 110 | 56 |
| 3 | 100 | 0 | 103 | 109 | 55 |
| 4 | 100 | 0 | 104 | 151 | 54 |
Quality
Score in %, ± 95 % interval, run on RTX PRO 6000, Nov 5, 2026| IFBench | MMLU-Pro | BFCL | IFEval | |
|---|---|---|---|---|
| Score per quant | ||||
| BF16 · google | 38 ± 0 | 77 ± 2 | 66 ± 0 | 90 ± 0 |
| FP8 · RedHatAI | 37 ± 0 | 76 ± 2 | 65 ± 0 | 89 ± 0 |
| W4A16 · google | 35 ± 0 | 73 ± 2 | 64 ± 0 | 86 ± 0 |
| Bench of BF16 | ||||
| Harness | IFBench 0.2.0 | lm-evaluation-harness 0.4.13 | bfcl-eval 2026.3.23 | lm-evaluation-harness 0.4.13 |
| Items | 300 | 1400 | 1640 | 541 |
| Dataset | allenai/IFBench_test at 2e8a48d | TIGER-Lab/MMLU-Pro at b189ec7 | in the harness | google/IFEval at 966cd89 |
RTX 5090
32 GB16Max 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| Requests | Sent | Errors | TTFT p50 | TTFT p90 | Decode p50 |
|---|---|---|---|---|---|
| 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 |
Quality
Score in %, ± 95 % interval, run on RTX PRO 6000, Nov 5, 2026| IFBench | MMLU-Pro | BFCL | IFEval | |
|---|---|---|---|---|
| Score per quant | ||||
| BF16 · google | 38 ± 0 | 77 ± 2 | 66 ± 0 | 90 ± 0 |
| FP8 · RedHatAI | 37 ± 0 | 76 ± 2 | 65 ± 0 | 89 ± 0 |
| W4A16 · google | 35 ± 0 | 73 ± 2 | 64 ± 0 | 86 ± 0 |
| Bench of FP8 | ||||
| Harness | IFBench 0.2.0 | lm-evaluation-harness 0.4.13 | bfcl-eval 2026.3.23 | lm-evaluation-harness 0.4.13 |
| Items | 300 | 1400 | 1640 | 541 |
| Dataset | allenai/IFBench_test at 2e8a48d | TIGER-Lab/MMLU-Pro at b189ec7 | in the harness | google/IFEval at 966cd89 |
RTX 5090
32 GB24Max 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| Requests | Sent | Errors | TTFT p50 | TTFT p90 | Decode p50 |
|---|---|---|---|---|---|
| 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 |
Quality
Score in %, ± 95 % interval, run on RTX PRO 6000, Nov 5, 2026| IFBench | MMLU-Pro | BFCL | IFEval | |
|---|---|---|---|---|
| Score per quant | ||||
| BF16 · google | 38 ± 0 | 77 ± 2 | 66 ± 0 | 90 ± 0 |
| FP8 · RedHatAI | 37 ± 0 | 76 ± 2 | 65 ± 0 | 89 ± 0 |
| W4A16 · google | 35 ± 0 | 73 ± 2 | 64 ± 0 | 86 ± 0 |
| Bench of W4A16 | ||||
| Harness | IFBench 0.2.0 | lm-evaluation-harness 0.4.13 | bfcl-eval 2026.3.23 | lm-evaluation-harness 0.4.13 |
| Items | 300 | 1400 | 1640 | 541 |
| 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.