Gemma 4 E4B
Gemma 4 E4B needs 12.7 GB of VRAM at 1 request, as W4A16 on L4.
- Provider: Google
- License: Apache 2.0
- 8B params
- 128K context
- Weights
- Measured Nov 12, 2026
© Softcery OÜ. License: CC BY 4.0. Credit: OINF, by Softcery, https://oinf.org/llms/gemma4-e4b.
Gemma 4 E4B benchmarks
49 ± 3
BF16: the reference
29 ± 5
BF16: the reference
68 ± 4
BF16: the reference
54 ± 4
BF16: the reference
83 ± 4
BF16: the reference
Run on RTX PRO 6000, Nov 11, 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
- IFBench
- IFBench 0.2.0, 150 items, allenai/IFBench_test at 2e8a48d
- MMLU-Pro
- lm-evaluation-harness 0.4.13, 420 items, TIGER-Lab/MMLU-Pro at b189ec7
- BFCL
- bfcl-eval 2026.3.23, 210 items, in the harness
- IFEval
- lm-evaluation-harness 0.4.13, 200 items, google/IFEval at 966cd89
- Weights
- google/gemma-4-E4B-it
46 ± 3
30 ± 5
+0.7 against BF16
61 ± 5
−6.7* against BF16
51 ± 5
−2.4 against BF16
81 ± 4
−2.5 against BF16
Run on RTX PRO 6000, Nov 11, 2026. Scores in %, ± the 95 % interval. The tick marks BF16. * The change leaves out 0 at 95 %.
Quality index: the mean of IFBench, MMLU-Pro and BFCL, each scaled from chance to 100.
Bench setup and weights
- IFBench
- IFBench 0.2.0, 150 items, allenai/IFBench_test at 2e8a48d
- MMLU-Pro
- lm-evaluation-harness 0.4.13, 420 items, TIGER-Lab/MMLU-Pro at b189ec7
- BFCL
- bfcl-eval 2026.3.23, 210 items, in the harness
- IFEval
- lm-evaluation-harness 0.4.13, 200 items, google/IFEval at 966cd89
Gemma 4 E4B speed
No run of this quant on this GPU. Runs on L4:
BF16 on RTX 3090
All quants on RTX 3090TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 10
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 118 | 139 | 62 |
| 2 | 100 | 0 | 142 | 170 | 61 |
| 3 | 100 | 0 | 132 | 155 | 59 |
| 4 | 100 | 0 | 122 | 151 | 57 |
| 6 | 100 | 0 | 139 | 173 | 52 |
| 8 | 100 | 0 | 142 | 168 | 50 |
| 10 | 100 | 0 | 142 | 173 | 47 |
| 12 | 100 | 0 | 147 | 184 | 43 |
| 16 | 100 | 0 | 138 | 183 | 40 |
| 24 | 100 | 0 | 176 | 242 | 33 |
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 6000TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 16
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 148 | 168 | 100 |
| 2 | 100 | 0 | 157 | 180 | 91 |
| 3 | 100 | 0 | 146 | 167 | 93 |
| 4 | 100 | 0 | 147 | 166 | 91 |
| 6 | 100 | 0 | 152 | 187 | 86 |
| 8 | 100 | 0 | 155 | 199 | 83 |
| 10 | 100 | 0 | 154 | 199 | 81 |
| 12 | 100 | 0 | 175 | 222 | 76 |
| 16 | 100 | 0 | 174 | 235 | 72 |
| 24 | 100 | 0 | 181 | 241 | 64 |
| 32 | 100 | 0 | 177 | 256 | 59 |
| 48 | 100 | 0 | 228 | 346 | 48 |
| 64 | 100 | 0 | 233 | 306 | 43 |
| 96 | 100 | 0 | 264 | 396 | 39 |
| 144 | 100 | 0 | 304 | 453 | 33 |
| 216 | 100 | 0 | 399 | 578 | 26 |
W4A16 on L4
All quants on L4TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 11
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 164 | 180 | 53 |
| 2 | 100 | 0 | 175 | 197 | 50 |
| 3 | 100 | 0 | 183 | 207 | 46 |
| 4 | 100 | 0 | 187 | 220 | 43 |
| 6 | 100 | 0 | 190 | 218 | 39 |
| 8 | 100 | 0 | 191 | 229 | 36 |
| 10 | 100 | 0 | 202 | 236 | 32 |
| 12 | 100 | 0 | 211 | 244 | 29 |
| 16 | 100 | 0 | 222 | 275 | 26 |
| 24 | 100 | 0 | 242 | 303 | 20 |
| 32 | 100 | 0 | 287 | 358 | 16 |
W4A16 on RTX 3090
All quants on RTX 3090TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 12
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 94 | 113 | 113 |
| 2 | 100 | 0 | 94 | 108 | 109 |
| 3 | 100 | 0 | 97 | 111 | 103 |
| 4 | 100 | 0 | 106 | 125 | 96 |
| 6 | 100 | 0 | 104 | 120 | 83 |
| 8 | 100 | 0 | 103 | 120 | 79 |
| 10 | 100 | 0 | 111 | 149 | 70 |
| 12 | 100 | 0 | 114 | 142 | 64 |
| 16 | 100 | 0 | 122 | 162 | 56 |
| 24 | 100 | 0 | 128 | 154 | 43 |
| 32 | 100 | 0 | 149 | 207 | 35 |
| 48 | 100 | 0 | 181 | 253 | 27 |
W4A16 on RTX 5090
All quants on RTX 5090TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 12
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 37 | 40 | 186 |
| 2 | 100 | 0 | 44 | 47 | 178 |
| 3 | 100 | 0 | 45 | 47 | 172 |
| 4 | 100 | 0 | 44 | 50 | 167 |
| 6 | 100 | 0 | 45 | 53 | 155 |
| 8 | 100 | 0 | 48 | 55 | 144 |
| 10 | 100 | 0 | 46 | 55 | 131 |
| 12 | 100 | 0 | 46 | 58 | 121 |
| 16 | 100 | 0 | 48 | 58 | 110 |
| 24 | 100 | 0 | 55 | 69 | 91 |
| 32 | 100 | 0 | 59 | 81 | 79 |
| 48 | 100 | 0 | 74 | 91 | 61 |
W4A16 on L40S
All quants on L40STTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 14
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 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 |
W4A16 on RTX PRO 6000
All quants on RTX PRO 6000TTFT
p50 and p90, ms

