← Back to models

Gemma 3

Google DeepMind March 12, 2025

Parameters

1B / 4B / 12B / 27B (dense language-model sizes; 4B, 12B and 27B additionally use a shared 417M-parameter SigLIP vision encoder)

Context Window

32K tokens (1B); 128K tokens (4B, 12B and 27B)

License

Gemma Terms of Use (custom open-weight terms with use restrictions and redistribution obligations; not a permissive Apache/MIT license)

Key Features

Launch family of four sizes, each with pre-trained (PT) and instruction-tuned (IT) checkpoints. The 1B model is text-only; 4B, 12B and 27B accept interleaved text and images and generate text. Dense decoder-only Transformers use grouped-query attention, RMSNorm and QK normalization, with five local sliding-window attention layers per global layer and a 1,024-token local window to reduce long-context KV-cache memory. The larger models share a frozen SigLIP vision encoder operating at 896 x 896 resolution and compressing each image or crop into 256 soft tokens; inference-time Pan & Scan improves high-resolution and non-square image understanding. Knowledge-distillation pre-training uses 2T / 4T / 12T / 14T tokens for 1B / 4B / 12B / 27B, with multilingual data covering over 140 languages. Instruction tuning combines distillation, reinforcement learning from human, machine and execution feedback, and model merging to improve math, coding, chat and instruction following; Google also highlights structured outputs and function calling. Supports question answering, summarization, visual data extraction and multilingual tasks. The report describes 4B-IT as competitive with Gemma 2 27B-IT and 27B-IT as comparable to Gemini 1.5 Pro across benchmarks, and reports a preliminary text-only Chatbot Arena Elo of 1338 for 27B-IT. Limitations include incorrect or outdated factual statements, training-data biases, difficulty with highly complex or ambiguous tasks, and safety evaluations limited to English prompts; the report observes rapid degradation when context is extended beyond 128K. ShieldGemma 2 is a separate image-safety classifier, not an included Gemma 3 checkpoint.

Paper / Source

https://arxiv.org/abs/2503.19786

Official Links