Gemma 3
The previous generation of Google's open models. Gemma 4 has replaced it for most uses, but Gemma 3 is still available, still runs well, and still has one model Gemma 4 does not: the tiny 270M.
From Google's Gemma 3 model card and release history ·
Where Gemma 3 stands now
Superseded, not withdrawn
Gemma 4 arrived on March 31, 2026. Gemma 3's weights are still published and current runtimes still run them.
Well behind on quality
On Google's own tests the gap is large: 20.8 against 89.2 on AIME 2026 maths, and 29.1 against 80.0 on LiveCodeBench v6 coding.
Still the smallest Gemma
The 270M has no Gemma 4 equivalent. For tiny, single-purpose models it remains the one to use.
Building something new? Start with Gemma 4 - see the models page and the model comparison.
The five Gemma 3 sizes
Text in every size; images from the 4B up. Output is text.
| Model | Context | Inputs | Released | Ollama tag | Download | Best for |
|---|---|---|---|---|---|---|
| Gemma 3 270M | 32K | Text | Aug 14, 2025 | gemma3:270m | 292 MB | Fine-tuning for one small task |
| Gemma 3 1B | 32K | Text | Mar 10, 2025 | gemma3:1b | 815 MB | On-device text |
| Gemma 3 4B | 128K | Text, image | Mar 10, 2025 | gemma3:4b | 3.3 GB | Laptops and small GPUs |
| Gemma 3 12B | 128K | Text, image | Mar 10, 2025 | gemma3:12b | 8.1 GB | A single consumer GPU |
| Gemma 3 27B | 128K | Text, image | Mar 10, 2025 | gemma3:27b | 17 GB | The flagship |
Context from Google's Gemma 3 model card; dates from the release history; tags, inputs and download sizes from Ollama's gemma3 page. Images are resized to 896 × 896 and cost 256 tokens each.
The model card lists support for more than 140 languages. Ollama also carries -it-qat builds of every size.
Gemma 3 270M: the smallest Gemma
Gemma 4's smallest model, E2B, has 2.3B effective parameters. The 270M is roughly an eighth of that. It is not a general chatbot; it is a base for fine-tuning one narrow job and running it almost anywhere.
170M in the embeddings, 100M in the transformer blocks.
Large for its size, which helps with rare words when fine-tuning.
For 25 conversations on a Pixel 9 Pro chip at 4-bit, in Google's test.
Text only.
What Google built it for
Sentiment analysis, entity extraction, query routing, turning unstructured text into structured data, compliance checks and content moderation.
What it is not for
Google says it is "not designed for complex conversational use cases". For open-ended chat, use Gemma 4 E2B or larger.
From Google's Gemma 3 270M announcement. Phone-sized Gemma 4 models are on the mobile downloads and Android pages.
Gemma 3's own scores
From Google's Gemma 3 model card. These are older tests than the ones used for Gemma 4, so the two tables on this page are not directly comparable.
| Test | 1B | 4B | 12B | 27B |
|---|---|---|---|---|
| MMLU · knowledge | 14.7 | 43.6 | 60.6 | 67.5 |
| BIG-Bench Hard · reasoning | 39.1 | 72.2 | 85.7 | 87.6 |
| GSM8K · maths word problems | 62.8 | 89.2 | 94.4 | 95.9 |
| HumanEval · coding | 41.5 | 71.3 | 85.4 | 87.8 |
| MBPP · coding | 35.2 | 63.2 | 73.0 | 74.4 |
| IFEval · following instructions | 80.2 | 90.2 | 88.9 | 90.4 |
| DocVQA · documents | - | 75.8 | 87.1 | 86.6 |
| ChartQA · charts | - | 68.8 | 75.7 | 78.0 |
| MMMU · vision | - | 48.8 | 59.6 | 64.9 |
Instruction-tuned models, from Google's Gemma 3 model card. The 1B has no image input, so it has no vision scores.
Gemma 3 vs Gemma 4
Google re-tested Gemma 3 27B on the newer benchmarks used for Gemma 4. The mid-size Gemma 4 12B beats it on every row, with less than half the parameters.
AIME 2026
LiveCodeBench v6
| Test | Gemma 3 27B | Gemma 4 12B | Gemma 4 31B |
|---|---|---|---|
| MMLU Pro · knowledge | 67.6 | 77.2 | 85.2 |
| AIME 2026 · maths | 20.8 | 77.5 | 89.2 |
| GPQA Diamond · science | 42.4 | 78.8 | 84.3 |
| LiveCodeBench v6 · coding | 29.1 | 72.0 | 80.0 |
| Codeforces Elo | 110 | 1659 | 2150 |
| Tau2 · agent tasks | 16.2 | 69.0 | 76.9 |
| IFEval · following instructions | 90.4 | 97.2 | 98.9 |
| MMMU Pro · vision | 49.7 | 69.1 | 76.9 |
| InfographicVQA | 70.6 | 88.4 | 92.0 |
| RULER at 128K · long context | 66.0 | 91.2 | 96.4 |
| LOFT retrieval at 128K | 8.6 | 66.4 | 79.5 |
| Gemma 3 | Gemma 4 | |
|---|---|---|
| Released | March 10, 2025 | March 31, 2026 |
| Sizes | 270M, 1B, 4B, 12B, 27B | E2B, E4B, 12B, 26B A4B, 31B |
| Licence | Gemma Terms of Use | Apache 2.0 |
| Largest context | 128K | 256K |
| Inputs | Text, image | Text, image, video, audio on three sizes |
| Image detail | Fixed, 256 tokens | Adjustable, 70 to 1,120 tokens |
| Thinking mode | No | Yes |
| Function calling | Through prompting | Built in |
| Training data to | August 2024 | January 2025 |
| Smallest model | 270M | E2B, 2.3B effective |
Scores from Google's Gemma 4 model card and technical report; Gemma 3 has no thinking mode, so its figures are without it. On the public Arena text leaderboard on October 2, 2026, Gemma 3 27B scored 1365 and Gemma 4 31B 1453. Gemma 3 is notably weak at long range: its RULER score falls from 91.1 at 32K to 66.0 at 128K. All tests are on the benchmarks page; what Gemma 4 adds is on features and capabilities.
The licence is different
This is the difference people overlook. Gemma 4 moved to Apache 2.0; Gemma 3 did not move with it.
Gemma 3 - Gemma Terms of Use
- A Prohibited Use Policy applies to what you build.
- If you redistribute, you must pass the use restrictions on and include a notice that Gemma is provided under the Gemma Terms of Use.
- Google reserves the right to restrict usage it reasonably believes breaks the agreement.
- Google may update the terms.
Gemma 4 - Apache 2.0
- Commercial use, modification and redistribution allowed.
- Keep the licence and copyright notices when you redistribute.
- A standard, widely understood open-source licence.
- Applies to Gemma 4 and models built on it, such as EmbeddingGemma 2.
Summarised from Google's Gemma Terms of Use, whose appendix lists Gemma 1, 1.1, 2, 3 and 3n along with variants such as PaliGemma, ShieldGemma, CodeGemma, EmbeddingGemma, FunctionGemma, T5Gemma, VaultGemma and TranslateGemma. This is a summary, not legal advice - read the terms before you ship. On Hugging Face, Gemma 3 repositories are gated: you accept the terms before downloading.
Should you migrate to Gemma 4?
Yes, if you use 4B, 12B or 27B
Gemma 4 is stronger at every comparable size, with a simpler licence. From the 27B, the natural move is to Gemma 4 12B: better scores in a smaller model.
Not yet, if it is fine-tuned and working
A fine-tune does not carry over; you would train again. If your deployment does its job, there is no rush.
No, if you need the 270M
Or a variant that is still built on Gemma 3, such as ShieldGemma 2 or TranslateGemma.
# Gemma 3 model = "google/gemma-3-27b-it" # lowercase b # Gemma 4 model = "google/gemma-4-12B-it" # capital B
Watch the capital B in Gemma 4 repository names. On Ollama the family name changes from gemma3 to gemma4.
The prompt format changed
Gemma 4 uses new turn markers and a real system role. Libraries and apps apply the right template for you, but hand-written Gemma 3 templates will not work.
Two new settings
Thinking mode, and how much detail each image gets. Both are worth setting deliberately.
Formats are explained on the chat page and in prompting; memory needs in the VRAM guide; the 12B has its own guide. Files are in the download hub.
Getting Gemma 3
Still available from the usual places.
| Hugging Face repository | Notes |
|---|---|
google/gemma-3-270m-it | Tiny; no Gemma 4 equivalent |
google/gemma-3-1b-it | Text only, 32K context |
google/gemma-3-4b-it | Images, 128K context |
google/gemma-3-12b-it | A single consumer GPU |
google/gemma-3-27b-it | The flagship |
# Ollama ollama pull gemma3:270m ollama pull gemma3:12b ollama run gemma3:27b # Hugging Face (accept Google's terms on the model page first) hf download google/gemma-3-27b-it
Plain gemma3 on Ollama points to the 4B. Setup is the same as for Gemma 4: see how to download, the install guide, the runtime selector and Mac setup.
About 4-bit builds, see QAT builds; for serving, self-hosting.
Gemma 3n and the Gemma 3 variants
Gemma 3n was the on-device branch and the direct ancestor of Gemma 4's edge models. The variants below are specialised models from the same generation.
| Model | Released | Sizes | What it is for |
|---|---|---|---|
| Gemma 3n | June 26, 2025 | E2B, E4B | On-device models with audio; succeeded by Gemma 4 E2B and E4B |
| ShieldGemma 2 | March 10, 2025 | - | Checking images for safety |
| MedGemma | May 20, 2025; version 1.5 on January 13, 2026 | 4B, 27B | Medical text and images |
| EmbeddingGemma | September 4, 2025 | 308M | Text embeddings; succeeded by EmbeddingGemma 2 |
| VaultGemma | September 13, 2025 | 1B | Privacy-preserving training |
| FunctionGemma | December 18, 2025 | 270M | A tiny model for calling tools |
| T5Gemma v2 | December 18, 2025 | 270M, 1B, 4B pairs | Encoder-decoder tasks |
| TranslateGemma | January 15, 2026 | 4B, 12B, 27B | Translation |
Dates and sizes from Google's Gemma release history; the one-line purposes are this site's summaries. All of these fall under the Gemma Terms of Use. Gemma 4's own relatives are on the models page.
Is there a Gemma 3.5 or Gemma 3.6?
No. Google's release history goes from Gemma 3 and Gemma 3n straight to Gemma 4; it lists no 3.5 or 3.6. If you saw "3.6" elsewhere, it probably referred to a different model family.
Is Gemma 3 still available?
Yes. The weights are still on Hugging Face, Kaggle and Ollama. Google's new work is going into Gemma 4, so do not expect improvements to Gemma 3.
Is Gemma 3 free?
The weights are free to download and commercial use is permitted, subject to the Gemma Terms of Use and its Prohibited Use Policy. It is not Apache 2.0.
Did Gemma 3 become Apache 2.0 when Gemma 4 launched?
No. Google's terms page still lists Gemma 3 under the Gemma Terms of Use and points to a separate licence for Gemma 4.
Why would anyone still use Gemma 3?
Three reasons: you need the 270M, you depend on a variant built on Gemma 3, or you have a fine-tuned deployment that works and is not worth retraining.
Which Gemma 4 model replaces Gemma 3 27B?
The Gemma 4 12B beats it on every test listed above while being less than half the size. If you have the hardware, the 26B A4B and 31B go further. See the model comparison.
Can Gemma 3 take audio or video?
No. Gemma 3 accepts text and, from the 4B up, images. Audio arrived with Gemma 3n and continues in Gemma 4's E2B, E4B and 12B.
How does Gemma 3 compare with other open models?
It has been overtaken. For current comparisons see Gemma 4 vs Qwen 3.5, and for costs the pricing page. Known gaps in the current generation are in limitations; responsible-use notes under safety.
Ready for the current generation?
Gemma 4 is stronger at every size and simpler to license.