Google · released 2026-03-02

Gemma 4 E2B

Smallest Gemma 4 model, built for phones and laptops, with 2.3B effective parameters and text, image and audio input.

generalreasoningvisionsmallmultilingual
Parameters
5.1B
Active / token
2.3B
Context
128K
Memory at Q4
3.8 GB
License
apache-2.0
Images
Yes
Thinking mode
Yes

Cheapest ways to use it $0.04 in / $0.08 out per 1M tokens via Amazon Bedrock (2 providers) · or free on RTX 4060 or better

Official size: 2.3B effective (5.1B 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.04/1M on Amazon Bedrock

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 3.8 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-E2B-it

Will it run on my computer?

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

MachineBest fileFitEst. speed
RTX 4060 Q6_K Fits in memory ~81 tok/s · Very fast
RTX 3060 12GB Q6_K Fits in memory ~99 tok/s · Very fast
RTX 4060 Ti 16GB Q6_K Fits in memory ~84 tok/s · Very fast
RTX 3090 Q6_K Fits in memory ~175 tok/s · Very fast
RTX 4090 Q6_K Fits in memory ~181 tok/s · Very fast
RTX 5090 Q6_K Fits in memory ~226 tok/s · Very fast
M4 · 16 GB Q6_K Fits in memory ~36 tok/s · Fast
M4 Pro · 48 GB Q6_K Fits in memory ~73 tok/s · Very fast
M4 Max · 128 GB Q6_K Fits in memory ~119 tok/s · Very fast
M3 Ultra · 512 GB Q6_K Fits in memory ~152 tok/s · Very fast
DGX Spark Q6_K Fits in memory ~81 tok/s · Very fast
Ryzen AI Max+ 395 Q6_K Fits in memory ~65 tok/s · Very fast

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

Ways to run it

Use it through an API 2 providers

ProviderInput / 1MOutput / 1MStated precisionContext
Amazon Bedrock $0.04 $0.08 not stated — source ↗
Featherless $0.08 $0.40 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
6.2 GB
~138 tok/s $0.32
1× RTX 3090 24GB Vast.ai
marketplace
$0.21 8-bit
6.2 GB
~154 tok/s $0.38
1× RTX 3090 Ti 24GB Vast.ai
marketplace
$0.27 8-bit
6.2 GB
~160 tok/s $0.47
1× L4 24GB Vast.ai
marketplace
$0.32 8-bit
6.2 GB
~72 tok/s $1.24

*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 2.5 GB 0.0 GB 3.2 GB
Q4_K_MGood — the usual pick 3.1 GB 0.0 GB 3.8 GB
Q5_K_MVery close to full 3.6 GB 0.0 GB 4.4 GB
Q6_KNear lossless 4.2 GB 0.0 GB 5.0 GB
Q8_0Practically lossless 5.4 GB 0.0 GB 6.2 GB
FP16Full precision 10.2 GB 0.0 GB 11.1 GB

Test answers

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

Similar models