LLMs ·

Gemma 3n E4B

Parameters
7.9B
Architecture
Dense
Max context
32K tokens
License
gemma
Released
2025-06

How to run it

Quickest · Ollama

One command downloads a ready-to-run version and starts a chat.

ollama run gemma3n:e4b

Get Ollama at ollama.com/download (opens in a new tab) · model page (opens in a new tab)

Quantized files · GGUF

Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.

huggingface.co/unsloth/gemma-3n-E4B-it-GGUF (opens in a new tab)

ollama run hf.co/unsloth/gemma-3n-E4B-it-GGUF

Original weights · Hugging Face

Full-precision files from Google, for fine-tuning, vLLM, Transformers.

huggingface.co/google/gemma-3n-E4B-it (opens in a new tab)

Free Hugging Face account needed: request access on the model page, and Google approves it (usually within minutes to a few hours).

Official repo · GitHub

Reference code, inference scripts and docs from Google. The weights themselves download from Hugging Face.

github.com/google-deepmind/gemma (opens in a new tab)

git clone https://github.com/google-deepmind/gemma

Google DeepMind’s official Gemma library.

Memory needed

Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps.

KV cache: sliding-window hybrid: the KV estimate counts the global-attention layers plus a small allowance for the sliding-window layers.

Quantization Quality Weights Total at 8K context Total at 32K context Download
Q2_K Low 3.1 GB 3.9 GB 4.3 GB GGUF (opens in a new tab)
Q3_K_M Low 3.8 GB 4.6 GB 5.0 GB GGUF (opens in a new tab)
Q4_K_M Good 4.8 GB 5.5 GB 5.9 GB GGUF (opens in a new tab)
Q5_K_M High 5.6 GB 6.3 GB 6.7 GB GGUF (opens in a new tab)
Q6_K High 6.4 GB 7.2 GB 7.6 GB GGUF (opens in a new tab)
Q8_0 Very high 8.3 GB 9.1 GB 9.5 GB GGUF (opens in a new tab)
F16 Full 15.7 GB 16.4 GB 16.8 GB GGUF (opens in a new tab) Original weights (opens in a new tab)

Best hardware for Gemma 3n E4B

The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A380 (launch price $139) at Q3_K_M.

Grade · points Hardware Quant Memory Speed Fit
75 ptsGreat (A) · 75 of 100 points: Model quality 20.7/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 4070 SUPER Q8_0 9.7 GB / 12.0 GB 40.1 tok/s Runs well
75 ptsGreat (A) · 75 of 100 points: Model quality 20.5/45, Memory fit 25.0/25, Speed 14.8/15, Memory use 14.9/15 NVIDIA GeForce RTX 3060 12GB Q6_K 7.8 GB / 12.0 GB 39.1 tok/s Runs well
74 ptsGreat (A) · 74 of 100 points: Model quality 20.7/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.2/15 AMD Radeon RX 9070 XT Q8_0 9.9 GB / 16.0 GB 43.9 tok/s Runs well
74 ptsGreat (A) · 74 of 100 points: Model quality 20.7/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.2/15 NVIDIA GeForce RTX 4070 Ti SUPER Q8_0 9.9 GB / 16.0 GB 53.5 tok/s Runs well
74 ptsGreat (A) · 74 of 100 points: Model quality 20.7/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.2/15 NVIDIA GeForce RTX 4080 SUPER Q8_0 9.9 GB / 16.0 GB 58.6 tok/s Runs well
74 ptsGreat (A) · 74 of 100 points: Model quality 20.7/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.2/15 NVIDIA GeForce RTX 5070 Ti Q8_0 9.9 GB / 16.0 GB 71.3 tok/s Runs well
74 ptsGreat (A) · 74 of 100 points: Model quality 20.7/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.2/15 NVIDIA GeForce RTX 5080 Q8_0 9.9 GB / 16.0 GB 76.4 tok/s Runs well
74 ptsGreat (A) · 74 of 100 points: Model quality 19.7/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 4060 Q4_K_M 5.9 GB / 8.0 GB 42.5 tok/s Runs well
73 ptsGreat (A) · 73 of 100 points: Model quality 20.7/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 13.0/15 NVIDIA GeForce RTX 5090 F16 18.0 GB / 32.0 GB 65.7 tok/s Runs well
73 ptsGreat (A) · 73 of 100 points: Model quality 20.1/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 13.3/15 Intel Arc B580 Q5_K_M 6.9 GB / 12.0 GB 45.0 tok/s Runs well

Check it on your own hardware

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.