Gemma 4 31B

Gemma 4 31B needs 24.1 GB of VRAM at 1 request, as W4A16 on RTX 5090.

  • Provider: Google
  • License: Apache 2.0
  • 31.3B params
  • 256K context
  • Weights
  • Measured Nov 9, 2026

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

GPU
Quant

Gemma 4 31B benchmarks

Quality index

72 ± 3

BF16: the reference

IFBench

54 ± 6

BF16: the reference

MMLU-Pro

85 ± 3

BF16: the reference

BFCL

77 ± 5

BF16: the reference

IFEval

87 ± 4

BF16: the reference

Run on RTX PRO 6000, Nov 9, 2026. Scores in %, ± the 95 % interval.

Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.

Bench setup and weights
BFCL
bfcl-eval 2026.3.23, 210 items, in the harness
Quality index

72 ± 3

IFBench

52 ± 6

−2.0 against BF16

MMLU-Pro

87 ± 3

+1.4 against BF16

BFCL

78 ± 5

+0.5 against BF16

IFEval

86 ± 4

−0.5 against BF16

Run on RTX PRO 6000, Nov 9, 2026. Scores in %, ± the 95 % interval. The tick marks BF16.

Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.

Bench setup and weights
BFCL
bfcl-eval 2026.3.23, 210 items, in the harness
Quality index

70 ± 3

IFBench

53 ± 6

−1.3 against BF16

MMLU-Pro

84 ± 3

−0.5 against BF16

BFCL

76 ± 5

−1.4 against BF16

IFEval

87 ± 4

+0.5 against BF16

Run on RTX PRO 6000, Nov 9, 2026. Scores in %, ± the 95 % interval. The tick marks BF16.

Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.

Bench setup and weights
BFCL
bfcl-eval 2026.3.23, 210 items, in the harness

Gemma 4 31B speed

No run of this quant on this GPU. Runs on RTX 5090:

No run of this quant on this GPU. Runs on L40S:

BF16 on RTX PRO 6000

All quants on RTX PRO 6000
Max requests8at a TTFT p90 of 1 s or less
TTFT p90 at 1 request139ms
Decode at 1 request22tok/s
Decode at 8 requests18tok/s per request

TTFT

p50 and p90, ms
TTFT of Gemma 4 31B BF16 on RTX PRO 6000, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 111 ms, p90 139 ms.TTFT of Gemma 4 31B BF16 on RTX PRO 6000, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 111 ms, p90 139 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 31B BF16 on RTX PRO 6000, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 22 tok/s.Decode speed per request of Gemma 4 31B BF16 on RTX PRO 6000, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 22 tok/s.
Load steps, 6
RequestsSentErrorsTTFT p50, msTTFT p90, msDecode p50, tok/s
1100011113922
2100018020821
3100018220921
4100020221320
6100019021619
8100022024518

No run of this quant on this GPU. Runs on RTX 5090:

FP8 on L40S

All quants on L40S
Max requests3at a TTFT p90 of 1 s or less
TTFT p90 at 1 request180ms
Decode at 1 request18tok/s
Decode at 3 requests16tok/s per request

TTFT

p50 and p90, ms
TTFT of Gemma 4 31B FP8 on L40S, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 147 ms, p90 180 ms.TTFT of Gemma 4 31B FP8 on L40S, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 147 ms, p90 180 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 31B FP8 on L40S, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 18 tok/s.Decode speed per request of Gemma 4 31B FP8 on L40S, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 18 tok/s.
Load steps, 3
RequestsSentErrorsTTFT p50, msTTFT p90, msDecode p50, tok/s
1100014718018
2100023226417
3100023426616

FP8 on RTX PRO 6000

All quants on RTX PRO 6000
Max requests16at a TTFT p90 of 1 s or less
TTFT p90 at 1 request211ms
Decode at 1 request37tok/s
Decode at 16 requests22tok/s per request

TTFT

p50 and p90, ms
TTFT of Gemma 4 31B FP8 on RTX PRO 6000, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 194 ms, p90 211 ms.TTFT of Gemma 4 31B FP8 on RTX PRO 6000, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 194 ms, p90 211 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 31B FP8 on RTX PRO 6000, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 37 tok/s.Decode speed per request of Gemma 4 31B FP8 on RTX PRO 6000, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 37 tok/s.
Load steps, 9
RequestsSentErrorsTTFT p50, msTTFT p90, msDecode p50, tok/s
1100019421137
2100020923636
3100020222934
4100021224333
6100022023930
8100022324328
10100023725426
12100024127123
16100024130222

