GE

gemma-4-E2B

GemmaGGUF by ggml-orgUpdated 2026-10-19
Download on Hugging Face
Parameters4.65B
Context128K
Layers35
Architecturegemma4
Smallest quant5.0 GB
Quick answer

gemma-4-E2B needs about 6.1 GB of memory at Q8_0 (a 5.0 GB file) with an 8K context window, so it fits on a 8 GB GPU. This repository has 2 quants, from 5.0 GB (Q8_0) to 9.3 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 2.3 GB.

Gemma 4 E2B, 4.65B parameter text model with 256K context

Gemma 4 E2B is a 4.65B parameter model from Google DeepMind. It supports a 131072 token context window and is optimized for local deployment on laptops and mobile devices. The model is released under the Apache‑2.0 license.

Good at

  • Text generation
  • Coding tasks
  • Reasoning

Limits

  • No vision or audio support in this variant
  • Requires 6.1GB VRAM for Q8_0
  • Large context window may increase memory usage

Best for

  • Local text generation on edge devices
  • Coding assistance
  • Reasoning workflows

Who it’s for. Developers and researchers needing a lightweight, on‑device text model with a large context window. The model is suitable for mobile and laptop environments where GPU memory is limited.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q8_05.0 GB 6.1 GB
Fits Get file →
BF169.3 GB 10.4 GB
Too big Get file →

For 8 GB VRAM, use the Q8_0 quantization (4.97 GB file, ~6.1 GB memory). If more memory is available, BF16 (9.31 GB file, ~10.4 GB memory) offers higher precision.

What GPU do you need for gemma-4-E2B?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: the best quant that fits is Q8_0 (5.0 GB file, about 6.1 GB in use).
  • 12 GB VRAM: the best quant that fits is BF16 (9.3 GB file, about 10.4 GB in use).

Which gemma-4-E2B quant should you choose?

Q8_0 (5.0 GB) is the middle option in this repository. Close to lossless. It costs roughly twice the memory of a 4-bit file, so it suits cases where you have plenty of VRAM.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturegemma4
Parameters4.65B
Layers35
Trained context131,072 tokens
KV cache (fp16)70 KB per token

Source

Quantized byggml-org
FamilyGemma
Licenseapache-2.0
Downloads (HF)1,208
Last updated2026-10-19

Frequently asked questions about gemma-4-E2B

How much VRAM does gemma-4-E2B need?

About 6.1 GB at Q8_0 with an 8K context window. That is the 5.0 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run gemma-4-E2B on an 8 GB GPU?

Yes, with Q8_0: the 5.0 GB file needs about 6.1 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of gemma-4-E2B GGUF?

It depends on the quant: Q8_0 is 5.0 GB, BF16 is 9.3 GB.

What context length does gemma-4-E2B support?

The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 0.6 GB at 8K and 2.3 GB at 32K.

Where can I download gemma-4-E2B GGUF?

The files are on Hugging Face in the ggml-org/gemma-4-E2B-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does gemma-4-E2B use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run Gemma‑4‑E2B on a GPU with 8 GB VRAM?

Yes, the Q8_0 quantization requires about 6.1 GB VRAM, which fits within an 8 GB GPU. The BF16 quantization would exceed 8 GB.

Does Gemma‑4‑E2B support image or audio input?

This variant does not include multimodal or audio capabilities; it handles only text input and output.

What license applies to Gemma‑4‑E2B?

The model is released under the Apache‑2.0 license.

Other GGUFs of gemma-4-E2B

Similar models

Browse all →

More from ggml-org

All by ggml-org →

More Gemma models

All Gemma →

Other small models

All small models →