SAVRN
Search Contact SAVRN

Open-weight model · Any to any

gemma-4-E4B

by Google google/gemma-4-E4B

Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on E2B, E4B, and 12B) and generating text output.

Parameters8B
Context131,072
Weights16.0 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads627.5k

Runs On

What it takes to serve gemma-4-E4B (8B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 16.0 GB 19.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 8.0 GB 9.6 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 4.0 GB 4.8 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By Google, published under apache-2.0, revision 411aa17b749a.

Hugging Face | GitHub | Launch Blog | Documentation | Technical Report
License: Apache 2.0 | Authors: Google DeepMind

Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on E2B, E4B, and 12B) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants. Gemma 4 features a context window of up to 256K tokens and maintains multilingual support in over 140 languages.

Featuring both Dense and Mixture-of-Experts (MoE) architectures, Gemma 4 is well-suited for tasks like text generation, coding, and reasoning. The models are available in five distinct sizes: E2B, E4B, 12B, 26B A4B, and 31B. Their diverse sizes make them deployable in environments ranging from high-end phones to laptops and servers, democratizing access to state-of-the-art AI.

Gemma 4 introduces key capability and architectural advancements:

Read the full model card (3,421 words)

Configuration

Architecture
Gemma4ForConditionalGeneration
Context length (tokens)
131,072
Layers
42
Hidden size
2,560
Feed-forward size
10,240
Attention heads
8
Key/value heads
2
Head dimension
256
Vocabulary size
262,144
Sliding window (tokens)
512
Model type
gemma4

Identity and Version

Repository
google/gemma-4-E4B
Publisher
Google
Task
Any to any
Modality
Multimodal
Library
transformers
Parameters
8B parameters
Languages
Not stated by the source
Revision
411aa17b749aa952df1359d2dcea73917a544d9a
First published
2026-03-02
Last updated
2026-07-15

Files and Weights

8 files, 16.0 GB in total. The weights are 1 file totalling 16.0 GB in safetensors.

Weights1 file · 16.0 GB
Configuration3 files · 7.0 KB
Tokenizer2 files · 32.2 MB
Documentation1 file · 27.8 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights16.0 GB 43fb96cec304
config.jsonConfiguration5.1 KB
generation_config.jsonConfiguration181 B
processor_config.jsonConfiguration1.7 KB
README.mdDocumentation27.8 KB
.gitattributesRepository1.6 KB
tokenizer.jsonTokenizer32.2 MB 12bac982b793
tokenizer_config.jsonTokenizer881 B

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
16.0 GB
Download from Google

Released by Google through Kaggle. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published16.0 GB
16-bit16.0 GB
8-bit8.0 GB
4-bit4.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Built on This Model

Compare gemma-4-E4B

Questions About gemma-4-E4B

How much GPU memory does gemma-4-E4B need?

About 19.2 GB at 16-bit and 4.8 GB at 4-bit: the weights (8B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run gemma-4-E4B on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use gemma-4-E4B commercially?

Yes. gemma-4-E4B is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is gemma-4-E4B's context length?

131,072 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Any to any

gemma-4-E4B-it

Google

Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input (with audio supported on E2B, E4B, and 12B) and generating text output. This release includes open-weights models in both pre-trained and instruction-tuned variants. Gemma 4 features a context window of up to 256K tokens and maintains multilingual support in over 140 languages. Featuring both Dense and Mixture-of-Experts (MoE) architectures, Gemma 4 is well-suited for tasks like text generation, coding, and reasoning. The models are available in five distinct sizes: E2B, E4B, 12B, 26B A4B, and 31B. Their diverse sizes make them deployable in environments ranging from…

Open weights apache-2.0 8B parameters 131,072 tokens transformers

LM Studio Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on Discord. 4-bit quantized version of gemma-4-E4B-it using MLX, optimized for Apple Silicon. Special thanks to the Apple Machine Learning Research team for creating MLX. LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful…

Open weights apache-2.0 8B parameters 131,072 tokens transformers

LM Studio Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on Discord. 8-bit quantized version of gemma-4-E4B-it using MLX, optimized for Apple Silicon. Special thanks to the Apple Machine Learning Research team for creating MLX. LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful…

Open weights apache-2.0 8B parameters 131,072 tokens transformers

LM Studio Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on Discord. 5-bit quantized version of gemma-4-E4B-it using MLX, optimized for Apple Silicon. Special thanks to the Apple Machine Learning Research team for creating MLX. LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful…

Open weights apache-2.0 8B parameters 131,072 tokens transformers

LM Studio Community models highlights program. Highlighting new & noteworthy models by the community. Join the conversation on Discord. 6-bit quantized version of gemma-4-E4B-it using MLX, optimized for Apple Silicon. Special thanks to the Apple Machine Learning Research team for creating MLX. LM Studio is not the creator, originator, or owner of any Model featured in the Community Model Program. Each Community Model is created and provided by third parties. LM Studio does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Community Model. You understand that Community Models can produce content that might be offensive, harmful…

Open weights apache-2.0 8B parameters 131,072 tokens transformers

Creating these models takes significant time, work and compute. If you find them useful consider supporting me: Your help will motivate me and would go into further improving my workflow and coverings fees for storage, compute and may even help uncensoring bigger model with rental Cloud GPUs. attn.oproj Lower refusals indicate fewer content restrictions, while lower KL divergence indicates more closeness to the original model's baseline. Higher refusals cause more rejections, objections, pushbacks, lecturing, censorship, softening and deflections. PIQA (Physical Intuition Question Answering) a ~1,800 questions tests common-sense understanding of how the physical world works with benchmark…

Open weights apache-2.0 8B parameters 131,072 tokens transformers