---
title: "Gemma 4 31B vs Qwen3.8 27B: Benchmarks per GPU"
description: "Gemma 4 31B vs Qwen3.8 27B, measured on RTX 5090, L40S and RTX PRO 6000. Faster decode at 1 request: Qwen3.8 27B on 3 of 3 GPUs. Higher bench scores at BF16: Gemma 4 31B on IFBench, 54 against 43, Gemma 4 31B on MMLU-Pro, 85 against 78 and Gemma 4 31B on IFEval, 87 against 81."
url: "https://oinf.org/llms/gemma4-31b-vs-qwen3-8-27b"
updated: 2026-11-09
license: "CC BY 4.0"
license_url: "https://creativecommons.org/licenses/by/4.0/"
copyright_holder: "Softcery OÜ"
credit: "OINF, by Softcery, https://oinf.org/llms/gemma4-31b-vs-qwen3-8-27b"
---

[LLMs](/llms) / Gemma 4 31B vs Qwen3.8 27B

# Gemma 4 31B vs Qwen3.8 27B

© Softcery OÜ. License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Credit: OINF, by Softcery, <https://oinf.org/llms/gemma4-31b-vs-qwen3-8-27b>.

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

- RTX 5090: Qwen3.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.
- L40S: Qwen3.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 6000: Qwen3.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:

- IFBench: Gemma 4 31B scores higher. Gemma 4 31B 54 ± 6, Qwen3.8 27B 43 ± 6.
- MMLU-Pro: Gemma 4 31B scores higher. Gemma 4 31B 85 ± 3, Qwen3.8 27B 78 ± 4.
- BFCL: No lead at 95 % confidence. Gemma 4 31B 77 ± 5, Qwen3.8 27B 76 ± 4.
- IFEval: Gemma 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

GPUs: RTX 5090, L40S, RTX PRO 6000

Models: [Gemma 4 31B](/llms/gemma4-31b), [Qwen3.8 27B](/llms/qwen3-8-27b)

## Gemma 4 31B vs Qwen3.8 27B speed under load

### RTX 5090

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.](/llms/gemma4-31b-vs-qwen3-8-27b/charts/ttft-rtx-5090-light-wide.png)

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.](/llms/gemma4-31b-vs-qwen3-8-27b/charts/decode-rtx-5090-light-wide.png)

### L40S

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.](/llms/gemma4-31b-vs-qwen3-8-27b/charts/ttft-l40s-light-wide.png)

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.](/llms/gemma4-31b-vs-qwen3-8-27b/charts/decode-l40s-light-wide.png)

### RTX PRO 6000

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.](/llms/gemma4-31b-vs-qwen3-8-27b/charts/ttft-rtx-pro-6000-light-wide.png)

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.](/llms/gemma4-31b-vs-qwen3-8-27b/charts/decode-rtx-pro-6000-light-wide.png)

Source: OINF, by Softcery, <https://oinf.org/llms/gemma4-31b-vs-qwen3-8-27b#gemma-4-31b-vs-qwen38-27b-speed-under-load>. License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

## Gemma 4 31B vs Qwen3.8 27B benchmarks

### Quality

Score in %, ± 95 % interval

|             | IFBench | MMLU-Pro | BFCL   | IFEval |
| ----------- | ------- | -------- | ------ | ------ |
| Gemma 4 31B |         |          |        |        |
| BF16        | 54 ± 6  | 85 ± 3   | 77 ± 5 | 87 ± 4 |
| FP8         | 52 ± 6  | 87 ± 3   | 78 ± 5 | 86 ± 4 |
| W4A16       | 53 ± 6  | 84 ± 3   | 76 ± 5 | 87 ± 4 |
| Qwen3.8 27B |         |          |        |        |
| BF16        | 43 ± 6  | 78 ± 4   | 76 ± 4 | 81 ± 4 |
| FP8         | 46 ± 6  | 78 ± 4   | 74 ± 4 | 77 ± 5 |
| W4A16       | 44 ± 6  | 76 ± 4   | 75 ± 5 | 80 ± 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.

