Versus · AI tools
Gemini 2.5 Flash vs Gemma 3 27B
- Last checked
- 6 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- Gemma 3 27B if you need to run the model on your own hardware: data stays in-house, there is no per-token bill, and it reads text and images with a 128K-token context in 140+ languages.
- a hosted Gemini Flash model if you want a 1M-token context, video and audio input, and no servers to manage.
Compared here
- 01Gemini 2.5 Flash
- 02Gemma 3 27B
Short answer
The news first: Gemini 2.5 Flash is deprecated. Google's model page says it is no longer selectable in AI Studio, and API calls to it now route automatically to Gemini 3.5 Flash-Lite ($0.30 per million input tokens, $2.50 output, with a free tier). So the real choice today is Gemma 3 27B, an open-weights model you download and run, against Google's current hosted Flash models.
Pick Gemma 3 27B if you need to run the model on your own hardware: data stays in-house, there is no per-token bill, and it reads text and images with a 128K-token context in 140+ languages. Pick a hosted Gemini Flash model if you want a 1M-token context, video and audio input, and no servers to manage. Gemini 2.5 Flash had both of those, which is why it usually won the old comparisons.
At a glance
| Gemini 2.5 Flash | Gemma 3 27B | |
|---|---|---|
| Type | Hosted API model | Open weights you run yourself |
| Status | Deprecated; routes to Gemini 3.5 Flash-Lite after 1 Dec 2026 | Available to download; Gemma 4 is newer |
| Context in | 1,048,576 tokens | 128K tokens |
| Output | 65,536 tokens | 8,192 tokens total output (Hugging Face card) |
| Inputs | Text, images, video, audio | Text and images |
| Languages | Not stated on the model page | 140+ |
| Knowledge cutoff | January 2025 | August 2024 |
| Licence | Google API terms | Gemma Terms of Use; accept on Hugging Face |
| Price | Now billed as Gemini 3.5 Flash-Lite: $0.30 in, $2.50 out per 1M; free tier | Free weights; you pay for hardware or a host |
Money talk first. Google does not pay us and there are no affiliate links on this page. Display ads may appear around it. We did not run either model. Every number below comes from Google's own pages and the official model cards, read on 3 December 2026.
Most comparisons of this pair were written while Gemini 2.5 Flash was Google's workhorse. That changed two days before we wrote this.
Gemini 2.5 Flash has been retired
From Google's Gemini 2.5 Flash model page and the deprecations table:
gemini-2.5-flashwas released on 17 June 2025 and has a shutdown date of 1 December 2026.- It is "no longer available to select in Google AI Studio".
- "API requests to
gemini-2.5-flashautomatically route to the replacement model", which is Gemini 3.5 Flash-Lite. gemini-2.5-flash-liteis not deprecated.
So if your app still calls Gemini 2.5 Flash, it is now getting answers from a different model, at that model's price. Google's pricing page lists Gemini 3.5 Flash-Lite at $0.30 per million input tokens and $2.50 per million output on the paid tier, and free of charge on the free tier.
What Gemini 2.5 Flash offered
For the record, and because many people search this to judge old results:
- 1,048,576 input tokens, 65,536 output tokens.
- Inputs: text, images, video and audio. Text out.
- Knowledge cutoff: January 2025.
That huge context and the video and audio input are why it beat Gemma 3 27B in most old comparisons.
What Gemma 3 27B offers
From the Gemma 3 model card and the Hugging Face card:
- Sizes: 270M, 1B, 4B, 12B and 27B. The 27B is the biggest.
- Context: 128K tokens for 4B, 12B and 27B. The Hugging Face card lists total output of 8,192 tokens.
- Inputs: text and images, text out. Images are resized to 896 x 896 and cost 256 tokens each.
- Languages: over 140.
- Knowledge cutoff: August 2024.
- Training: 14 trillion tokens for the 27B, on Google TPUs.
- Licence: Google's Gemma Terms of Use. On Hugging Face you log in and accept the conditions to download.
Note the licence detail: Gemma is open weights under Google's own terms and prohibited use policy, not a classic open source licence like MIT or Apache. For most business uses that is fine; read the terms if you plan to redistribute a fine-tuned version.
The real difference: who runs it
| Gemini Flash (hosted) | Gemma 3 27B (self-run) | |
|---|---|---|
| Where it runs | Google's servers | Your GPU, your cloud, or a host you pick |
| Data | Sent to Google's API | Stays where you run it |
| Cost model | Per token | Hardware or hosting per hour |
| Setup | An API key | Download weights, serve the model |
| Upgrades | Google swaps models (as just happened) | You choose when to change |
| Context | 1M class | 128K |
That "Google swaps models" row is the lesson of this page. Hosted models get retired on Google's schedule. A Gemma file on your server stays exactly the same until you decide otherwise. For regulated data, air-gapped setups or products that need stable behaviour, that is worth a lot.
What running Gemma 3 27B really costs
The weights are free, but 27 billion parameters do not run on a phone. You need either:
- A strong GPU with enough memory for the model at your chosen precision, or
- A hosting provider that serves Gemma and charges per token or per hour.
Google's card says the smaller Gemma sizes can be deployed on laptops, desktops or your own cloud. If 27B is too heavy, the 12B keeps the 128K context and image input at a lower hardware bill. Do a quick sum before you choose: at low volume, a hosted Flash model on a free or cheap tier is often cheaper than keeping a GPU running all month.
Reading the Gemma 3 benchmark table without fooling yourself
Model cards are easy to misread, and the Gemma 3 27B card on Hugging Face has one trap. Its main benchmark tables are for the pretrained (PT) 27B model, not the instruction tuned version people actually chat with. The numbers listed for the pretrained model are:
- MMLU, 5-shot: 78.6
- MMLU Pro with chain of thought, 5-shot: 52.2
- GSM8K, 8-shot: 82.6
- MATH, 4-shot: 50.0
- HumanEval, 0-shot: 48.8 and MBPP, 3-shot: 65.6
- GPQA, 5-shot: 24.3, with a separate evaluation section showing GPQA chain of thought at 40.36 and GPQA Diamond at 41.41 without saying exactly how it was set up
- HellaSwag, 10-shot: 85.6, BIG-Bench Hard: 77.7 and MGSM: 74.3
Those are the card's numbers, not a head to head with Gemini 2.5 Flash, and we did not line them up against a matching Flash table, so nobody should read this as a score. What the card does give you is the shape: strong on general knowledge and grade school maths, middling on code and hard science questions. The card also says the model supports over 140 languages and that the 27B was trained on 14 trillion tokens. It lists the license as "gemma", and you must review and agree to Google's usage license before downloading. It does not state a memory requirement, only the size (27B parameters, BF16 tensors), so check the quantized builds you plan to run before you buy a graphics card.
Who should pick what
| Your situation | Pick | Why |
|---|---|---|
| Data cannot leave your servers | Gemma 3 27B | Self-hosted open weights |
| You want long documents or video in one call | A current Gemini Flash model | 1M-class context, video and audio input |
| Low volume, small budget | Gemini 3.5 Flash-Lite free tier | No servers, free tier |
| High, steady volume | Gemma 3 27B on your own GPU | No per-token bill once hardware is paid |
| You need behaviour that never changes | Gemma 3 27B | Your copy, your schedule |
| Starting fresh | Also test Gemma 4 and Gemini 3.8 Flash | Newer than both |
Moving off Gemini 2.5 Flash
- Check your logs. If you still call
gemini-2.5-flash, your responses already come from 3.5 Flash-Lite. Re-test your key prompts. - Pin a current model on purpose instead of relying on automatic routing.
- Re-check your bill. The routed model has its own price.
- Consider a fallback. Some teams keep an open-weights model like Gemma as a backup for when a hosted model changes.
For other open vs hosted match-ups, see DeepSeek V4 vs Gemini 3.1 Pro and Gemini 3 Pro vs gpt-oss-120b. For a Flash model against a top model, see Claude Opus 4.6 vs Gemini 3.5 Flash.
A quick note on Gemma sizes
If 27B is more than your hardware can handle, the Gemma 3 family scales down:
| Size | Context (per the card) | Where it fits |
|---|---|---|
| 27B | 128K | Strong GPU or a hosting provider |
| 12B | 128K | Good single GPU |
| 4B | 128K | Laptop or desktop class |
| 1B | 32K | Small devices, simple tasks |
| 270M | 32K | Tiny tasks, on-device |
Smaller is faster and cheaper but weaker. A common pattern is a small Gemma for quick classification or routing, and a hosted model for the hard answers.
What we could not confirm
- Gemma 3's exact release date: not stated on the model card we read.
- Head-to-head benchmark scores from Google: neither card compares the two directly, and third-party sites disagree.
- Which Gemini app plans used 2.5 Flash before the change: not part of what we read.
How we checked
We read Google AI Studio's Gemini 2.5 Flash model page, deprecations table and pricing page, the Gemma 3 model card and the Gemma 3 27B card on Hugging Face on 3 December 2026. Models change fast, as this page shows. The vendor page always wins. More on how we pick.
Questions people ask
Is Gemma 3 27B better than Gemini 2.5 Flash?
On raw ability, third-party comparisons usually put Gemini 2.5 Flash ahead, and it reads far longer inputs: about 1 million tokens against Gemma 3's 128K. But Gemini 2.5 Flash is now deprecated and routes to Gemini 3.5 Flash-Lite. Gemma 3 27B's edge is that you own the deployment and pay no per-token fee.
Is Gemini 2.5 Flash shut down?
Google's deprecations page lists gemini-2.5-flash with a shutdown date of 1 December 2026, replaced by gemini-3.5-flash-lite. Its model page says it is no longer selectable in Google AI Studio and API requests to it route automatically to the replacement. Your code keeps working, but the model answering is not 2.5 Flash anymore.
Is Gemma 3 27B free?
The weights are free to download from Hugging Face once you accept Google's Gemma terms. Running it is not free: a 27-billion-parameter model needs a strong GPU or a hosting provider that charges per token or per hour. The Gemma 3 card says the smaller sizes can run on laptops and desktops.
Can Gemma 3 27B read images?
Yes. The Gemma 3 model card says the models take text and image input and produce text, with images resized to 896 by 896 and encoded as 256 tokens each. The card's multimodal benchmarks cover the 4B, 12B and 27B sizes. It does not list audio or video input, which Gemini 2.5 Flash did take.
What should I use instead of Gemini 2.5 Flash?
Google routes it to Gemini 3.5 Flash-Lite, priced at $0.30 per million input tokens and $2.50 output on the paid tier, with a free tier. Google's pricing page also lists Gemini 3.8 Flash and the Gemini 4 family. For open weights, Gemma 4 is now listed alongside Gemma 3.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- Google AI Studio: Gemini 2.5 Flash model page, checked 3 Dec 2026
- Google AI Studio: Deprecations, checked 3 Dec 2026
- Google AI Studio: Gemini API pricing, checked 3 Dec 2026
- Gemma 3 model card, checked 3 Dec 2026
- Hugging Face: google/gemma-3-27b-it, checked 3 Dec 2026
- Gemma Terms of Use, checked 3 Dec 2026