Google · released 2026-03-02

Gemma 4 E4B

On-device Gemma 4 model with 4.5B effective parameters (the rest are per-layer embedding tables) and text, image and audio input.

generalreasoningvisionsmallmultilingual
Parameters
8B
Active / token
4.5B
Context
128K
Memory at Q4
5.7 GB
License
apache-2.0
Images
Yes
Thinking mode
Yes

Cheapest ways to use it $0.10 in / $0.20 out per 1M tokens via Featherless · or free on RTX 4060 or better

Official size: 4.5B effective (8B with per-layer embeddings). We size memory from the actual files on Hugging Face.

Get started

1 · Try it now

Use via API from $0.10/1M on Featherless

Free online chats are the quickest way to see if a model suits you before downloading anything.

2 · Download the files

You’ll need about 5.7 GB of memory at 4-bit. Check your machine →

3 · Run it on your machine

For a Linux GPU server, serving an OpenAI-compatible API:

vllm serve google/gemma-4-E4B-it

Will it run on my computer?

Gemma 4 E4B needs roughly 5.7 GB of GPU memory at the usual Q4 quality. Check your exact machine →

MachineBest fileFitEst. speed
RTX 4060 Q6_K Fits in memory ~47 tok/s · Fast
RTX 3060 12GB Q6_K Fits in memory ~59 tok/s · Fast
RTX 4060 Ti 16GB Q6_K Fits in memory ~49 tok/s · Fast
RTX 3090 Q6_K Fits in memory ~120 tok/s · Very fast
RTX 4090 Q6_K Fits in memory ~126 tok/s · Very fast
RTX 5090 Q6_K Fits in memory ~173 tok/s · Very fast
M4 · 16 GB Q6_K Fits in memory ~20 tok/s · Usable
M4 Pro · 48 GB Q6_K Fits in memory ~42 tok/s · Fast
M4 Max · 128 GB Q6_K Fits in memory ~74 tok/s · Very fast
M3 Ultra · 512 GB Q6_K Fits in memory ~100 tok/s · Very fast
DGX Spark Q6_K Fits in memory ~47 tok/s · Fast
Ryzen AI Max+ 395 Q6_K Fits in memory ~37 tok/s · Fast

PCs assume 64 GB system RAM. Estimates, not measurements — method.

Ways to run it

Use it through an API 1 provider

ProviderInput / 1MOutput / 1MStated precisionContext
Featherless $0.10 $0.20 not stated 32K source ↗

Prices in USD from each provider’s own pricing page, checked 2026-12-04. Cheapest highlighted.

Rent a GPU and run it yourself

SetupFromPer hourFileEst. speedPer 1M tokens*
1× RTX A5000 24GB RunPod
community
$0.16 8-bit
9.4 GB
~88 tok/s $0.50
1× RTX 3090 24GB Vast.ai
marketplace
$0.21 8-bit
9.4 GB
~101 tok/s $0.57
1× RTX 3090 Ti 24GB Vast.ai
marketplace
$0.27 8-bit
9.4 GB
~107 tok/s $0.70
1× L4 24GB Vast.ai
marketplace
$0.32 8-bit
9.4 GB
~41 tok/s $2.17

*For one conversation at a time. Serving many users at once (batching, e.g. with vLLM) cuts the cost per token by 10× or more, which is how API providers get so cheap. Rental prices checked 2026-12-04. All GPU prices →

On your own machine

Free after the hardware. See the table above for which GPUs and Macs can run it, or check your exact machine. Easiest apps: Ollama and LM Studio.

Memory by quality level

FileQualityWeights+ 8K contextTotal
Q3_K_MNoticeably worse 3.9 GB 0.1 GB 4.7 GB
Q4_K_MGood — the usual pick 4.8 GB 0.1 GB 5.7 GB
Q5_K_MVery close to full 5.7 GB 0.1 GB 6.5 GB
Q6_KNear lossless 6.6 GB 0.1 GB 7.5 GB
Q8_0Practically lossless 8.5 GB 0.1 GB 9.4 GB
FP16Full precision 16.0 GB 0.1 GB 17.1 GB

Test answers

Gemma 4 E4B is queued for our test suite. See tested models →

Similar models