Gemma4-E4B

Google

Parameters

4.5B

Architecture

Dense

Released

02.03.2026

License

Apache License 2.0

Open Weights Commercial Use Multimodal BF16 Gemma4 en multilingual

Input Modalities

text image audio

Output Modalities

text

Context (native)

131,072 tokens

Context (extended)

131,072 tokens

Openness Index Score 100.0/100

About

Gemma4-E4B (google/gemma-4-E4B-it) is the instruction-tuned E4B model of Google DeepMind's Gemma 4 family - an edge-optimized multimodal model handling text, image and audio input and generating text, with multilingual support in over 140 languages. The "E" stands for "effective": Per-Layer Embeddings (PLE) give each decoder layer its own small embedding table, so the E4B has 4.5B effective parameters (8B with embeddings) while keeping inference fast enough for on-device deployment.

Its 42-layer hybrid attention stack interleaves local Sliding-Window Attention (SWA) (35 layers, window 512) with 7 full-attention layers (final layer global), with cross-layer KV cache sharing on 18 layers to cut long-context memory further, 8 Q / 2 KV heads (head dim 256), FFN 10240, 262K vocabulary, soft logit capping at 30.0 and a 131,072-token (128K) context window. Multimodality comes from dedicated encoders: a ~150M vision encoder (16-layer ViT, patch 16, 280 soft tokens per image, variable aspect ratio and resolution) and a ~300M audio encoder (12-layer chunked-attention network, 5-sample conv kernel, 1536-dim projections) - unlike the encoder-free 12B Unified sibling.

Gemma 4 capabilities include configurable thinking modes, native function calling for agentic workflows, native system role support, video understanding via frame sequences, interleaved multimodal input and enhanced coding. Pre-training spans web documents, code, mathematics, images and audio (cutoff January 2025, 140+ languages) with CSAM and sensitive-data filtering; this checkpoint is the instruction-tuned variant. Released March 2, 2026 under Apache 2.0.

Training Data Large-scale diverse collection: web documents, code, images, audio. 140+ languages. Cutoff: January 2025.

Benchmark Scores

Benchmark Score Date Standing
MMMU-Pro
vision_language
45.41%
02.07.2026
#30/35
better than 15%
MMLU-Pro
knowledge
30.32%
02.07.2026
#38/48
better than 21%
AIME 26
stem_reasoning
27.68%
02.07.2026
#42/45
better than 7%
LiveCodeBench v6
stem_reasoning
43.38%
02.07.2026
#42/49
better than 15%
CodeForces
stem_reasoning
24.70%
02.07.2026
#16/18
better than 12%
GPQA Diamond
stem_reasoning
32.50%
02.07.2026
#70/80
better than 13%
TAU2-Bench
general_agent
32.22%
02.07.2026
#16/21
better than 25%
BigBench Extra Hard
stem_reasoning
25.05%
02.07.2026
#4/6
better than 40%
MMMLU
multilingual
40.17%
02.07.2026
#16/20
better than 21%
OmniDocBench 1.5
document_understanding
0.02%
02.07.2026
#25/26
better than 4%

Architecture

Decoder Block ×42 input Embedding vocab 262K · d 2560 Sliding Window Attn Hybrid 8:2 · dₕ 256 · win 512 ×35 Full Attention Hybrid 8:2 · dₕ 256 · win 512 ×7 Dense FFN SwiGLU · d 10K Final RMSNorm LM Head tied with embedding output
Attention
Hybrid Attention (8:2)
Layers
42
Hidden size
2560
Context
131K tokens
Parameters
4500M

Source: Hugging Face config.json · Gemma4ForConditionalGeneration · exact layer pattern · model repo

Type: Dense hybrid-attention edge model (Gemma 4 E4B, PLE): 35 SWA + 7 full-attn layers
Attention: Interleaved local SWA (window 512; 8 Q / 2 KV heads) with 7 full-attention layers; cross-layer KV sharing on 18 layers; head dim 256; soft logit capping 30.0
Decoder: Dense decoder-only hybrid (SWA + full attention) with Per-Layer Embeddings

Training Pipeline

  1. 1
    pretraining

    Multimodal pre-training incl. audio (cutoff January 2025)

    Web documents, code, mathematics, images and audio in 140+ languages; CSAM and sensitive-data filtering.

  2. 2
    sft

    Instruction tuning

    This checkpoint is the instruction-tuned (-it) variant of Gemma 4 E4B.

Training & Evaluation Datasets

NameRoleSizeModalitiesCollection
Web documents (140+ languages) pretraining — —
Code pretraining — —
Mathematics pretraining — —
Images pretraining — —
Audio pretraining — —

Comments (0)

No comments yet

Be the first to share your thoughts!

What now?

You have read the full card for Gemma4-E4B — here is where to go next.