Decode per request
p50, tok/s

Load steps, 15
| Requests | Sent | Errors | TTFT p50, ms | TTFT p90, ms | Decode p50, tok/s |
|---|---|---|---|---|---|
| 1 | 100 | 0 | 150 | 159 | 139 |
| 2 | 100 | 0 | 150 | 178 | 136 |
| 3 | 100 | 0 | 145 | 169 | 132 |
| 4 | 100 | 0 | 139 | 171 | 130 |
| 6 | 100 | 0 | 147 | 195 | 120 |
| 8 | 100 | 0 | 154 | 203 | 113 |
| 10 | 100 | 0 | 156 | 219 | 105 |
| 12 | 100 | 0 | 171 | 235 | 99 |
| 16 | 100 | 0 | 151 | 210 | 91 |
| 24 | 100 | 0 | 186 | 246 | 76 |
| 32 | 100 | 0 | 210 | 334 | 67 |
| 48 | 100 | 0 | 223 | 323 | 53 |
| 64 | 100 | 0 | 206 | 275 | 47 |
| 96 | 100 | 0 | 297 | 470 | 36 |
| 144 | 100 | 0 | 285 | 455 | 29 |
Gemma 4 E4B VRAM requirements
Card memory, 24 GB
Requests the KV cache holds, by context
- 16K tokens19
- 32K tokens9
- 64K tokens4
- 128K tokens2
- 256K tokens1
Workload per request: prompt p50 9,514 tokens, 8,325 to 10,446, 97 % from cache. Reply p50 195 tokens.
Card memory, 96 GB
Requests the KV cache holds, by context
- 16K tokens122
- 32K tokens61
- 64K tokens30
- 128K tokens15
- 256K tokens7
- 512K tokens3
- 1.0M tokens1
Workload per request: prompt p50 9,273 tokens, 8,290 to 10,474, 98 % from cache. Reply p50 198 tokens.
Card memory, 24 GB
Requests the KV cache holds, by context
- 16K tokens26
- 32K tokens13
- 64K tokens6
- 128K tokens3
- 256K tokens1
Workload per request: prompt p50 9,248 tokens, 8,320 to 10,447, 97 % from cache. Reply p50 202 tokens.
Card memory, 24 GB
Requests the KV cache holds, by context
- 16K tokens30
- 32K tokens15
- 64K tokens7
- 128K tokens3
- 256K tokens1
Workload per request: prompt p50 9,471 tokens, 8,322 to 10,433, 97 % from cache. Reply p50 196 tokens.
Card memory, 32 GB
Requests the KV cache holds, by context
- 16K tokens51
- 32K tokens25
- 64K tokens12
- 128K tokens6
- 256K tokens3
- 512K tokens1
Workload per request: prompt p50 9,217 tokens, 8,334 to 10,476, 97 % from cache. Reply p50 196 tokens.
Card memory, 48 GB
Requests the KV cache holds, by context
- 16K tokens86
- 32K tokens43
- 64K tokens21
- 128K tokens10
- 256K tokens5
- 512K tokens2
- 1.0M tokens1
Workload per request: prompt p50 9,375 tokens, 8,294 to 10,466, 97 % from cache. Reply p50 199 tokens.
Card memory, 96 GB
Requests the KV cache holds, by context
- 16K tokens129
- 32K tokens64
- 64K tokens32
- 128K tokens16
- 256K tokens8
- 512K tokens4
- 1.0M tokens2
Workload per request: prompt p50 9,505 tokens, 8,312 to 10,472, 98 % from cache. Reply p50 197 tokens.
Gemma 4 E4B recipe
- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 11, 2026
- Load test end
- 32 requests · p90 > 1 s
- Chat template
- gemma4-e4b.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-E4B-it \
--revision 4ecc2ba63bcac23ba4a767fc87025b1450f84c9c \
--served-model-name gemma4-e4b-bf16-rtx-3090 \
--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}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 11, 2026
- Load test end
- 328 requests · p90 > 1 s
- Chat template
- gemma4-e4b.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-E4B-it \
--revision 4ecc2ba63bcac23ba4a767fc87025b1450f84c9c \
--served-model-name gemma4-e4b-bf16-rtx-pro-6000 \
--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}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 11, 2026
- Load test end
- 48 requests · p90 > 1 s
- Chat template
- gemma4-e4b.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-E4B-it-qat-w4a16-ct \
--revision 6cd26aaa2357fb2bad8c51699a7558a4d1a965bb \
--served-model-name gemma4-e4b-w4a16-l4 \
--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}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 12, 2026
- Load test end
- 64 requests · p90 > 1 s
- Chat template
- gemma4-e4b.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-E4B-it-qat-w4a16-ct \
--revision 6cd26aaa2357fb2bad8c51699a7558a4d1a965bb \
--served-model-name gemma4-e4b-w4a16-rtx-3090 \
--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}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 11, 2026
- Load test end
- 64 requests · p90 > 1 s
- Chat template
- gemma4-e4b.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-E4B-it-qat-w4a16-ct \
--revision 6cd26aaa2357fb2bad8c51699a7558a4d1a965bb \
--served-model-name gemma4-e4b-w4a16-rtx-5090 \
--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}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 11, 2026
- Load test end
- 144 requests · p90 > 1 s
- Chat template
- gemma4-e4b.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
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}'- Engine
- vLLM v0.31.0
- Load tool
- AIPerf 0.13.0
- Measured
- Nov 11, 2026
- Load test end
- 216 requests · p90 > 1 s
- Chat template
- gemma4-e4b.jinja
- Image
- docker.io/vllm/vllm-openai:v0.31.0@sha256:c1c9f6fd5c109ba7f0546a59f5b2f15fb87f64c77782e90a27b648b42a8e67c3
vllm serve google/gemma-4-E4B-it-qat-w4a16-ct \
--revision 6cd26aaa2357fb2bad8c51699a7558a4d1a965bb \
--served-model-name gemma4-e4b-w4a16-rtx-pro-6000 \
--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}'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.