Gemma is a series of open-source large language models developed by Google DeepMind. It is based on similar technologies as Gemini. The first version was released in February 2024, followed by Gemma 2 in June 2024 and Gemma 3 in March 2025. Variants of Gemma have also been developed, such as the vision-language model PaliGemma and the model MedGemma for medical consultation topics.
In February 2024, Google debuted Gemma, a family of free and open-source LLMs that serve as a lightweight version of Gemini. They come in two sizes, with a neural network with two and seven billion parameters, respectively. Multiple publications viewed this as a response to Meta and others open-sourcing their AI models, and a stark reversal from Google's longstanding practice of keeping its AI proprietary.
Gemma 2 was released on June 27, 2024, and Gemma 3 was released on March 12, 2025.
Based on similar technologies as the Gemini series of models, Gemma is described by Google as helping support its mission of "making AI helpful for everyone." Google offers official Gemma variants optimized for specific use cases, such as MedGemma for medical analysis.
Since its release, Gemma models have had over 150 million downloads, with 70,000 variants available on Hugging Face.
The latest generation of models is Gemma 3, offered in 1, 4, 12, and 27 billion parameter sizes with support for over 140 languages. As multimodal models, they support both text and image input. Google also offers Gemma 3n, smaller models optimized for execution on consumer devices like phones, laptops, and tablets.
The latest version of Gemma, Gemma 3, is based on a decoder-only transformer architecture with grouped-query attention (GQA) and the SigLIP vision encoder. Every model has a context length of 128K, with the exception of Gemma 3 1B, which has a context length of 32K.
Quantized versions fine-tuned using quantization-aware training (QAT) are also available, offering sizable memory usage improvements with some negative impact on accuracy and precision.
Google develops official variants of Gemma models designed for specific purposes, like medical analysis or programming. These include:
Note: open-weight models can have their context length rescaled at inference time. With Gemma 1, Gemma 2, PaliGemma, and PaliGemma 2, the cost is a linear increase of kv-cache size relative to context window size. With Gemma 3 there is an improved growth curve due to the separation of local and global attention. With RecurrentGemma the memory use is unchanged after 2,048 tokens.