W4A16 on RTX 5090

All quants on RTX 5090
Max requests3at a TTFT p90 of 1 s or less
TTFT p90 at 1 request225ms
Decode at 1 request63tok/s
Decode at 3 requests55tok/s per request

TTFT

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

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 31B W4A16 on RTX 5090, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 63 tok/s.Decode speed per request of Gemma 4 31B W4A16 on RTX 5090, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 63 tok/s.
Load steps, 3
RequestsSentErrorsTTFT p50, msTTFT p90, msDecode p50, tok/s
1100018322563
2100019923560
3100019923155

W4A16 on L40S

All quants on L40S
Max requests8at a TTFT p90 of 1 s or less
TTFT p90 at 1 request251ms
Decode at 1 request32tok/s
Decode at 8 requests20tok/s per request

TTFT

p50 and p90, ms
TTFT of Gemma 4 31B W4A16 on L40S, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 214 ms, p90 251 ms.TTFT of Gemma 4 31B W4A16 on L40S, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 214 ms, p90 251 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 31B W4A16 on L40S, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 32 tok/s.Decode speed per request of Gemma 4 31B W4A16 on L40S, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 32 tok/s.
Load steps, 6
RequestsSentErrorsTTFT p50, msTTFT p90, msDecode p50, tok/s
1100021425132
2100023328630
3100023928628
4100025029026
6100025629623
8100027233520

W4A16 on RTX PRO 6000

All quants on RTX PRO 6000
Max requests16at a TTFT p90 of 1 s or less
TTFT p90 at 1 request179ms
Decode at 1 request55tok/s
Decode at 16 requests26tok/s per request

TTFT

p50 and p90, ms
TTFT of Gemma 4 31B W4A16 on RTX PRO 6000, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 157 ms, p90 179 ms.TTFT of Gemma 4 31B W4A16 on RTX PRO 6000, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 157 ms, p90 179 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 31B W4A16 on RTX PRO 6000, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 55 tok/s.Decode speed per request of Gemma 4 31B W4A16 on RTX PRO 6000, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 55 tok/s.
Load steps, 9
RequestsSentErrorsTTFT p50, msTTFT p90, msDecode p50, tok/s
1100015717955
2100015517753
3100016719350
4100016419447
6100017220640
8100018524536
10100018423032
12100019625329
16100020022926

Gemma 4 31B VRAM requirements

VRAM at 1 request70.2GB of the 96 GB card
Weights62.2GB
KV cache28.0GB, the rest of the card
KV tokens54,0375.11 GB per request

Card memory, 96 GB

Requests the KV cache holds, by context

  • 16K tokens3
  • 32K tokens1

Workload per request: prompt p50 9,686 tokens, 8,351 to 10,402, 96 % from cache. Reply p50 207 tokens.

VRAM at 1 request37.1GB of the 48 GB card
Weights32.9GB
KV cache9.2GB, the rest of the card
KV tokens43,6242.06 GB per request

Card memory, 48 GB

Requests the KV cache holds, by context

  • 16K tokens2
  • 32K tokens1

Workload per request: prompt p50 9,565 tokens, 8,608 to 10,241, 94 % from cache. Reply p50 206 tokens.

VRAM at 1 request40.8GB of the 96 GB card
Weights32.9GB
KV cache57.5GB, the rest of the card
KV tokens111,0134.93 GB per request

Card memory, 96 GB

Requests the KV cache holds, by context

  • 16K tokens6
  • 32K tokens3
  • 64K tokens1

Workload per request: prompt p50 9,330 tokens, 8,318 to 10,424, 96 % from cache. Reply p50 200 tokens.

VRAM at 1 request24.1GB of the 32 GB card
Weights20.1GB
KV cache9.2GB, the rest of the card
KV tokens43,7732.03 GB per request

Card memory, 32 GB

Requests the KV cache holds, by context

  • 16K tokens2
  • 32K tokens1

Workload per request: prompt p50 9,431 tokens, 8,921 to 10,422, 94 % from cache. Reply p50 195 tokens.

VRAM at 1 request24.3GB of the 48 GB card
Weights20.1GB
KV cache22.1GB, the rest of the card
KV tokens105,1092.12 GB per request

Card memory, 48 GB

Requests the KV cache holds, by context

  • 16K tokens6
  • 32K tokens3
  • 64K tokens1

Workload per request: prompt p50 9,849 tokens, 8,366 to 10,420, 96 % from cache. Reply p50 195 tokens.

