Gemma 4 31B vs Qwen3.8 27B

Both models ran on 3 GPUs. At 1 request, the fastest quant of each:

  • RTX 5090Qwen3.8 27B decodes 37 % faster.Gemma 4 31B W4A16: 63 tok/s decode, 225 ms first token p90, 24.1 GB VRAM.Qwen3.8 27B W4A16: 86 tok/s decode, 348 ms first token p90, 20.3 GB VRAM.
  • L40SQwen3.8 27B decodes 34 % faster.Gemma 4 31B W4A16: 32 tok/s decode, 251 ms first token p90, 24.3 GB VRAM.Qwen3.8 27B W4A16: 43 tok/s decode, 218 ms first token p90, 21.3 GB VRAM.
  • RTX PRO 6000Qwen3.8 27B decodes 35 % faster.Gemma 4 31B W4A16: 55 tok/s decode, 179 ms first token p90, 28.0 GB VRAM.Qwen3.8 27B W4A16: 74 tok/s decode, 186 ms first token p90, 22.5 GB VRAM.

Bench scores at BF16, in %, ± 95 % interval, run on RTX PRO 6000:

  • IFBenchGemma 4 31B scores higher.Gemma 4 31B 54 ± 6, Qwen3.8 27B 43 ± 6.
  • MMLU-ProGemma 4 31B scores higher.Gemma 4 31B 85 ± 3, Qwen3.8 27B 78 ± 4.
  • BFCLNo lead at 95 % confidence.Gemma 4 31B 77 ± 5, Qwen3.8 27B 76 ± 4.
  • IFEvalGemma 4 31B scores higher.Gemma 4 31B 87 ± 4, Qwen3.8 27B 81 ± 4.

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

The engine fills the rest of the card with KV cache for more requests. The card page of each model shows the split.

  • Engine: vLLM v0.31.0
  • Measured Nov 9, 2026

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

GPU

TTFT

p90, ms
TTFT p90 of Gemma 4 31B and Qwen3.8 27B on RTX 5090, vLLM v0.31.0: ms by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B W4A16 225 ms and Qwen3.8 27B W4A16 348 ms.TTFT p90 of Gemma 4 31B and Qwen3.8 27B on RTX 5090, vLLM v0.31.0: ms by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B W4A16 225 ms and Qwen3.8 27B W4A16 348 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 31B and Qwen3.8 27B on RTX 5090, vLLM v0.31.0: p50 in tok/s by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B W4A16 63 tok/s and Qwen3.8 27B W4A16 86 tok/s.Decode speed per request of Gemma 4 31B and Qwen3.8 27B on RTX 5090, vLLM v0.31.0: p50 in tok/s by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B W4A16 63 tok/s and Qwen3.8 27B W4A16 86 tok/s.

TTFT

p90, ms
TTFT p90 of Gemma 4 31B and Qwen3.8 27B on L40S, vLLM v0.31.0: ms by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B FP8 180 ms, Gemma 4 31B W4A16 251 ms, Qwen3.8 27B FP8 403 ms and Qwen3.8 27B W4A16 218 ms.TTFT p90 of Gemma 4 31B and Qwen3.8 27B on L40S, vLLM v0.31.0: ms by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B FP8 180 ms, Gemma 4 31B W4A16 251 ms, Qwen3.8 27B FP8 403 ms and Qwen3.8 27B W4A16 218 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 31B and Qwen3.8 27B on L40S, vLLM v0.31.0: p50 in tok/s by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B FP8 18 tok/s, Gemma 4 31B W4A16 32 tok/s, Qwen3.8 27B FP8 25 tok/s and Qwen3.8 27B W4A16 43 tok/s.Decode speed per request of Gemma 4 31B and Qwen3.8 27B on L40S, vLLM v0.31.0: p50 in tok/s by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B FP8 18 tok/s, Gemma 4 31B W4A16 32 tok/s, Qwen3.8 27B FP8 25 tok/s and Qwen3.8 27B W4A16 43 tok/s.

TTFT

p90, ms
TTFT p90 of Gemma 4 31B and Qwen3.8 27B on RTX PRO 6000, vLLM v0.31.0: ms by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B BF16 139 ms, Gemma 4 31B FP8 211 ms, Gemma 4 31B W4A16 179 ms, Qwen3.8 27B BF16 211 ms, Qwen3.8 27B FP8 171 ms and Qwen3.8 27B W4A16 186 ms.TTFT p90 of Gemma 4 31B and Qwen3.8 27B on RTX PRO 6000, vLLM v0.31.0: ms by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B BF16 139 ms, Gemma 4 31B FP8 211 ms, Gemma 4 31B W4A16 179 ms, Qwen3.8 27B BF16 211 ms, Qwen3.8 27B FP8 171 ms and Qwen3.8 27B W4A16 186 ms.

Decode per request

