Parameters
4B
Context Length
131K
Modality
Text
Architecture
Dense
KV Cache Rate
84 KB/tok
License
Apache 2.0
Release Date
2 Mar 2026
Knowledge Cutoff
-
API Pricing (per 1M)
Self-hosted only
Precision
Context
Workload Memory: 5.02 GB
INT4 · 8K context
Base Weights: 1.86 GB
KV Cache: 0.66 GB
Runtime & Graphs: 2.50 GB
1x NVIDIA L4 24GB
5.0 / 21.6 GB usable
1x RTX 3060 12GB
5.0 / 10.8 GB usable
Apple M4 24GB
5.0 / 18.0 GB usable
Determine requirements for your specific workload:
Open in VRAM Calculator
Checkpoint format
FP16
CUDA
>= 11.8
PyTorch
>= 2.1
Transformers
>= 5.5.0.dev0
| Architecture | Precision | Attention kernel |
|---|---|---|
Blackwell, Hopper | Native FP16 | FlashAttention-3 |
Ada Lovelace, Ampere | Native FP16 | FlashAttention-2 |
No evaluation benchmarks for Gemma 4 E4B IT available.
Overall Rank
-
Coding Rank
-
Gemma 4 E4B IT is Google's instruction-tuned multimodal model with an efficient edge-optimized 4B parameter footprint. It supports complex reasoning, code understanding, and vision-language comprehension.
Attention
Attention Structure
Grouped-Query Attention
Attention Heads
8
Key-Value Heads
2
Attention Head Dimension
256
Position Embedding
ROPE
RoPE Theta
1,000,000
Sliding Window Attention
Yes
Sliding Window Size
512
Sliding Window Ratio
83.3%
Normalization
RMS Normalization
Activation Function
Gated GELU
Dimensions
Base Precision
FP16
Hidden Dimension Size
2,560
Number of Layers
42
FFN Intermediate Size (Dense)
10,240
Tokenizer
Vocabulary Size
262,144
Gemma 4 is Google DeepMind's most advanced open model family, built from Gemini 3 research and technology. Featuring both Dense and Mixture-of-Experts (MoE) architectures, these multimodal models handle text, images, and audio (on smaller variants), with context windows up to 256K tokens. Designed for frontier-level performance across reasoning, coding, and agentic workflows, Gemma 4 delivers unprecedented intelligence-per-parameter from mobile devices to enterprise servers. Released under Apache 2.0 license.