# Gemma 3

> Google's open multimodal model — 1B/4B/12B/27B sizes, 128K context, 140+ languages, runs on a single GPU.

- Maker: Google
- Line: Gemma (open weights)
- Canonical page: https://ai-tldr.dev/models/gemma-3/
- Updated: 2026-06-18

## In short

Gemma 3 is Google's family of open-weight models, released March 12, 2025 and built from the same research and technology behind Gemini 2.0. It has a 128K-token context window and costs $0.08 per million input tokens and $0.16 per million output tokens. You can use it through Google AI Studio / Gemini API, OpenRouter and Hugging Face.

## Facts

| Fact | Value | Source |
| --- | --- | --- |
| Context window | 128K (max output 8K) | [1] |
| Input price | $0.08 per million tokens | [2] |
| Output price | $0.16 per million tokens | [2] |
| Licence | Gemma Terms of Use · open weights | [1] |
| Released | 12 March 2025 | [3] |
| Parameters | 1B · 4B · 12B · 27B (270M added Aug 2025) | [1] |
| Knowledge cutoff | August 2024 | [1] |

## Sources

1. [Gemma 3 model card (Google AI for Developers)](https://ai.google.dev/gemma/docs/core/model_card_3)
2. [Gemma 3 27B — API pricing (OpenRouter)](https://openrouter.ai/google/gemma-3-27b-it)
3. [Gemma 3 — Google blog announcement](https://blog.google/innovation-and-ai/technology/developers-tools/gemma-3/)

## Overview

Gemma 3 is Google's family of open-weight models, released March 12, 2025 and built from the same research and technology behind Gemini 2.0. It ships in four sizes — 1B, 4B, 12B and 27B parameters — so you can pick the one that fits your hardware, from a phone-scale 1B up to a 27B model that runs on a single NVIDIA H100. A compact 270M size was added in August 2025.

Unlike Gemma 2, Gemma 3 is multimodal: the 4B, 12B and 27B variants accept both image and text input (via a 400M-parameter SigLIP vision encoder) and generate text, while the 1B variant is text-only. The context window grew to 128K tokens for the 4B and larger sizes (32K for 1B), and the models support over 140 languages. Architecturally, Gemma 3 interleaves local sliding-window attention with global attention at a 5:1 ratio to keep long-context memory use manageable.

Despite its size, the instruction-tuned 27B model is competitive with much larger systems: it scored 67.5% on MMLU-Pro and 89.0% on MATH, and reached an LMArena Elo around 1338 — ahead of several open models many times its parameter count. Weights are downloadable from Hugging Face, Kaggle and Ollama under Google's custom Gemma Terms of Use (which permits commercial use with attribution), and the models are also served by API providers such as OpenRouter and Google AI Studio.

## Benchmarks

- MMLU-Pro (27B IT): 67.5% ([source](https://arxiv.org/html/2503.19786v1))
- GSM8K (27B IT): 95.9% ([source](https://ai.google.dev/gemma/docs/core/model_card_3))
- MATH (27B IT): 89% ([source](https://arxiv.org/html/2503.19786v1))
- HumanEval (27B IT): 87.8% ([source](https://arxiv.org/html/2503.19786v1))
- GPQA Diamond (27B IT): 42.4% ([source](https://arxiv.org/html/2503.19786v1))
- LiveCodeBench (27B IT): 29.7% ([source](https://arxiv.org/html/2503.19786v1))
- MMMU val (27B IT, vision): 64.9% ([source](https://arxiv.org/html/2503.19786v1))
- Global-MMLU-Lite (27B IT): 75.1% ([source](https://arxiv.org/html/2503.19786v1))

## Pricing

- Input: $0.08 per million tokens
- Output: $0.16 per million tokens

Weights are free to download; this is a representative served price for the 27B (OpenRouter). Self-hosting cost depends on your own hardware.

Source: https://openrouter.ai/google/gemma-3-27b-it

## Strengths

- Strong capability-per-parameter — the 27B runs on a single H100 yet rivals far larger models
- Multimodal: 4B/12B/27B accept image + text input via a SigLIP vision encoder
- Large 128K-token context (32K for the 1B size) for long documents
- Broad multilingual coverage — over 140 languages
- Open weights downloadable from Hugging Face, Kaggle and Ollama for local and commercial use
- Four sizes (1B–27B) spanning on-device to single-GPU deployment, plus a 270M size added Aug 2025

## Best for

- Self-hosted chat and assistants where data must stay local
- On-device and edge inference with the 1B/4B sizes
- Multimodal tasks: image understanding, document/chart Q&A (4B+)
- Multilingual applications across 140+ languages
- Long-context summarization and retrieval over large inputs
- Fine-tuning a small open base for a domain-specific task

## How to access

- [Google AI Studio / Gemini API](https://ai.google.dev/gemma/docs) — model id `gemma-3-27b-it`
- [OpenRouter](https://openrouter.ai/google/gemma-3-27b-it) — model id `google/gemma-3-27b-it`
- [Hugging Face](https://huggingface.co/google/gemma-3-27b-it) — model id `google/gemma-3-27b-it`
- [Ollama](https://ollama.com/library/gemma3) — model id `gemma3:27b`

## Gemma (open weights) versions

- [Gemma 4](https://ai-tldr.dev/models/gemma-4/) (2 April 2026)
- [Gemma 3n](https://ai-tldr.dev/models/gemma-3n/) (26 June 2025)
- Gemma 3 (12 March 2025) — this page
- [Gemma 2](https://ai-tldr.dev/models/gemma-2/) (27 June 2024)
- [Gemma 1](https://ai-tldr.dev/models/gemma-1/) (21 February 2024)

## FAQ

### What sizes does Gemma 3 come in?

Gemma 3 launched in 1B, 4B, 12B and 27B parameter sizes; a compact 270M size was added in August 2025. The 27B is the flagship and runs on a single NVIDIA H100 GPU.

### Is Gemma 3 multimodal?

Yes for the 4B, 12B and 27B sizes, which accept both image and text input via a 400M SigLIP vision encoder and output text. The 1B size is text-only.

### What is Gemma 3's context window and knowledge cutoff?

The 4B, 12B and 27B models have a 128K-token context window (the 1B is 32K). Training data has a knowledge cutoff of August 2024.

### Is Gemma 3 free and open source?

The weights are free to download from Hugging Face, Kaggle and Ollama, but the license is Google's custom Gemma Terms of Use rather than a standard open-source license. It permits commercial use with attribution and some restrictions, so it is best described as open-weight.

## Links

- [Gemma 3 — Google blog announcement](https://blog.google/innovation-and-ai/technology/developers-tools/gemma-3/)
- [Gemma 3 — Google DeepMind](https://deepmind.google/models/gemma/gemma-3/)
- [Gemma 3 model card (Google AI for Developers)](https://ai.google.dev/gemma/docs/core/model_card_3)
- [Gemma 3 Technical Report (arXiv)](https://arxiv.org/html/2503.19786v1)
- [Gemma 3 27B IT on Hugging Face](https://huggingface.co/google/gemma-3-27b-it)
- [Gemma 3 27B — API pricing (OpenRouter)](https://openrouter.ai/google/gemma-3-27b-it)

Source: AI/TLDR LLM registry, https://ai-tldr.dev/models/gemma-3/
