Gemma (language model)

Gemma is a series of source-available 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, Gemma 3 in March 2025, and the free and open-source Gemma 4 in April 2026. Variants of Gemma have also been developed, such as the vision-language model PaliGemma and the model MedGemma for medical consultation topics.


title: "Gemma (language model)" type: article version: 1 created: 2026-04-08 status: published scope: public tags: ["articles-with-short-description", "short-description-is-different-from-wikidata", "2024-software", "2024-in-artificial-intelligence", "chatbots"] sources:

  • url: https://en.wikipedia.org/wiki/Gemma_(language_model) license: CC BY-SA 4.0

Gemma (language model)

::summary Gemma is a series of source-available 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, Gemma 3 in March 2025, and the free and open-source Gemma 4 in April 2026. Variants of Gemma have also been developed, such as the vision-language model PaliGemma and the model MedGemma for medical consultation topics. ::

Gemma is a series of source-available 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, Gemma 3 in March 2025, and the free and open-source Gemma 4 in April 2026. 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 source-available 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 competitors such as Meta releasing source code for their AI models, and a shift from Google's longstanding practice of keeping its AI source code private.

Gemma 2 was released on June 27, 2024, and Gemma 3 was released on March 12, 2025. On April 2, 2026, Google released Gemma 4 under the free and open-source Apache 2.0 license.

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.

Gemma 3 was 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 generation of models is Gemma 4, released on 2 April 2026. It is available in four sizes: Effective 2B (E2B), Effective 4B (E4B), 26B Mixture of Experts (MoE), and 31B Dense. Gemma 4 supports multimodal input, including images and video across all models, with native audio input on the E2B and E4B models. Gemma 4's 31B Dense variant reached third place on Arena's text leaderboard, and the 26B variant reached sixth place.

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 31B, 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:

  • ShieldGemma 2 (4B): Based on the Gemma 3 family, ShieldGemma is designed to identify and filter violent, dangerous, and sexually explicit images.
  • MedGemma (4B and 27B): Also based on Gemma 3, MedGemma is designed for medical applications like image analysis. However, Google also notes that MedGemma "isn't yet clinical grade." Developers at Tap Health in Gurgaon, India, have used MedGemma to enhance AI-assisted diabetes management applications.
  • DolphinGemma (roughly 400M): Developed in collaboration with researchers at Georgia Tech and the Wild Dolphin Project, DolphinGemma aims to better understand dolphin communication through audio analysis. However, no model or data have been publicly released.
  • CodeGemma (2B and 7B): CodeGemma is a group of models designed for code completion as well as general coding use. It supports multiple programming languages, including Python, Java, C++, and more.
GenerationRelease dateParametersContext lengthMultimodalNotes
Gemma 121 February 20242B, 7B8,192No2B distilled from 7B. 2B uses multi-query attention while 7B uses multi-head attention.
CodeGemma2B, 7B8,192NoGemma 1 finetuned for code generation.
RecurrentGemma11 April 20242B, 9BUnlimited (trained on 8,192)NoGriffin-based, instead of Transformer-based.
Gemma 227 June 20242B, 9B, 27B8,192No27B trained from web documents, code, science articles. Gemma 2 9B was distilled from 27B. Gemma 2 2B was distilled from a 7B model that remained unreleased. Uses Grouped-Query Attention.
PaliGemma10 July 20243B8,192ImageA vision-language model that takes text and image inputs, and outputs text. It is made by connecting a SigLIP-So400m image encoder with Gemma v1.0 2B.
PaliGemma 24 December 20243B, 10B, 28B8,192ImageMade by mating SigLIP-So400m with Gemma v2.0 2B, 9B, and 27B. Capable of more vision-language tasks.
Gemma 312 March 20251B, 4B, 12B, 27B131,072ImageAll models trained with distillation. Post-training focuses on math, coding, chat, instruction following, and multilingual (supports 140 languages). Capable of function calling. 1B is not capable of vision.
Gemma 42 April 202631B, 26B A4B, 4B, ~2B128K (edge)256K (larger)Yes (vision, audio)Apache License 2.0. The 31B and 26B A4b models are not capable of audio.

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.

::callout[info] This article is sourced from Wikipedia and is licensed under CC BY-SA 4.0. Source: https://en.wikipedia.org/wiki/Gemma_(language_model) ::

articles-with-short-descriptionshort-description-is-different-from-wikidata2024-software2024-in-artificial-intelligencechatbots