Overview
Gemma 3 is Google DeepMind’s third generation of open-weight models built from the same research as Gemini. Released in March 2025 in 1B, 4B, 12B and 27B sizes, it added image understanding to the larger models and extended the context window, while staying small enough to run on a single GPU or on devices.
Highlights
- Four sizes: 1B, 4B, 12B and 27B parameters
- Image input on the 4B, 12B and 27B models
- 128K-token context window on larger sizes
- Support for over 140 languages
- Quantized versions for efficient local use
Typical uses
Local assistants, on-device applications, fine-tuning for specialized tasks and multilingual products.
Things to consider
- Gemma uses its own terms of use with a prohibited-use policy, not an OSI open-source license.
- The 1B model is text-only with a shorter context.
- Newer Gemma versions may be available.
What is technically different
According to the Gemma 3 technical report, the models interleave local sliding-window attention layers with occasional global attention layers. This keeps the memory used by the key-value cache lower at long context lengths than a design where every layer attends to the full context, which is what makes a 128K-token window practical on modest hardware. Image understanding in the 4B, 12B and 27B models uses a separate vision encoder, so images are converted into tokens that the language model reads alongside text.
Choosing a size
The Ollama library lists default 4-bit builds from about 292MB for the 270M text-only variant to 17GB for 27B, with 806MB for 1B, 3.4GB for 4B and 8.2GB for 12B. A rough rule is to pick the largest size that fits comfortably in your memory with room for the context. The 4B model suits phones, small laptops and quick classification or extraction tasks; the 12B and 27B models are better for multilingual writing and image questions. Our guide to the Ollama runtime shows how to pull and run any of these tags.
Licensing in practice
Gemma is released under Google’s Gemma Terms of Use, which allow commercial use but include a prohibited-use policy and conditions that pass to downstream users. Legal teams should read the terms before shipping a product, since it is not a standard open-source licence such as Apache 2.0. Fine-tuned derivatives are common, and the model card on Hugging Face and the technical report on arXiv are the best places to confirm sizes and capabilities.
Specifications are taken from the provider’s official announcement, documentation or model card. Benchmark results depend on evaluation settings; see how AI benchmarks work.