VRAM at 1 request28.0GB of the 96 GB card
Weights20.1GB
KV cache70.0GB, the rest of the card
KV tokens135,2104.90 GB per request

Card memory, 96 GB

Requests the KV cache holds, by context

  • 16K tokens8
  • 32K tokens4
  • 64K tokens2
  • 128K tokens1

Workload per request: prompt p50 9,259 tokens, 8,307 to 10,465, 97 % from cache. Reply p50 200 tokens.

Gemma 4 31B recipe

Engine
vLLM v0.31.0
Load tool
AIPerf 0.13.0
Measured
Nov 9, 2026
Load test end
10 requests · p90 > 1 s
Chat template
gemma4.jinja
Image
docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-31B-it \
  --revision 842da3794eaa0b77d5f08bae87a17459d91ff475 \
  --served-model-name gemma4-31b-bf16-rtx-pro-6000 \
  --host 127.0.0.1 \
  --port 8000 \
  --enable-prefix-caching \
  --enable-prompt-tokens-details \
  --chat-template /opt/engine/models/gemma4-31b/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 9, 2026
Load test end
4 requests · p90 > 1 s
Chat template
gemma4.jinja
Image
docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve RedHatAI/gemma-4-31B-it-FP8-dynamic \
  --revision d4ab4f579dd3516f97d8a6a4c98d0653480bad15 \
  --served-model-name gemma4-31b-fp8-l40s \
  --host 127.0.0.1 \
  --port 8000 \
  --enable-prefix-caching \
  --enable-prompt-tokens-details \
  --chat-template /opt/engine/models/gemma4-31b/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 9, 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-31B-it-FP8-dynamic \
  --revision d4ab4f579dd3516f97d8a6a4c98d0653480bad15 \
  --served-model-name gemma4-31b-fp8-rtx-pro-6000 \
  --host 127.0.0.1 \
  --port 8000 \
  --enable-prefix-caching \
  --enable-prompt-tokens-details \
  --chat-template /opt/engine/models/gemma4-31b/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 9, 2026
Load test end
4 requests · p90 > 1 s
Chat template
gemma4.jinja
Image
docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-31B-it-qat-w4a16-ct \
  --revision 52f3f65bc7a02d555763bc923bd1d9094898219d \
  --served-model-name gemma4-31b-w4a16-rtx-5090 \
  --host 127.0.0.1 \
  --port 8000 \
  --enable-prefix-caching \
  --enable-prompt-tokens-details \
  --chat-template /opt/engine/models/gemma4-31b/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 9, 2026
Load test end
10 requests · p90 > 1 s
Chat template
gemma4.jinja
Image
docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-31B-it-qat-w4a16-ct \
  --revision 52f3f65bc7a02d555763bc923bd1d9094898219d \
  --served-model-name gemma4-31b-w4a16-l40s \
  --host 127.0.0.1 \
  --port 8000 \
  --enable-prefix-caching \
  --enable-prompt-tokens-details \
  --chat-template /opt/engine/models/gemma4-31b/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 9, 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 google/gemma-4-31B-it-qat-w4a16-ct \
  --revision 52f3f65bc7a02d555763bc923bd1d9094898219d \
  --served-model-name gemma4-31b-w4a16-rtx-pro-6000 \
  --host 127.0.0.1 \
  --port 8000 \
  --enable-prefix-caching \
  --enable-prompt-tokens-details \
  --chat-template /opt/engine/models/gemma4-31b/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}'

Method

  • Load: AIPerf, or a custom client in older runs, sends warm chat turns at each step of concurrent requests. Most of each prompt comes from the prefix cache.
  • TTFT: time to first token, in ms. p90 reads "errors" when over 10 % of the requests fail.
  • Decode: tokens per second of 1 request after its first token, p50.
  • Max requests: the highest step with a TTFT p90 of 1 s or less.
  • VRAM: weights, runtime and the KV cache of 1 request, at the last engine boot. llama.cpp gives no split: its value is the card use, with the KV cache of the full context.
  • KV per request: the KV cache of 1 request at the p50 prompt and reply tokens.
  • Quality: pinned public harnesses on a fixed sample of items, on 1 GPU per quant. ± is the 95 % interval of the sample. "Full set": all items of the bench, no interval.
  • Grading: rule checks and exact answers. No model grades the answers.
  • BFCL: 7 categories, not the published overall score.
  • Change against the top quant: an exact paired test on the items both quants answered. The interval is the 95 % interval of the gap in points.
  • No run: No run of this quant on this GPU. The picker marks such a quant or GPU with a dotted tab.