Gemma 4 E4B

8B parameters · 128k context · apache-2.0 · released 2026-03-02

chatvision

In short

Gemma 4 E4B is an open model from Google with 8B parameters. At Q4_K_M, Gemma 4 E4B needs about 6 GB of memory at 8k context and 6 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the UK that runs Gemma 4 E4B fully in memory at 8k context is the Intel Arc A770 16GB, £364 at eBay, at about 33 tok/s (estimated).

Updated . Speeds are estimates; how they are worked out.

Cheapest way to run it in the UK today

NVIDIA Tesla P40, used at eBay

Runs Gemma 4 E4B at Q8_0 fully in memory at 8k context, about 25 tok/sest.

£280

In stock, checked

What to run it on in the UK

Fully in memory at 8k context, priced at retailers today.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
Intel Arc A770 16GBQ8_0fits33 tok/s£36491.0
NVIDIA GeForce RTX 4060Q5_K_Mfits29 tok/s£37977.3
NVIDIA GeForce RTX 5050Q5_K_Mfits35 tok/s£38090.8
Intel Arc B570Q8_0fits22 tok/s£39656.6
NVIDIA GeForce RTX 5060Q5_K_Mfits48 tok/s£400120.8
NVIDIA GeForce RTX 3060 12GBQ8_0fits26 tok/s£40066.0
NVIDIA GeForce RTX 4060 Ti 8GBQ5_K_Mfits31 tok/s£40776.2
NVIDIA GeForce RTX 5060 Ti 8GBQ5_K_Mfits48 tok/s£475101.7
NVIDIA GeForce RTX 4070Q8_0fits37 tok/s£56865.0
NVIDIA GeForce RTX 3080 10GBQ8_0fits56 tok/s£59194.3
AMD Radeon RX 9060 XT 16GBQ8_0fits21 tok/s£63033.0
AMD Radeon RX 9070Q8_0fits42 tok/s£68061.2
Mac mini M4 16GBQ8_0fits9 tok/s£68513.4
NVIDIA GeForce RTX 5060 Ti 16GBQ8_0fits33 tok/s£69047.5
Intel Arc B580Q8_0fits27 tok/s£70038.4
NVIDIA GeForce RTX 5070Q8_0fits49 tok/s£70070.3
Intel Arc Pro B50Q8_0fits13 tok/s£74417.7
AMD Radeon RX 9070 XTQ8_0fits42 tok/s£75055.5
NVIDIA Tesla P40Q8_0fits25 tok/s£78032.4
AMD Radeon RX 7800 XTQ8_0fits41 tok/s£80050.6
AMD Radeon RX 7900 XTQ8_0fits52 tok/s£82962.7
NVIDIA RTX PRO 2000 BlackwellQ8_0fits21 tok/s£85024.8
Intel Arc Pro B60Q8_0fits27 tok/s£94428.5
NVIDIA GeForce RTX 4060 Ti 16GBQ8_0fits21 tok/s£97721.6
NVIDIA GeForce RTX 4070 SuperQ8_0fits37 tok/s£98337.5
NVIDIA GeForce RTX 5070 TiQ8_0fits66 tok/s£1,00065.6
NVIDIA GeForce RTX 4070 Ti SuperQ8_0fits49 tok/s£1,32937.0
NVIDIA GeForce RTX 3090Q8_0fits69 tok/s£1,33051.6
AMD Radeon RX 7900 XTXQ8_0fits62 tok/s£1,39944.6
Intel Arc Pro B70Q8_0fits36 tok/s£1,42225.2
NVIDIA GeForce RTX 4080 SuperQ8_0fits54 tok/s£1,43037.7
NVIDIA GeForce RTX 5080Q8_0fits70 tok/s£1,47047.8
AMD Radeon AI PRO R9700Q8_0fits42 tok/s£1,60026.0
Mac mini M4 32GBQ8_0fits9 tok/s£1,6495.6
NVIDIA GeForce RTX 3090 TiQ8_0fits74 tok/s£2,19933.6
Mac Studio M4 Max 64GBQ8_0fits42 tok/s£3,29912.7
Mac mini M4 Pro 64GBQ8_0fits21 tok/s£3,3496.3
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBQ8_0fits17 tok/s£3,5004.7
NVIDIA RTX PRO 4500 BlackwellQ8_0fits66 tok/s£4,58714.3
Mac Studio M3 Ultra 96GBQ8_0fits63 tok/s£4,94912.7
NVIDIA GeForce RTX 5090Q8_0fits131 tok/s£5,00026.3
NVIDIA GeForce RTX 4090Q8_0fits74 tok/s£5,09114.5
ASUS Ascent GX10 128GBQ8_0fits20 tok/s£5,2993.8
AMD Radeon PRO W7900Q8_0fits56 tok/s£5,7859.7
Lenovo ThinkStation PGX GB10 128GBQ8_0fits20 tok/s£5,9443.4
NVIDIA RTX PRO 5000 Blackwell 48GBQ8_0fits98 tok/s£7,30013.5
Mac Studio M3 Ultra 256GBQ8_0fits63 tok/s£8,2497.6
NVIDIA RTX A6000Q8_0fits56 tok/s£9,0006.3
NVIDIA RTX 6000 Ada GenerationQ8_0fits70 tok/s£11,2636.2
NVIDIA RTX PRO 6000 BlackwellQ8_0fits131 tok/s£13,5879.7
Mac Studio M4 Max 128GBQ8_0fits42 tok/s––
Framework Desktop Ryzen AI Max+ 395 128GBQ8_0fits17 tok/s––
Mac Studio M3 Ultra 512GBQ8_0fits63 tok/s––
NVIDIA DGX Spark 128GBQ8_0fits20 tok/s––
Mac mini M4 Pro 48GBQ8_0fits21 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBQ8_0fits17 tok/s––
AMD Radeon RX 7600 XTQ8_0fits19 tok/s––
NVIDIA RTX PRO 4000 BlackwellQ8_0fits49 tok/s––
NVIDIA RTX PRO 4000 Blackwell SFF EditionQ8_0fits32 tok/s––
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBQ8_0fits17 tok/s––
NVIDIA RTX PRO 5000 Blackwell 72GBQ8_0fits98 tok/s––
Dell Pro Max with GB10 128GBQ8_0fits20 tok/s––
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBQ8_0fits17 tok/s––

