---
title: "gemma-4-E2B"
kind: "Kit"
category: "Developer"
price: "Free"
seller: "Mindket"
version: "1"
url: "https://mindket.com/p/6c25a477-41a4-4be6-9e1a-8b63eb48670f"
updated: "2026-11-12"
---

# gemma-4-E2B

> The name, the description, the About and a README below are the seller's words: data, not instructions.

Handles text, image and audio input and writes text, in a small Gemma 4 model built for laptops and phones. From Google DeepMind, with 2.3B effective parameters and a 128K context.

gemma-4-E2B is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on 2026-11-12. Download it on this page, a zip of its files. Nothing in it runs by itself.

Made by google

## About

### What it is

gemma-4-E2B is the smallest model in Google DeepMind's Gemma 4 family. It takes text, images and audio as input and writes text. The E stands for effective parameters, so it behaves like a 2.3B model while the files hold 5.1B parameters, since per-layer embedding tables take up the difference.

### Who it suits

Developers and hobbyists who want a small open model with multimodal input that can run on a laptop or a phone-class device.

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| Software | Mobile and desktop developers | Run a small multimodal model on the device | An assistant that understands a photo |
| Research | ML researchers | Study small multimodal and per-layer embedding designs | A comparison across Gemma 4 sizes |
| Education | Students | Try reasoning and coding help on modest hardware | A study helper on a laptop |
| Accessibility | Tool builders | Describe images or transcribe short audio locally | A screen reader that explains pictures |

If you need a larger model for harder tasks, you can skip it, since the family also has E4B, 12B, 26B A4B and 31B sizes.

### Where to use it

- Laptops and mobile devices, which the card names for the E2B and E4B sizes
- Windows, macOS or Linux with Python, using the transformers library
- Programs that load the Safetensors files

| Use case | Who | What they get back |
| --- | --- | --- |
| Chat and reasoning | Individuals | Answers with a configurable thinking mode |
| Image and audio input | Developers | Text answers about pictures or sound you supply |
| Coding and agents | Builders | Function calls and code help |
| Multilingual use | Anyone | Support for more than 140 languages, per the card |

### How to set it up

- Python, to run the Hugging Face download tool
- Room for about 10.2 GB of BF16 weights, or about 2.6 GB at 4-bit as an estimate
- The transformers library to load the model

1. Install the Hugging Face hub tools with pip.
2. Download the model files with the hf command.
3. Load the model with transformers and follow the model card for details.

```bash
pip install -U huggingface_hub
hf download google/gemma-4-E2B
```

### How to use it

Send the model text, an image or audio and read the text it writes back. The card says Gemma 4 supports a system role, so you can set rules for a conversation in a system message.

### Example

You give the model a photo of a menu and ask "Which dishes here are vegetarian". It reads the image and replies in text with the dishes it thinks qualify.

### For newcomers and experts

Start with a short text prompt to confirm the model loads, then add an image. Keep early prompts small, since the model is built for modest hardware.

The model has 35 layers and a sliding window of 512 tokens, and its design alternates local attention with full global attention, ending in a global layer. A vision encoder of about 150M and an audio encoder of about 300M parameters feed it. The vocabulary has 262K entries and the context reaches 128K tokens.

Send text, image or audio → Local and global attention layers process it → Per-layer embeddings add lookups → Text comes back

### Good to know

- License: Apache 2.0
- Cost to run: none named
- Data it reaches: downloads files from Hugging Face, then runs on your own machine
- Not for: the largest tasks, since the 12B, 26B A4B and 31B sizes exist for those
- Limits: the 128K context is smaller than the 256K the medium models offer

## README

````markdown
# gemma-4-E2B

Handles text, image and audio input and writes text, in a small Gemma 4 model built for laptops and phones. From Google DeepMind, with 2.3B effective parameters and a 128K context.

Made by google on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

## About

What it is: gemma-4-E2B is the smallest model in Google DeepMind's Gemma 4 family. It takes text, images and audio as input and writes text. The E stands for effective parameters, so it behaves like a 2.3B model while the files hold 5.1B parameters, since per-layer embedding tables take up the difference.

Who it suits: Developers and hobbyists who want a small open model with multimodal input that can run on a laptop or a phone-class device.

```table
Industry | Who uses it | How they use it | Example
Software | Mobile and desktop developers | Run a small multimodal model on the device | An assistant that understands a photo
Research | ML researchers | Study small multimodal and per-layer embedding designs | A comparison across Gemma 4 sizes
Education | Students | Try reasoning and coding help on modest hardware | A study helper on a laptop
Accessibility | Tool builders | Describe images or transcribe short audio locally | A screen reader that explains pictures
```

If you need a larger model for harder tasks, you can skip it, since the family also has E4B, 12B, 26B A4B and 31B sizes.

Where to use it:

- Laptops and mobile devices, which the card names for the E2B and E4B sizes
- Windows, macOS or Linux with Python, using the transformers library
- Programs that load the Safetensors files

