Gemma 4 12B on L4

FP8 and W4A16 run on the L4, 24 GB. At 1 request:

  • FP8: 16 tok/s decode, 285 ms first token p90, 15.8 GB VRAM
  • W4A16: 27 tok/s decode, 345 ms first token p90, 11.1 GB VRAM

VRAM: weights, runtime and the KV cache of 1 request of 9,185 to 9,527 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: L4 · 24 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/l4.

TTFT

p50 / p90, ms, 1 req

Decode

tok/s, 1 req

Memory

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

TTFT

p50 and p90, ms
TTFT of Gemma 4 12B FP8 on L4, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 262 ms, p90 285 ms.TTFT of Gemma 4 12B FP8 on L4, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 262 ms, p90 285 ms.

Decode per request

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

TTFT

p50 and p90, ms
TTFT of Gemma 4 12B W4A16 on L4, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 273 ms, p90 345 ms.TTFT of Gemma 4 12B W4A16 on L4, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 273 ms, p90 345 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 12B W4A16 on L4, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 27 tok/s.Decode speed per request of Gemma 4 12B W4A16 on L4, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 27 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: 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
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
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}'

L4

24 GB

6Max requests

Memory, GB

Runtime
1.5
Weights
13.7
KV cache
6.7
KV per request
0.62
KV tokens
99,124

Workload, tokens per request

Prompt p50
8,985
Prompt range
8,418 to 10,407
From cache
93 %
Reply p50
200

Run

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

Load

TTFT in ms, decode in tok/s
RequestsSentErrorsTTFT p50TTFT p90Decode p50
1100026228516
2100030836316
3100033442115
4100031536614
6100030736113

Quality

Score in %, ± 95 % interval, run on RTX PRO 6000, Nov 5, 2026
IFBenchMMLU-ProBFCLIFEval
Score per quant
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

L4

24 GB

12Max requests

Memory, GB

Runtime
1.6
Weights
8.9
KV cache
11.6
KV per request
0.65
KV tokens
170,526

Workload, tokens per request

Prompt p50
9,324
Prompt range
8,346 to 10,343
From cache
97 %
Reply p50
203

Run

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

Load

TTFT in ms, decode in tok/s
RequestsSentErrorsTTFT p50TTFT p90Decode p50
1100027334527
2100032537926
3100033038824
4100034138622
6100033541220
8100037743318
10100040045116
12100041755315

Quality

Score in %, ± 95 % interval, run on RTX PRO 6000, Nov 5, 2026
IFBenchMMLU-ProBFCLIFEval
Score per quant
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.