Google · First MLX build 2 Apr 2026 · In Core AI since 23 Oct 2026

gemma-4-E2B-it

MLXCore AI TextVision apache-2.0 Trending

A 5.1B parameter vision and text model from Google, with 10 MLX builds, from 4-bit to bf16 and Apple Core AI export recipes for iOS.

Show details for
Hugging Face Apple recipe
Parameters
5.1B
From Hugging Face
Quantisation
4-bit
gemma-4-e2b-it-4bit
Memory needed
6 GB
Estimate, unified memory
Download
3.6 GB
Weights, estimated
Downloads
25K
This build, last 30 days
Task
Vision and text
Text, Vision
MLX builds
10
On mlx-community
Devices
Mac
Apple silicon

Memory

Estimated from the size of the weights, plus a fifth for context and working memory and 2 GB for macOS and your apps. Long contexts need more.

Run it

Terminal · mlx-vlm
$ pip install -U mlx-vlm
$ python -m mlx_vlm.generate --model mlx-community/gemma-4-e2b-it-4bit --image photo.jpg --prompt "Describe this image"

MLX builds

10 on mlx-community
Click a column to sort. Smallest size and most downloads are highlighted.
gemma-4-e2b-it-OptiQ-4bit 4-bit 2.6 GB 5 GB 506
Gemma4-E2B-IT-Text-int4 Unstated 2.6 GB 5 GB 481
gemma-4-e2b-it-4bit 4-bit 3.6 GB 6 GB 25K
gemma-4-e2b-it-mxfp4 MXFP4 3.6 GB 6 GB 200
gemma-4-e2b-it-nvfp4 4-bit 3.6 GB 6 GB 131
gemma-4-e2b-it-5bit 5-bit 4.1 GB 7 GB 150
gemma-4-e2b-it-6bit 6-bit 4.7 GB 8 GB 285
gemma-4-e2b-it-8bit 8-bit 5.9 GB 9 GB 640
gemma-4-e2b-it-mxfp8 MXFP8 5.9 GB 9 GB 133
gemma-4-e2b-it-bf16 bf16 10.2 GB 14 GB 1.5K

Sizes are estimated from Hugging Face’s parameter counts and the quantisation. Downloads are for the last 30 days.