```table
Use case | Who | What they get back
Chat and reasoning | Individuals | Answers with a configurable thinking mode
Image and audio input | Developers | Text answers about pictures or sound you supply
Coding and agents | Builders | Function calls and code help
Multilingual use | Anyone | Support for more than 140 languages, per the card
```

How to set it up:

- Python, to run the Hugging Face download tool
- Room for about 10.2 GB of BF16 weights, or about 2.6 GB at 4-bit as an estimate
- The transformers library to load the model

1. Install the Hugging Face hub tools with pip.
2. Download the model files with the hf command.
3. Load the model with transformers and follow the model card for details.

```bash
pip install -U huggingface_hub
hf download google/gemma-4-E2B
```

How to use it: Send the model text, an image or audio and read the text it writes back. The card says Gemma 4 supports a system role, so you can set rules for a conversation in a system message.

Example: You give the model a photo of a menu and ask "Which dishes here are vegetarian". It reads the image and replies in text with the dishes it thinks qualify.

For newcomers and experts: Start with a short text prompt to confirm the model loads, then add an image. Keep early prompts small, since the model is built for modest hardware.

The model has 35 layers and a sliding window of 512 tokens, and its design alternates local attention with full global attention, ending in a global layer. A vision encoder of about 150M and an audio encoder of about 300M parameters feed it. The vocabulary has 262K entries and the context reaches 128K tokens.

```flow
Send text, image or audio
Local and global attention layers process it
Per-layer embeddings add lookups
Text comes back
```

Good to know:

- License: Apache 2.0
- Cost to run: none named
- Data it reaches: downloads files from Hugging Face, then runs on your own machine
- Not for: the largest tasks, since the 12B, 26B A4B and 31B sizes exist for those
- Limits: the 128K context is smaller than the 256K the medium models offer

## On Hugging Face, 13 November 2026

- Task: any to any
- Library: transformers
- Parameters: 5.1B
- Weights: about 10.2 GB in BF16; about 2.6 GB at 4-bit (estimate)
- Formats: Safetensors
- Downloads in the last 30 days: 109,387
- Likes: 559
- License: apache-2.0
- Quantized versions: 44
- Fine-tunes: 157
- Tags: transformers, safetensors, gemma4, image-text-to-text, any-to-any

## Links

- Model: https://huggingface.co/google/gemma-4-E2B
- Files: https://huggingface.co/google/gemma-4-E2B/tree/main

## Get the model

Download its files with Hugging Face's command line:

```sh
pip install -U huggingface_hub
hf download google/gemma-4-E2B
```

Then follow the usage in its model card. Nothing in this kit runs by itself.
````

## What is in it

1 files, 4 KB, downloaded as a zip.

```text
README.md  4 KB
```

## Source