Memory needed

Weights, KV cache and runtime buffers at each context length (KV cache at fp16).

QuantFile@8k@32k@64k@128k
Q4_K_Mgguf4.6 GB5.6 GB6.4 GB7.5 GB9.6 GB
mlx-4bitmlx4.8 GB5.8 GB6.6 GB7.7 GB9.8 GB
Q5_K_Mgguf5.1 GB6.1 GB6.9 GB8.0 GB10.1 GB
Q6_Kgguf6.6 GB7.6 GB8.4 GB9.4 GB11.6 GB
Q8_0gguf7.6 GB8.6 GB9.4 GB10.5 GB12.6 GB
mlx-8bitmlx8.3 GB9.3 GB10.1 GB11.1 GB13.3 GB

Run it

Copy a command for the runtime you use.

  • Q4_K_M
    • Ollamaollama run hf.co/unsloth/gemma-4-E4B-it-GGUF:Q4_K_M
    • LM Studiolms get unsloth/gemma-4-E4B-it-GGUF@q4_k_m
    • llama.cppllama-server -hf unsloth/gemma-4-E4B-it-GGUF:Q4_K_M
  • mlx-4bit
    • LM Studiolms get mlx-community/gemma-4-E4B-it-4bit
    • MLXmlx_lm.server --model mlx-community/gemma-4-E4B-it-4bit
  • Q5_K_M
    • Ollamaollama run hf.co/unsloth/gemma-4-E4B-it-GGUF:Q5_K_M
    • LM Studiolms get unsloth/gemma-4-E4B-it-GGUF@q5_k_m
    • llama.cppllama-server -hf unsloth/gemma-4-E4B-it-GGUF:Q5_K_M
  • Q6_K
    • Ollamaollama run hf.co/unsloth/gemma-4-E4B-it-GGUF:Q6_K
    • LM Studiolms get unsloth/gemma-4-E4B-it-GGUF@q6_k
    • llama.cppllama-server -hf unsloth/gemma-4-E4B-it-GGUF:Q6_K
  • Q8_0
    • Ollamaollama run hf.co/unsloth/gemma-4-E4B-it-GGUF:Q8_0
    • LM Studiolms get unsloth/gemma-4-E4B-it-GGUF@q8_0
    • llama.cppllama-server -hf unsloth/gemma-4-E4B-it-GGUF:Q8_0
  • mlx-8bit
    • LM Studiolms get mlx-community/gemma-4-E4B-it-8bit
    • MLXmlx_lm.server --model mlx-community/gemma-4-E4B-it-8bit

Questions

How much VRAM does Gemma 4 E4B need?
At Q4_K_M, Gemma 4 E4B needs about 6 GB of memory at 8k context and 6 GB at 8k, counting the weights, the KV cache and runtime buffers.
What is the best GPU for running Gemma 4 E4B locally?
The cheapest hardware in the UK that runs Gemma 4 E4B fully in memory at 8k context is the Intel Arc A770 16GB, £364 at eBay, at about 33 tok/s (estimated). The best value is the NVIDIA GeForce RTX 5060 (about 48 tok/s for £400). The fastest we price is the NVIDIA GeForce RTX 5090, at about 131 tok/s.
What is the cheapest way to run Gemma 4 E4B in the UK today?
The NVIDIA Tesla P40, £280 used at eBay, in stock: it runs Gemma 4 E4B at Q8_0 fully in memory at 8k context, at about 25 tok/s (estimated).
Can I run Gemma 4 E4B on a 16 GB GPU?
Yes: at Q8_0 it fits fully in 16 GB at 8k context. On the NVIDIA GeForce RTX 5080 it runs at about 70 tok/s (estimated).
Can I run Gemma 4 E4B on a 24 GB GPU?
Yes: at Q8_0 it fits fully in 24 GB at 8k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 74 tok/s (estimated).
How do I run Gemma 4 E4B locally?
With Ollama: ollama run hf.co/unsloth/gemma-4-E4B-it-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
What licence is Gemma 4 E4B released under?
apache-2.0, which allows commercial use.

More hardware for local AI