p50, tok/s
Decode speed per request of Gemma 4 31B and Qwen3.8 27B on RTX PRO 6000, vLLM v0.31.0: p50 in tok/s by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B BF16 22 tok/s, Gemma 4 31B FP8 37 tok/s, Gemma 4 31B W4A16 55 tok/s, Qwen3.8 27B BF16 26 tok/s, Qwen3.8 27B FP8 45 tok/s and Qwen3.8 27B W4A16 74 tok/s.Decode speed per request of Gemma 4 31B and Qwen3.8 27B on RTX PRO 6000, vLLM v0.31.0: p50 in tok/s by concurrent requests, 1 line per quant. At 1 request, Gemma 4 31B BF16 22 tok/s, Gemma 4 31B FP8 37 tok/s, Gemma 4 31B W4A16 55 tok/s, Qwen3.8 27B BF16 26 tok/s, Qwen3.8 27B FP8 45 tok/s and Qwen3.8 27B W4A16 74 tok/s.

Quality

Score in %, ± 95 % interval
IFBenchMMLU-ProBFCLIFEval
Gemma 4 31B
BF1654 ± 685 ± 377 ± 587 ± 4
FP852 ± 687 ± 378 ± 586 ± 4
W4A1653 ± 684 ± 376 ± 587 ± 4
Qwen3.8 27B
BF1643 ± 678 ± 476 ± 481 ± 4
FP846 ± 678 ± 474 ± 477 ± 5
W4A1644 ± 676 ± 475 ± 580 ± 4
  • The benches of each quant run on 1 reference GPU, not on each GPU.
  • Gemma 4 31B: BF16, FP8 and W4A16 on RTX PRO 6000, Nov 9, 2026.
  • Qwen3.8 27B: BF16, FP8 and W4A16 on RTX PRO 6000, Nov 6, 2026.

At 1 request

decode in tok/s, TTFT in ms, VRAM in GB
QuantDecode p50TTFT p50TTFT p90Max requestsVRAM
Gemma 4 31B
W4A1663183225324.1
Qwen3.8 27B
W4A16863213481620.3
  • VRAM: weights, runtime and the KV cache of 1 request of 9,464 to 9,626 tokens, the p50 prompt and reply of the run.
  • The engine fills the rest of the card with KV cache for more requests. The card page of each model shows the split.

TTFT p90

ms, by concurrent requests
RequestsGemma 4 31B W4A16Qwen3.8 27B W4A16
1225348
2235375
3231376
4–330
6–388
8–552
10–493
12–484
16–591
  • –: the load test of the run ended before this step.

Decode p50

tok/s per request, by concurrent requests
RequestsGemma 4 31B W4A16Qwen3.8 27B W4A16
16386
26071
35564
4–64
6–58
8–49
10–46
12–40
16–32
  • –: the load test of the run ended before this step.

At 1 request

decode in tok/s, TTFT in ms, VRAM in GB
QuantDecode p50TTFT p50TTFT p90Max requestsVRAM
Gemma 4 31B
FP818147180337.1
W4A1632214251824.3
Qwen3.8 27B
FP8253744031232.8
W4A16431922183221.3
  • VRAM: weights, runtime and the KV cache of 1 request of 9,547 to 10,044 tokens, the p50 prompt and reply of the run.
  • The engine fills the rest of the card with KV cache for more requests. The card page of each model shows the split.

TTFT p90

ms, by concurrent requests
RequestsGemma 4 31B FP8Gemma 4 31B W4A16Qwen3.8 27B FP8Qwen3.8 27B W4A16
1180251403218
2264286396358
3266286399432
4–290387406
6–296392399
8–335450444
10––531431
12––549373
16–––524
24–––629
32–––902
  • –: the load test of the run ended before this step.

Decode p50

tok/s per request, by concurrent requests
RequestsGemma 4 31B FP8Gemma 4 31B W4A16Qwen3.8 27B FP8Qwen3.8 27B W4A16
118322543
217302338
316282237
4–262235
6–232032
8–201929
10––1827
12––1627
16–––21
24–––16
32–––14
  • –: the load test of the run ended before this step.

At 1 request

decode in tok/s, TTFT in ms, VRAM in GB
QuantDecode p50TTFT p50TTFT p90Max requestsVRAM
Gemma 4 31B
BF1622111139870.2
FP8371942111640.8
W4A16551571791628.0
Qwen3.8 27B
BF16262052113257.4
FP8451611714833.2
W4A16741641866422.5
  • VRAM: weights, runtime and the KV cache of 1 request of 9,459 to 9,893 tokens, the p50 prompt and reply of the run.
  • The engine fills the rest of the card with KV cache for more requests. The card page of each model shows the split.

TTFT p90

ms, by concurrent requests
RequestsGemma 4 31B BF16Gemma 4 31B FP8Gemma 4 31B W4A16Qwen3.8 27B BF16Qwen3.8 27B FP8Qwen3.8 27B W4A16
1139211179211171186
2208236177273201277
3209229193265211297
4213243194279210296
6216239206302221249
8245243245312194305
10–254230321214327
12–271253332259437
16–302229330285393
24–––378275430
32–––423316502
48––––453627
64–––––677
  • –: the load test of the run ended before this step.

Decode p50

tok/s per request, by concurrent requests
RequestsGemma 4 31B BF16Gemma 4 31B FP8Gemma 4 31B W4A16Qwen3.8 27B BF16Qwen3.8 27B FP8Qwen3.8 27B W4A16
1223755264574
2213653254163
3213450243961
4203347243857
6193040243757
8182836233651
10–2632223346
12–2329213240
16–2226192936
24–––172429
32–––152123
48––––1518
64–––––15
  • –: the load test of the run ended before this step.

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