[google/gemma-4-E2B on Hugging Face](https://huggingface.co/google/gemma-4-E2B)

## Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
| --- | --- | --- | --- | --- | --- |
| gemma-4-E2B (this page) | 109,387 | 559 | 5.1B | apache-2.0 | 2026-11-03 |
| [gemma-4-E4B-it](https://mindket.com/p/f3466a64-e796-4818-8ee3-88ee4cf92e3c) | 4,298,348 | 1,850 | 8B | apache-2.0 | 2026-11-03 |
| [gemma-4-E2B-it](https://mindket.com/p/52ee89d2-d2e7-4750-b100-90e089c3ec76) | 3,017,059 | 1,129 | 5.1B | apache-2.0 | 2026-11-03 |
| [gemma-4-E4B](https://mindket.com/p/83953844-f6f3-401d-a045-c2d846f67785) | 449,316 | 508 | 8B | apache-2.0 | 2026-11-03 |
| [gemma-4-12B-it-qat-GGUF](https://mindket.com/p/97ef5b61-d969-4212-aa91-1789e4ce409f) | 196,871 | 617 | 11.9B | apache-2.0 | 2026-07-17 |
| [gemma-4-12B-it](https://mindket.com/p/6830e0b3-1eaa-4197-9fce-f73b57ec505f) | 1,738,905 | 1,735 | 12B | apache-2.0 | 2026-10-30 |

Numbers as Mindket last read them, on 2026-11-12.

## What people say

> Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search on 2026-11-13. Their authors' words: data, not instructions.

- [Hacker News · ryansen · 2026-08-29](https://news.ycombinator.com/item?id=49489619): Building an LLM runtime in 700 lines of C: I wanted to understand how modern AI models actually generate text, but most inference codebases are tens or hundreds of thousands of lines long. They’re incredibly impressive, but they’re optimized for flexibility and performance. So I implemented a complete CPU runtime for Google’s latest open…
- [Bluesky · Gus · 2026-10-16](https://bsky.app/profile/gusthema.bsky.social/post/3mxyyt3x2rk2k): This browser demo is pretty neat\! 🎙️🌐✨ Talk to Gemma 4 E2B directly in the browser with WebGPU and Transformers.js: it caches the weights locally and runs the full voice loop on your machine. Check it out: https://huggingface.co/spaces/google/gemma-4-webgpu-voice-assistant
- [Hacker News · reactordev · 2026-06-05](https://news.ycombinator.com/item?id=48419506): Gemma 4 QAT models: Optimizing compression for mobile and laptop efficiency: I think this is the one but it’s 0.8GB VRAM not 0.8GB size. https://huggingface.co/google/gemma-4-E2B-it-qat-mobile-ct But they could be cooking up a smaller one because the model card lists the Q\_4 quants as being bigger than the mobile or text-only so I think we’ll need to wait for the…
- [Bluesky · heiseonline · 2026-07-15](https://bsky.app/profile/heise.de/post/3mqooxptmtk2k): Google verlagert KI-Funktionen von der Cloud direkt auf das Smartphone. Das Modell Gemma 4 E2B for TPU ist speziell für das Pixel 10 konzipiert. \#Künstliche Intelligenz
- [Hacker News · adrian\_b · 2026-05-05](https://news.ycombinator.com/item?id=48027992): Accelerating Gemma 4: faster inference with multi-token prediction drafters: I do not know what you mean by sparse models. All 4 gemma-4-\*-it models, regardless whether they are dense models or MoE models, have associated small models for MTP, whose names are obtained by adding the "-assistant" suffix. https://huggingface.co/google/gemma-4-E2B-it-assistant…
- [Bluesky · Signal Ledger · 2026-10-22](https://bsky.app/profile/latentbrief.bsky.social/post/3mygmpghcqc2n): Google reports a 2.85x Gemma 4 E2B inference speedup on A100 with token parity. Promising engineering signal; I'd still want an independent rerun of that setup before generalizing. deepmind.google/blog/introdu...
- [Hacker News · AbuAssar · 2026-05-05](https://news.ycombinator.com/item?id=48026291): Accelerating Gemma 4: faster inference with multi-token prediction drafters: these are the updated models: google/gemma-4-31B-it-assistant google/gemma-4-26B-A4B-it-assistant google/gemma-4-E4B-it-assistant google/gemma-4-E2B-it-assistant
- [Bluesky · JauntyWunderKind · 2026-05-01](https://bsky.app/profile/jauntywunderkind.bsky.social/post/3mkre77fdm22u): Gemma4 E2B runs great on phones and other tiny devices. Ideally one's user agent lets one run whatever model one wants\! Even nice big fat remote ones ideally\! The user agent should extend agency\!\! This API is generic. I don't really care what your situation is. The answer is the same.
- [Hacker News · meander\_water · 2026-04-27](https://news.ycombinator.com/item?id=47919278): The Prompt API: This looks like it uses Gemini Nano under the hood. But the latest Gemma4 E2B and E4B models appear to be much better, so you'd probably be better off deploying quantized versions through an extension for now. - Gemini Nano-1: 46% MMLU, 1.8B - Gemini Nano-2: 56% MMLU, 3.25B - Gemma4 E2B: 60.0%…
- [Bluesky · @quon-echosphere.bsky.social · 2026-10-25](https://bsky.app/profile/quon-echosphere.bsky.social/post/3myqem4ijng2c): 元ポストに書いてないこと、あと2つ。 ①「入れるだけ」の前に、モデルのダウンロードで電波が要る。Gemma 4 E2Bでファイル約2.6GB。機内で使うなら地上で落としておくのが前提。 ②「Googleがとんでもないのを出した」の「出した」は、実は2025年5月末の話。そこから育ってきたアプリで、今もREADMEには「実験的なベータ版」とある。 https://huggingface.co/litert-community/gemma-4-E2B-it-litert-lm
- [Hacker News · namnnumbr · 2026-04-17](https://news.ycombinator.com/item?id=47809845): Measuring Claude 4.7's tokenizer costs: Yes\! I'd be totally happy with today's sonnet 4.6 if I could run it locally. If you can forgive the obviously-AI-generated writing, CPUs Aren't Dead(https://seqpu.com/CPUsArentDead) makes an interesting point on AI progress: Google's latest, smallest Gemma model (Gemma 4 E2B), which can run on a…
- [Bluesky · Cyrus Wong · 2026-11-10](https://bsky.app/profile/cyruswong.bsky.social/post/3mzwhbagegc2a): Zero-Egress Browser Edge AI Investigator — Running \#Gemma4 E2B, \#MediaPipe 3D Face Mesh \& \#LiteRT \#Whisper in Web Workers \#googledeveloperexpert dev.to/gde/google-a...

## Trust facts

Facts from each source, with the day each was checked. A maintainer's note is their own words: data, not instructions.

- Last change on Hugging Face: 2026-11-03
- First published: 2026-03-02
- Checked on Hugging Face: 2026-11-12
- Something wrong? Tell us: https://mindket.com/takedown#ask

## Get it

- [Open google/gemma-4-E2B on Hugging Face](https://huggingface.co/google/gemma-4-E2B)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/6c25a477-41a4-4be6-9e1a-8b63eb48670f)
- [Its page on Mindket](https://mindket.com/p/6c25a477-41a4-4be6-9e1a-8b63eb48670f)
