---
title: "Gemma 4 E4B on L40S: Speed and VRAM"
description: "Gemma 4 E4B W4A16 on L40S at 1 request: 116 tok/s decode, 65 ms first token p90 and 13.0 GB VRAM. Measured as W4A16, with load, memory, quality and recipe per quant."
url: "https://oinf.org/llms/gemma4-e4b/l40s"
updated: 2026-11-11
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-e4b/l40s"
---

[LLMs](/llms) / [Gemma 4 E4B](/llms/gemma4-e4b) / L40S

# Gemma 4 E4B on L40S

© Softcery OÜ. License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Credit: OINF, by Softcery, <https://oinf.org/llms/gemma4-e4b/l40s>.

W4A16 runs on the L40S, 48 GB. At 1 request:

- W4A16: 116 tok/s decode, 65 ms first token p90, 13.0 GB VRAM

VRAM: weights, runtime and the KV cache of 1 request of 9,574 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: L40S · 48 GB
- Engine: vLLM v0.31.0
- Measured Nov 11, 2026

Quants: W4A16

GPUs: [L4](/llms/gemma4-e4b/l4), [RTX 3090](/llms/gemma4-e4b/rtx-3090), [RTX 5090](/llms/gemma4-e4b/rtx-5090), L40S, [RTX PRO 6000](/llms/gemma4-e4b/rtx-pro-6000)

## Gemma 4 E4B speed and VRAM on L40S

### L40S

### At 1 request

TTFT p50 / p90 in ms, decode in tok/s

| Quant | TTFT    | Decode |
| ----- | ------- | ------ |
| W4A16 | 59 / 65 | 116    |

### Memory

GB of the 48 GB card, requests at a context

0 to 48 GB. Requests, weights and KV tokens per quant. Context per request: 16K, 32K, 64K, 128K, 256K, 512K, 1.0M

- W4A16: runtime 1.9 GB, weights 10.9 GB, KV cache 31.5 GB, 1.4M KV tokens, 86 × 16K, 43 × 32K, 21 × 64K, 10 × 128K, 5 × 256K, 2 × 512K, 1 × 1.0M

Source: OINF, by Softcery, <https://oinf.org/llms/gemma4-e4b/l40s#gemma-4-e4b-speed-and-vram-on-l40s>. License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

## Gemma 4 E4B on L40S under load

### W4A16 on L40S

TTFT, p50 and p90, ms.

![TTFT of Gemma 4 E4B W4A16 on L40S, vLLM v0.31.0: p50 and p90 in ms by concurrent requests. At 1 request, p50 59 ms, p90 65 ms.](/llms/gemma4-e4b/charts/ttft-w4a16-l40s-light-wide.png)

Decode per request, p50, tok/s.

![Decode speed per request of Gemma 4 E4B W4A16 on L40S, vLLM v0.31.0: p50 in tok/s by concurrent requests. At 1 request, p50 116 tok/s.](/llms/gemma4-e4b/charts/decode-w4a16-l40s-light-wide.png)

Source: OINF, by Softcery, <https://oinf.org/llms/gemma4-e4b/l40s#gemma-4-e4b-on-l40s-under-load>. License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

## Gemma 4 E4B benchmarks

### Scores

Score in %, ± 95 % interval

| Quant | IFBench | MMLU-Pro | BFCL   | IFEval |
| ----- | ------- | -------- | ------ | ------ |
| W4A16 | 30 ± 5  | 61 ± 5   | 51 ± 5 | 81 ± 4 |

The benches of each quant run on 1 reference GPU, not on each GPU: W4A16 on RTX PRO 6000, Nov 11, 2026.

Source: OINF, by Softcery, <https://oinf.org/llms/gemma4-e4b/l40s#gemma-4-e4b-benchmarks>. License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

## Recipe

### W4A16 on L40S

