Google · First MLX build 2 Apr 2026

gemma-4-e2b

MLX TextVisionAudio apache-2.0

A 5.1B parameter any to any model from Google, with 8 MLX builds, from 4-bit to bf16.

Hugging Face
Parameters
5.1B
From Hugging Face
Quantisation
4-bit
gemma-4-e2b-4bit
Memory needed
7 GB
Estimate, unified memory
Download
3.6 GB
Weights, estimated
Downloads
430
This build, last 30 days
Task
Any to any
Text, Vision, Audio
MLX builds
8
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 · Hugging Face CLI
$ pip install -U huggingface_hub
$ hf download mlx-community/gemma-4-e2b-4bit

MLX builds

8 on mlx-community
Click a column to sort. Smallest size and most downloads are highlighted.
gemma-4-e2b-4bit 4-bit 3.6 GB 7 GB 430
gemma-4-e2b-nvfp4 4-bit 3.6 GB 7 GB 33
gemma-4-e2b-mxfp4 MXFP4 3.6 GB 7 GB 32
gemma-4-e2b-5bit 5-bit 4.2 GB 7 GB 41
gemma-4-e2b-6bit 6-bit 4.7 GB 8 GB 38
gemma-4-e2b-8bit 8-bit 5.9 GB 9 GB 128
gemma-4-e2b-mxfp8 MXFP8 5.9 GB 9 GB 39
gemma-4-e2b-bf16 bf16 10.2 GB 14 GB 38

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