VRAMGlass contains affiliate links. As an eBay Partner, we may be compensated if you make a purchase. As an Amazon Associate I earn from qualifying purchases.We may earn from eBay and Amazon links.Learn more

GPUs tracked64Price history94 daysPrice points (24h)29,155 pointsBiggest 24h dropTesla V100 16GB-6.1%Biggest 24h riseInstinct MI100+12.8%Updated
$ USD

Run Gemma 4 E4B Locally: VRAM & GPU Requirements

Gemma 4 E4B is a small on-device model released by Google in April 2026 that needs about 6.6 GB of VRAM at 4-bit with 32K context. An 8GB GPU can run it locally. Even the full 128K context needs only about 8.2 GB. It accepts images and audio clips of up to 30 seconds as direct input, and the E stands for "effective parameters": 8B in total with per-layer embedding tables, while only about 4.5B take part in computation.

Gemma 4 E4B details

  • Min VRAM at 4-bit (8K context)7 GB
  • Parameters8B
  • Max context128K
Architecture
Dense
License
Apache-2.0
Launch date
Apr 2, 2026
Vendor
Google DeepMind
Hugging Face repo
google/gemma-4-E4B-it
NVFP4 repo (Blackwell)
unsloth/gemma-4-E4B-it-NVFP4
Ollama tag
gemma4:e4b
Layers
42
Hidden size
2,560
KV heads
2
Head dim
256

How much VRAM does Gemma 4 E4B need?

QuantizationWeightsGB8K contextGB32K contextGB128K context (max)GB
1-bit2est.3.23.65.3
2-bit3.8GGUF55.47
3-bit4.6GGUF5.86.27.8
4-bit5GGUF6.26.68.2
5-bit5.5GGUF6.77.18.7
8-bit8.2GGUF9.49.811.4
BF16/FP1615.1GGUF16.316.718.3

Full calculation rules are on the Methodology page.

Can a single GPU run Gemma 4 E4B?

Almost any discrete GPU can run Gemma 4 E4B locally, as 4-bit with 8K context takes only about 6 GB of VRAM. With VRAM that light, there is no need to squeeze it down to 4-bit: 8-bit with the full 128K context is about 11.4 GB, fits on a 12GB card, and runs at about 39 tokens/s on the RTX 5060 Ti 16GB. A 16GB card can even run the uncompressed original, just not at full context. Because many of its 8B parameters are only looked up rather than computed, leaving about 4.5B active per token, real speed often beats estimates.

eBay
DevicePriceSpeed t/sMax context
Tesla V100 16GB16 GB$41316 listings114.2128K
GeForce RTX 5060 Ti 16GB16 GB$88045 listings61.8128K
Tesla V100 32GB32 GB$1,37813 listings114.2128K
Radeon RX 7900 XTX24 GB$1,40027 listings120.5128K
GeForce RTX 309024 GB$1,992116 listings118128K
GeForce RTX 409024 GB$3,82574 listings125.5128K
Ryzen AI Max+ 395 128GBWhole system · 128 GB$4,02531 listings36.7128K
RTX A600048 GB$4,89925 listings99.8128K
Mac Studio M5 Ultra 96GBWhole system · 96 GB$6,7995 listings147.3128K
MacBook Pro M5 Max 128GBWhole system · 128 GB$7,00029 listings82.1128K
GeForce RTX 509032 GB$7,385128 listings196.3128K
DGX Spark 128GBWhole system · 128 GB$7,90037 listings39128K
RTX PRO 600096 GB$18,60020 listings196.3128K

Only common GPUs and systems are listed, from cheapest to most expensive.

What to know before running Gemma 4 E4B locally

  1. The “E” in E4B

    Every layer of E4B has its own embedding table. These tables are large, but during generation they are only looked up, with each token using just a few rows, so only about 4.5B parameters actually do computation; that's why Google calls it an “effective 4B.” This site estimates both VRAM and speed from 8B, so real generation may be somewhat faster than the speeds in the table.

  2. Thinking is off by default

    Thinking is off by default and only turns on when you add <|think|> at the start of the system prompt (in Transformers that maps to enable_thinking=True, and llama.cpp's chat template handles it for you). With thinking off, it answers directly, unlike the 12B and larger models, which still output an empty thinking block. Google's sampling parameters apply to every use case: temperature 1.0, top_p 0.95, top_k 64.

  3. How to feed it images and audio

    Put images before the text and audio after it. Audio is limited to 30 seconds, and video is read at 1 frame per second for up to 60 seconds. You can choose how many tokens represent an image (several levels from 70 to 1120): use the higher levels for OCR and small text, and the lower ones for classification and video. llama.cpp has supported Gemma 4 audio input since April 12, 2026.

  4. Where its limits are

    Its knowledge and common sense are solid: in Google's model card, E4B scores 69.4 on MMLU Pro, slightly above the previous-generation Gemma 3 27B's 67.6 without thinking. But it clearly trails the next size up on hard reasoning problems, scoring only 58.6 on GPQA Diamond versus 78.8 for the 12B. It's better suited to speech transcription, image Q&A and a lightweight assistant on a laptop.

Launch commands

Ollama

  • Windows
  • macOS
  • Linux
Terminal
ollama run gemma4:e4b

llama.cpp

  • NVIDIA
  • AMD
  • Mac
  • CPU
Terminal
llama-server -hf unsloth/gemma-4-E4B-it-GGUF:Q4_K_M -c 8192

vLLM

  • Linux
  • NVIDIA
  • AMD
Original weights
Terminal
vllm serve google/gemma-4-E4B-it
NVFP4 · Blackwell

Blackwell GPUs (RTX 50 series, RTX PRO 6000, B200) run NVFP4 weights natively, at about 30% of the original size.

Terminal
vllm serve unsloth/gemma-4-E4B-it-NVFP4

MLX

  • Apple Silicon

Vision models run on mlx-vlm: on a Mac, pip install mlx-vlm first; this command downloads the MLX weights from Hugging Face and starts a server.

Terminal
mlx_vlm.server --model mlx-community/gemma-4-e4b-it-4bit

File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology

Other models in the Gemma family

ModelTotal paramsActive params4-bit size
Gemma 4 12BDense12B12B7.1 GB
Gemma 4 26B A4BMoE25.2B3.8B16.9 GB
Gemma 4 31BDense30.7B30.7B18.3 GB

About Gemma