- Engine: vLLM v0.31.0
- Load tool: [AIPerf 0.13.0](https://github.com/ai-dynamo/aiperf)
- Measured: Nov 11, 2026
- Weights: [google/gemma-4-E4B-it-qat-w4a16-ct at 6cd26aaa2357](https://huggingface.co/google/gemma-4-E4B-it-qat-w4a16-ct/tree/6cd26aaa2357fb2bad8c51699a7558a4d1a965bb)
- Load test end: 144 requests · p90 > 1 s
- Chat template: [gemma4-e4b.jinja](/templates/ceebc399b48e/gemma4-e4b.jinja)
- Image: docker.io/vllm/vllm-openai:v0.31.0\@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3

```sh
vllm serve google/gemma-4-E4B-it-qat-w4a16-ct \
  --revision 6cd26aaa2357fb2bad8c51699a7558a4d1a965bb \
  --served-model-name gemma4-e4b-w4a16-l40s \
  --host 127.0.0.1 \
  --port 8000 \
  --enable-prefix-caching \
  --enable-prompt-tokens-details \
  --chat-template /opt/engine/models/gemma4-e4b/gemma4-e4b.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}'
```

Source: OINF, by Softcery, <https://oinf.org/llms/gemma4-e4b/l40s#recipe>. License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).

## Gemma 4 E4B on L40S results

### Method

The [method of the Gemma 4 E4B page](/llms/gemma4-e4b#method) defines each value: load, TTFT, decode, max requests, quality and KV per request.

[All values as JSON](/llms/gemma4-e4b.json)

### W4A16

#### L40S

48 GB. Max requests: 96

Memory, GB

- Runtime: 1.9
- Weights: 10.9
- KV cache: 31.5
- KV per request: 0.21
- KV tokens: 1,421,384

Workload, tokens per request

- Prompt p50: 9,375
- Prompt range: 8,294 to 10,466
- From cache: 97 %
- Reply p50: 199

Run

- Measured: Nov 11, 2026
- Engine: vLLM v0.31.0
- Load tool: AIPerf 0.13.0
- Load test end: 144 requests · p90 > 1 s
- Run end: complete

#### Quality

Score in %, ± 95 % interval, run on RTX PRO 6000, Nov 11, 2026

|                 | IFBench                                                                                                                               | MMLU-Pro                                                                                                                          | BFCL                                                                                                         | IFEval                                                                                                                            |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------- |
| Score per quant |                                                                                                                                       |                                                                                                                                   |                                                                                                              |                                                                                                                                   |
| W4A16 · google  | 30 ± 5                                                                                                                                | 61 ± 5                                                                                                                            | 51 ± 5                                                                                                       | 81 ± 4                                                                                                                            |
| Bench of W4A16  |                                                                                                                                       |                                                                                                                                   |                                                                                                              |                                                                                                                                   |
| Harness         | [IFBench 0.2.0](https://github.com/allenai/IFBench/tree/1c40f0c10d9b5c5c2f10a175a28007ebb64f7f4d)                                     | [lm-evaluation-harness 0.4.13](https://github.com/EleutherAI/lm-evaluation-harness/tree/ddd67220430a2470529f25fd5c05a576ca1057a0) | [bfcl-eval 2026.3.23](https://github.com/ShishirPatil/gorilla/tree/6ea57973c7a6097fd7c5915698c54c17c5b1b6c8) | [lm-evaluation-harness 0.4.13](https://github.com/EleutherAI/lm-evaluation-harness/tree/ddd67220430a2470529f25fd5c05a576ca1057a0) |
| Items           | 150                                                                                                                                   | 420                                                                                                                               | 210                                                                                                          | 200                                                                                                                               |
| Dataset         | [allenai/IFBench_test at 2e8a48d](https://huggingface.co/datasets/allenai/IFBench_test/tree/2e8a48de45ff3bf41242f927254ca81b59ca3ae2) | [TIGER-Lab/MMLU-Pro at b189ec7](https://huggingface.co/datasets/TIGER-Lab/MMLU-Pro/tree/b189ec765aa7ed75c8acfea42df31fdae71f97be) | in the harness                                                                                               | [google/IFEval at 966cd89](https://huggingface.co/datasets/google/IFEval/tree/966cd89545d6b6acfd7638bc708b98261ca58e84)           |

#### Load

TTFT in ms, decode in tok/s

| Requests | Sent | Errors | TTFT p50 | TTFT p90 | Decode p50 |
| -------- | ---- | ------ | -------- | -------- | ---------- |
| 1        | 100  | 0      | 59       | 65       | 116        |
| 2        | 100  | 0      | 73       | 80       | 107        |
| 3        | 100  | 0      | 70       | 79       | 103        |
| 4        | 100  | 0      | 74       | 85       | 97         |
| 6        | 100  | 0      | 75       | 86       | 90         |
| 8        | 100  | 0      | 76       | 88       | 84         |
| 10       | 100  | 0      | 83       | 97       | 77         |
| 12       | 100  | 0      | 82       | 93       | 73         |
| 16       | 100  | 0      | 81       | 97       | 65         |
| 24       | 100  | 0      | 93       | 110      | 51         |
| 32       | 100  | 0      | 102      | 125      | 44         |
| 48       | 100  | 0      | 129      | 153      | 33         |
| 64       | 100  | 0      | 140      | 184      | 28         |
| 96       | 100  | 0      | 175      | 223      | 20         |

Source: OINF, by Softcery, <https://oinf.org/llms/gemma4-e4b/l40s#gemma-4-e4b-on-l40s-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.