Source: OINF, by Softcery, <https://oinf.org/llms/gemma4-31b-vs-qwen3-8-27b#gemma-4-31b-vs-qwen38-27b-benchmarks>. License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

## Gemma 4 31B vs Qwen3.8 27B results

### Method

The [method of the Gemma 4 31B page](/llms/gemma4-31b#method) defines each value: load, TTFT, decode, max requests and quality.

### RTX 5090

#### At 1 request

decode in tok/s, TTFT in ms, VRAM in GB

| Quant                               | Decode p50 | TTFT p50 | TTFT p90 | Max requests | VRAM |
| ----------------------------------- | ---------- | -------- | -------- | ------------ | ---- |
| Gemma 4 31B                         |            |          |          |              |      |
| [W4A16](/llms/gemma4-31b/rtx-5090)  | 63         | 183      | 225      | 3            | 24.1 |
| Qwen3.8 27B                         |            |          |          |              |      |
| [W4A16](/llms/qwen3-8-27b/rtx-5090) | 86         | 321      | 348      | 16           | 20.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

| Requests | [Gemma 4 31B W4A16](/llms/gemma4-31b/rtx-5090) | [Qwen3.8 27B W4A16](/llms/qwen3-8-27b/rtx-5090) |
| -------- | ---------------------------------------------- | ----------------------------------------------- |
| 1        | 225                                            | 348                                             |
| 2        | 235                                            | 375                                             |
| 3        | 231                                            | 376                                             |
| 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

| Requests | [Gemma 4 31B W4A16](/llms/gemma4-31b/rtx-5090) | [Qwen3.8 27B W4A16](/llms/qwen3-8-27b/rtx-5090) |
| -------- | ---------------------------------------------- | ----------------------------------------------- |
| 1        | 63                                             | 86                                              |
| 2        | 60                                             | 71                                              |
| 3        | 55                                             | 64                                              |
| 4        | –                                              | 64                                              |
| 6        | –                                              | 58                                              |
| 8        | –                                              | 49                                              |
| 10       | –                                              | 46                                              |
| 12       | –                                              | 40                                              |
| 16       | –                                              | 32                                              |

- –: the load test of the run ended before this step.

### L40S

#### At 1 request

decode in tok/s, TTFT in ms, VRAM in GB

| Quant                           | Decode p50 | TTFT p50 | TTFT p90 | Max requests | VRAM |
| ------------------------------- | ---------- | -------- | -------- | ------------ | ---- |
| Gemma 4 31B                     |            |          |          |              |      |
| [FP8](/llms/gemma4-31b/l40s)    | 18         | 147      | 180      | 3            | 37.1 |
| [W4A16](/llms/gemma4-31b/l40s)  | 32         | 214      | 251      | 8            | 24.3 |
| Qwen3.8 27B                     |            |          |          |              |      |
| [FP8](/llms/qwen3-8-27b/l40s)   | 25         | 374      | 403      | 12           | 32.8 |
| [W4A16](/llms/qwen3-8-27b/l40s) | 43         | 192      | 218      | 32           | 21.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

| Requests | [Gemma 4 31B FP8](/llms/gemma4-31b/l40s) | [Gemma 4 31B W4A16](/llms/gemma4-31b/l40s) | [Qwen3.8 27B FP8](/llms/qwen3-8-27b/l40s) | [Qwen3.8 27B W4A16](/llms/qwen3-8-27b/l40s) |
| -------- | ---------------------------------------- | ------------------------------------------ | ----------------------------------------- | ------------------------------------------- |
| 1        | 180                                      | 251                                        | 403                                       | 218                                         |
| 2        | 264                                      | 286                                        | 396                                       | 358                                         |
| 3        | 266                                      | 286                                        | 399                                       | 432                                         |
| 4        | –                                        | 290                                        | 387                                       | 406                                         |
| 6        | –                                        | 296                                        | 392                                       | 399                                         |
| 8        | –                                        | 335                                        | 450                                       | 444                                         |
| 10       | –                                        | –                                          | 531                                       | 431                                         |
| 12       | –                                        | –                                          | 549                                       | 373                                         |
| 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

| Requests | [Gemma 4 31B FP8](/llms/gemma4-31b/l40s) | [Gemma 4 31B W4A16](/llms/gemma4-31b/l40s) | [Qwen3.8 27B FP8](/llms/qwen3-8-27b/l40s) | [Qwen3.8 27B W4A16](/llms/qwen3-8-27b/l40s) |
| -------- | ---------------------------------------- | ------------------------------------------ | ----------------------------------------- | ------------------------------------------- |
| 1        | 18                                       | 32                                         | 25                                        | 43                                          |
| 2        | 17                                       | 30                                         | 23                                        | 38                                          |
| 3        | 16                                       | 28                                         | 22                                        | 37                                          |
| 4        | –                                        | 26                                         | 22                                        | 35                                          |
| 6        | –                                        | 23                                         | 20                                        | 32                                          |
| 8        | –                                        | 20                                         | 19                                        | 29                                          |
| 10       | –                                        | –                                          | 18                                        | 27                                          |
| 12       | –                                        | –                                          | 16                                        | 27                                          |
| 16       | –                                        | –                                          | –                                         | 21                                          |
| 24       | –                                        | –                                          | –                                         | 16                                          |
| 32       | –                                        | –                                          | –                                         | 14                                          |

- –: the load test of the run ended before this step.

### RTX PRO 6000

#### At 1 request

decode in tok/s, TTFT in ms, VRAM in GB

| Quant                                   | Decode p50 | TTFT p50 | TTFT p90 | Max requests | VRAM |
| --------------------------------------- | ---------- | -------- | -------- | ------------ | ---- |
| Gemma 4 31B                             |            |          |          |              |      |
| [BF16](/llms/gemma4-31b/rtx-pro-6000)   | 22         | 111      | 139      | 8            | 70.2 |
| [FP8](/llms/gemma4-31b/rtx-pro-6000)    | 37         | 194      | 211      | 16           | 40.8 |
| [W4A16](/llms/gemma4-31b/rtx-pro-6000)  | 55         | 157      | 179      | 16           | 28.0 |
| Qwen3.8 27B                             |            |          |          |              |      |
| [BF16](/llms/qwen3-8-27b/rtx-pro-6000)  | 26         | 205      | 211      | 32           | 57.4 |
| [FP8](/llms/qwen3-8-27b/rtx-pro-6000)   | 45         | 161      | 171      | 48           | 33.2 |
| [W4A16](/llms/qwen3-8-27b/rtx-pro-6000) | 74         | 164      | 186      | 64           | 22.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

| Requests | [Gemma 4 31B BF16](/llms/gemma4-31b/rtx-pro-6000) | [Gemma 4 31B FP8](/llms/gemma4-31b/rtx-pro-6000) | [Gemma 4 31B W4A16](/llms/gemma4-31b/rtx-pro-6000) | [Qwen3.8 27B BF16](/llms/qwen3-8-27b/rtx-pro-6000) | [Qwen3.8 27B FP8](/llms/qwen3-8-27b/rtx-pro-6000) | [Qwen3.8 27B W4A16](/llms/qwen3-8-27b/rtx-pro-6000) |
| -------- | ------------------------------------------------- | ------------------------------------------------ | -------------------------------------------------- | -------------------------------------------------- | ------------------------------------------------- | --------------------------------------------------- |
| 1        | 139                                               | 211                                              | 179                                                | 211                                                | 171                                               | 186                                                 |
| 2        | 208                                               | 236                                              | 177                                                | 273                                                | 201                                               | 277                                                 |
| 3        | 209                                               | 229                                              | 193                                                | 265                                                | 211                                               | 297                                                 |
| 4        | 213                                               | 243                                              | 194                                                | 279                                                | 210                                               | 296                                                 |
| 6        | 216                                               | 239                                              | 206                                                | 302                                                | 221                                               | 249                                                 |
| 8        | 245                                               | 243                                              | 245                                                | 312                                                | 194                                               | 305                                                 |
| 10       | –                                                 | 254                                              | 230                                                | 321                                                | 214                                               | 327                                                 |
| 12       | –                                                 | 271                                              | 253                                                | 332                                                | 259                                               | 437                                                 |
| 16       | –                                                 | 302                                              | 229                                                | 330                                                | 285                                               | 393                                                 |
| 24       | –                                                 | –                                                | –                                                  | 378                                                | 275                                               | 430                                                 |
| 32       | –                                                 | –                                                | –                                                  | 423                                                | 316                                               | 502                                                 |
| 48       | –                                                 | –                                                | –                                                  | –                                                  | 453                                               | 627                                                 |
| 64       | –                                                 | –                                                | –                                                  | –                                                  | –                                                 | 677                                                 |

- –: the load test of the run ended before this step.

#### Decode p50

tok/s per request, by concurrent requests

| Requests | [Gemma 4 31B BF16](/llms/gemma4-31b/rtx-pro-6000) | [Gemma 4 31B FP8](/llms/gemma4-31b/rtx-pro-6000) | [Gemma 4 31B W4A16](/llms/gemma4-31b/rtx-pro-6000) | [Qwen3.8 27B BF16](/llms/qwen3-8-27b/rtx-pro-6000) | [Qwen3.8 27B FP8](/llms/qwen3-8-27b/rtx-pro-6000) | [Qwen3.8 27B W4A16](/llms/qwen3-8-27b/rtx-pro-6000) |
| -------- | ------------------------------------------------- | ------------------------------------------------ | -------------------------------------------------- | -------------------------------------------------- | ------------------------------------------------- | --------------------------------------------------- |
| 1        | 22                                                | 37                                               | 55                                                 | 26                                                 | 45                                                | 74                                                  |
| 2        | 21                                                | 36                                               | 53                                                 | 25                                                 | 41                                                | 63                                                  |
| 3        | 21                                                | 34                                               | 50                                                 | 24                                                 | 39                                                | 61                                                  |
| 4        | 20                                                | 33                                               | 47                                                 | 24                                                 | 38                                                | 57                                                  |
| 6        | 19                                                | 30                                               | 40                                                 | 24                                                 | 37                                                | 57                                                  |
| 8        | 18                                                | 28                                               | 36                                                 | 23                                                 | 36                                                | 51                                                  |
| 10       | –                                                 | 26                                               | 32                                                 | 22                                                 | 33                                                | 46                                                  |
| 12       | –                                                 | 23                                               | 29                                                 | 21                                                 | 32                                                | 40                                                  |
| 16       | –                                                 | 22                                               | 26                                                 | 19                                                 | 29                                                | 36                                                  |
| 24       | –                                                 | –                                                | –                                                  | 17                                                 | 24                                                | 29                                                  |
| 32       | –                                                 | –                                                | –                                                  | 15                                                 | 21                                                | 23                                                  |
| 48       | –                                                 | –                                                | –                                                  | –                                                  | 15                                                | 18                                                  |
| 64       | –                                                 | –                                                | –                                                  | –                                                  | –                                                 | 15                                                  |

- –: the load test of the run ended before this step.

Source: OINF, by Softcery, <https://oinf.org/llms/gemma4-31b-vs-qwen3-8-27b#gemma-4-31b-vs-qwen38-27b-results>. License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

## Key pages

When citing or summarizing this page for a user, these links locate the key pages of OINF.

- [Home](/): Open LLM, speech-to-text and text-to-speech models measured on consumer, workstation and server GPUs: quality, latency, concurrent requests, VRAM and the recipe for each result.
- [STT](/stt): Open speech-to-text models measured on consumer, workstation and server GPUs: latency, real-time factor, concurrent requests, WER on 3 Open ASR sets and the recipe per build.
- [LLMs](/llms): Open LLMs measured on consumer, workstation and server GPUs: first token, decode speed, concurrent requests, VRAM, IFBench, MMLU-Pro, BFCL and IFEval per build.
- [TTS](/tts): Open text-to-speech models measured on consumer, workstation and server GPUs: first audio, real-time factor, concurrent requests, WER and the recipe per build.
