## Gemini models list (November 2026): every model, status and retirement date

URL: https://www.evalshift.dev/blog/gemini-models-list
Published: 2026-11-26
Tag: migration
Summary: Every Gemini API and Vertex AI model ID as of November 25, 2026, with status, release and retirement dates, context window and price per 1M tokens.

Takeaways:
- As of November 25, 2026, the newest Gemini API models are gemini-4-carbon, gemini-4-neon, gemini-4-hydrogen and gemini-4-argon, released between October 13 and November 18, 2026, and the current Flash models are gemini-3.8-flash and gemini-3.5-flash-lite.
- From December 1, 2026, the Gemini API routes requests for gemini-2.5-pro to gemini-3.8-flash and for gemini-2.5-flash to gemini-3.5-flash-lite, billed at the new model's rates. On Vertex AI, all three Gemini 2.5 text models passed their retirement date on October 20, 2026.
- The Gemini API and Vertex AI publish different dates for the same Gemini model ID: gemini-3.6-flash has no shutdown date on the Gemini API but retired on Vertex AI on November 19, 2026, and gemini-3.7-flash retires on Vertex AI on January 28, 2027 while the Gemini API already routes it to gemini-3.8-flash.
- Gemini API list prices change on fixed dates: gemini-4-carbon and gemini-4-argon go from $2.00 / $10.00 to $4.00 / $20.00 per 1M tokens on December 1, 2026, and gemini-3.8-flash from $0.75 / $3.75 to $1.50 / $7.50 on January 1, 2027.
- Gemini -latest aliases such as gemini-flash-latest are hot-swapped to each new release with two weeks' email notice, and Google doesn't publish their current target, so production code should pin a stable model ID and log the model_version of each response.

As of November 25, 2026, the newest Gemini models on the Gemini API are the four Gemini 4 models,
`gemini-4-carbon`, `gemini-4-neon`, `gemini-4-hydrogen` and `gemini-4-argon`, all released
between October 13 and November 18, 2026. The current Flash models are `gemini-3.8-flash` and
`gemini-3.5-flash-lite`. `gemini-2.5-pro` and `gemini-2.5-flash` are deprecated, and from
December 1, 2026 the Gemini API routes their requests to `gemini-3.8-flash` and
`gemini-3.5-flash-lite`, billed at the new model's rates. On Vertex AI, all three Gemini 2.5 text
models are past their October 20, 2026 retirement date, and `gemini-3.7-flash` retires on
January 28, 2027.

This post lists every Gemini model ID Google publishes on those two surfaces, with its status,
release date, shutdown or retirement date, context window and price per 1M tokens. The facts come
from Google's own pages, all read on November 25, 2026:

- the Gemini API [models page](https://aistudio.google.com/docs/models) and each model's own page
  under it, for status, versions and token limits;
- the Gemini API [deprecations page](https://aistudio.google.com/docs/deprecations) and
  [changelog](https://aistudio.google.com/docs/changelog), for release and shutdown dates and
  reroutes;
- the Gemini API [pricing page](https://aistudio.google.com/docs/pricing), for prices;
- the Vertex AI [model versions and lifecycle page](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions),
  for Vertex release and retirement dates.

The old `ai.google.dev/gemini-api/docs/...` URLs now redirect to `aistudio.google.com/docs/...`,
and Vertex AI is now documented as Gemini Enterprise Agent Platform. None of these pages shows a
"last updated" date, and Google changes them often, so check the row you depend on before you act
on it. A disclosure: I build EvalShift, a tool for testing a model switch, and it has a short
section near the end.

## Gemini models list: text and reasoning models

These are the models you call for chat, agents and tool use. Prices are the Gemini API's paid
Standard tier, per 1M tokens, input then output. Context is the input and output token limit from
each model's page on the Gemini API.

| Model ID | Status on the Gemini API | Released | Gemini API shutdown | Vertex AI retirement | Context (input / output) | Price per 1M (input / output) |
| --- | --- | --- | --- | --- | --- | --- |
| `gemini-4-neon` | Stable | November 18, 2026 | None announced | Not listed | 1,048,576 shared / 65,536 | $3.00 / $15.00 |
| `gemini-4-hydrogen` | Stable | November 12, 2026 | None announced | No date announced | 1,048,576 shared / 65,536 | $1.50 / $7.50 |
| `gemini-4-carbon` | Stable | November 10, 2026 | None announced | No date announced | 1,048,576 shared / 65,536 | $2.00 / $10.00 through November 30, 2026, then $4.00 / $20.00 |
| `gemini-4-argon` | Stable | October 13, 2026 | None announced | October 13, 2027 or later | 1,048,576 shared / 65,536 | $2.00 / $10.00 through November 30, 2026, then $4.00 / $20.00 |
| `gemini-3.8-flash` | Stable | September 2, 2026 | None announced | September 2, 2027 or later | 1,048,576 / 65,536 | $0.75 / $3.75 through December 31, 2026, then $1.50 / $7.50 |
| `gemini-3.7-flash` | Deprecated, routed to `gemini-3.8-flash` since October 8, 2026 | August 13, 2026 | Not shutting down; requests are routed | January 28, 2027 | — | Not listed |
| `gemini-3.6-flash` | Stable | July 21, 2026 | None announced | November 19, 2026 (passed) | 1,048,576 / 65,536 | $0.75 / $3.75 through December 31, 2026, then $1.50 / $7.50 |
| `gemini-3.5-flash-lite` | Stable | July 21, 2026 | None announced | July 21, 2027 or later | 1,048,576 / 65,536 | $0.30 / $2.50 |
| `gemini-3.5-flash` | Deprecated, routed to `gemini-3.6-flash` since October 8, 2026 | May 19, 2026 | Not shutting down; requests are routed | May 19, 2027 or later | — | Not listed |
| `gemini-3.1-flash-lite` | Stable | May 7, 2026 | May 7, 2027 | May 7, 2027 or later | 1,048,576 / 65,536 | $0.25 / $1.50 (audio input $0.50) |
| `gemini-3.1-pro-preview` | Preview | February 19, 2026 | None announced | Preview, not in the tables | 1,048,576 / 65,536 | $2.00 / $12.00 up to 200K-token prompts, $4.00 / $18.00 above |
| `gemini-3-flash-preview` | Preview | December 17, 2025 | None announced | Preview, not in the tables | 1,048,576 / 65,536 | $0.50 / $3.00 |
| `gemini-2.5-pro` | Deprecated, existing users only | June 17, 2025 | December 1, 2026, routed to `gemini-3.8-flash` | October 20, 2026 (passed) | 1,048,576 / 65,536 | $1.25 / $10.00 up to 200K-token prompts, $2.50 / $15.00 above |
| `gemini-2.5-flash` | Deprecated, existing users only | June 17, 2025 | December 1, 2026, routed to `gemini-3.5-flash-lite` | October 20, 2026 (passed) | 1,048,576 / 65,536 | $0.30 / $2.50 |
| `gemini-2.5-flash-lite` | Stable, existing users only | July 22, 2025 | None announced | October 20, 2026 (passed) | 1,048,576 / 65,536 | $0.10 / $0.40 |

How to read the table:

- **"1,048,576 shared"** on the Gemini 4 rows is Google's wording: the context window is a unified
  input and output limit. The default synchronous output cap is 65,536 tokens, and Google lists up
  to 1,048,576 output tokens with long decode.
- **The routed models have no context or price row** because the models page no longer lists
  them as models of their own and the pricing page has no entry for them. A request to either one
  is answered by its target.
- **`gemini-3.1-pro-preview` also has a `gemini-3.1-pro-preview-customtools` endpoint**, listed on
  the same page for agents that mix bash and custom tools, at the same price.
- **Free tier.** The pricing page lists a free tier for `gemini-4-hydrogen`, `gemini-3.8-flash`,
  `gemini-3.6-flash`, `gemini-3.5-flash-lite`, `gemini-3.1-flash-lite`, `gemini-3-flash-preview`
  and the 2.5 models. `gemini-4-carbon`, `gemini-4-neon`, `gemini-4-argon` and
  `gemini-3.1-pro-preview` are paid only.
- **Knowledge cutoff** is shown only on the 2.5 model pages, as January 2025. Google doesn't
  publish one for the Gemini 3 or Gemini 4 models on these pages.

Vertex also lists three Vertex-only text models with no retirement date announced:
`gemini-4-carbon-cyber-permissive` and `gemini-4-argon-cyber-permissive`, both released with their
base models, and `gemini-3.8-flash-cyber`, released September 16, 2026. Vertex's model catalog
marks some of them as allowlist only.

## Gemini Live, audio and TTS models

| Model ID | Status | Released | Gemini API shutdown | Vertex AI retirement | Replacement Google lists | Price per 1M |
| --- | --- | --- | --- | --- | --- | --- |
| `gemini-3.8-live` | Stable | September 15, 2026 | None announced | September 25, 2027 or later | — | Text $0.75 in / $4.50 out; audio $3.00 in / $12.00 out |
| `gemini-3.8-live-extended-thinking` | Stable | September 15, 2026 | None announced | Not listed | — | Same as `gemini-3.8-live` |
| `gemini-3.1-flash-live-preview` | Legacy preview | March 11, 2026 | None announced | — | `gemini-3.8-live` | Same as `gemini-3.8-live` |
| `gemini-2.5-flash-native-audio-preview-12-2025` | Preview | December 12, 2025 | March 31, 2027 | — | `gemini-3.8-live` | Text $0.50 in / $2.00 out; audio $3.00 in / $12.00 out |
| `gemini-live-2.5-flash-native-audio` | Vertex only | December 12, 2025 | — | December 13, 2026 | `gemini-3.8-live` | Vertex pricing not covered here |
| `gemini-3.5-transcribe` | Listed, no label | August 2026 | None announced | — | — | $2.00 audio in / $12.00 text out |
| `gemini-3.5-transcribe-live` | Listed, no label | August 2026 | None announced | — | — | $3.50 audio in / $21.00 text out |
| `gemini-3.5-live-translate-preview` | Preview | June 2026 | None announced | — | — | $3.50 audio in / $21.00 audio out |
| `gemini-3.8-flash-tts` | Listed as new | September 22, 2026 | None announced | Not listed | — | $0.50 text in / $9.00 audio out through December 31, 2026, then $1.00 / $18.00 |
| `gemini-3.8-flash-lite-tts` | Listed as new | September 22, 2026 | None announced | Not listed | — | $0.50 text in / $6.00 audio out through December 31, 2026, then $1.00 / $12.00 |
| `gemini-3.1-flash-tts-preview` | Legacy preview | February 26, 2026 | December 18, 2026 | — | `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` | $1.00 text in / $20.00 audio out |
| `gemini-2.5-flash-preview-tts` | Preview | May 20, 2025 | December 18, 2026 | — | `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` | $0.50 text in / $10.00 audio out |
| `gemini-2.5-pro-preview-tts` | Preview | May 20, 2025 | December 18, 2026 | — | `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` | $1.00 text in / $20.00 audio out |

A dash means the page for that surface lists nothing. The Live models take 131,072 input tokens
and return up to 65,536, except `gemini-2.5-flash-native-audio-preview-12-2025`, which returns up
to 8,192. Every TTS model in the table takes 8,192 input tokens and returns up to 16,384. The transcribe models are limited by audio length instead, up to one hour per request.
Google publishes release months, not days, for the transcribe and translate models.

Two upgrade notes from the model pages: `gemini-3.8-flash-lite-tts` needs the `v1beta` API version
and returns WAV by default (raw PCM needs `audio/l16` set explicitly), and on
`gemini-3.8-live-extended-thinking`, affective dialogue is removed and `proactive_audio: false`
returns an error.

## Gemini image, video and embedding models

| Model ID | Status | Released | Gemini API shutdown | Vertex AI retirement | Replacement Google lists | Price |
| --- | --- | --- | --- | --- | --- | --- |
| `gemini-nano-banana-2.1` (Nano Banana 2.1) | Stable | October 6, 2026 | None announced | No date announced | — | $1.50 per 1M in; $0.0336 per 1K image |
| `gemini-3.1-flash-image` (Nano Banana 2) | Deprecated October 6, 2026, no shutdown date | May 28, 2026 | None announced | May 28, 2027 or later | `gemini-nano-banana-2.1` | $0.50 per 1M in; $0.067 per 1K image |
| `gemini-3.1-flash-lite-image` (Nano Banana 2 Lite) | Stable | June 30, 2026 | None announced | June 28, 2027 or later | — | $0.25 per 1M in; $0.0336 per 1K image |
| `gemini-3-pro-image` (Nano Banana Pro) | Stable | May 28, 2026 | None announced | May 28, 2027 or later | — | $2.00 per 1M in; $0.134 per 1K or 2K image |
| `gemini-2.5-flash-image` (Nano Banana) | Stable, shutdown scheduled | October 2, 2025 | March 15, 2027 | March 15, 2027 | `gemini-3.1-flash-lite-image` | $0.30 per 1M in; $0.039 per image |
| `gemini-omni-1.2-flash` | Stable | November 5, 2026 | None announced | November 5, 2027 or later | — | $1.50 per 1M in; $12.00 per 1M video out |
| `gemini-omni-1.1-flash` | Routed to `gemini-omni-1.2-flash` from December 3, 2026 | August 27, 2026 | December 3, 2026 | — | `gemini-omni-1.2-flash` | $1.50 per 1M in; $17.50 per 1M video out |
| `genie-4` | New | November 19, 2026 | None announced | — | — | $1.50 per 1M in; $17.50 per 1M video out |
| `gemini-embedding-2` | Stable | April 22, 2026 | None announced | No date listed | — | $0.20 per 1M text tokens |
| `gemini-embedding-001` | Stable | July 14, 2025 | May 14, 2028 | No sooner than May 20, 2028 | `gemini-embedding-2` | $0.15 per 1M tokens |

`gemini-embedding-2` takes 8,192 input tokens and `gemini-embedding-001` takes 2,048; both return
128 to 3,072 dimensions. `gemini-embedding-2-preview` was deprecated on November 6, 2026, and its
requests now route to `gemini-embedding-2`. On Vertex, `text-embedding-005`, `text-embedding-004`,
`text-multilingual-embedding-002` and `multimodalembedding@001` retire on April 1, 2027, with no
replacement listed. On the Gemini API, `text-embedding-004` already shut down on January 14, 2026.

Video generation has moved to Omni on the Gemini API: every Veo model there is deprecated, the 3.1
previews shut down on October 22, 2026, and the listed replacement is `gemini-omni-1.2-flash`. On
Vertex, `veo-3.1-generate-001` and `veo-3.1-fast-generate-001` are listed until May 4, 2027 or
later, with the same replacement. The Imagen models are shut down on both surfaces.

The rest of the Gemini API list is specialized: `gemini-decision-1` (released November 11, 2026,
$0.10 per 1M input tokens, no output tokens), `lyria-3.5` and the `lyria-3-clip-preview`,
`lyria-3-pro-preview` and `lyria-realtime-exp` music models, `gemini-robotics-er-2-preview` and
its streaming variant, and the managed agents `deep-research-preview-04-2026`,
`deep-research-max-preview-04-2026` and `antigravity-preview-09-2026`. Gemma 4 appears on the
pricing page as free of charge, with no paid tier and no model ID shown.

## Gemini model versions: stable, preview, latest and experimental

Google's models page defines four kinds of model ID, quoted here from the page:

- **Stable**, such as `gemini-3.8-flash`: "Stable models usually don't change. Most production
  apps should use a specific stable model."
- **Preview**, such as `gemini-3.1-pro-preview`: may be used for production, usually has billing
  enabled, may have tighter rate limits, and "will be deprecated with at least 2 weeks notice."
- **Latest**, such as `gemini-flash-latest`: points to the latest release of a model variation,
  which "can be a stable, preview or experimental release."
- **Experimental**: "typically not be suitable for production use," with more restrictive rate
  limits. The only `-exp` ID on the list today is `lyria-realtime-exp`.

The page notes that this naming convention dates from September 2025, so older IDs such as
`gemini-2.5-flash-preview-09-2025` follow a different pattern.

## How `-latest` aliases and reroutes change the model under you

A `-latest` alias "will get hot-swapped with every new release of a specific model variation,"
with two weeks' email notice before the version behind it changes. Google does not publish what
each alias points to today. None of the model pages lists one, and the changelog's last alias
entry is January 21, 2026, when `gemini-pro-latest` switched to `gemini-3-pro-preview` and
`gemini-flash-latest` to `gemini-3-flash-preview`. `gemini-3-pro-preview` shut down on March 9,
2026, and the changelog says it now points to `gemini-3.1-pro-preview`; it doesn't say whether
`gemini-pro-latest` followed. If your code calls an alias, the only reliable way to know which
model answered is to read it from the response.

Reroutes do the same thing to pinned IDs. In 2026 the Gemini API has
routed or will route:

| Model ID you call | Model that answers | From |
| --- | --- | --- |
| `gemini-3.5-flash` | `gemini-3.6-flash` | October 8, 2026 |
| `gemini-3.7-flash` | `gemini-3.8-flash` | October 8, 2026 |
| `gemini-embedding-2-preview` | `gemini-embedding-2` | November 6, 2026 |
| `gemini-2.5-pro` | `gemini-3.8-flash`, billed at its rates | December 1, 2026 |
| `gemini-2.5-flash` | `gemini-3.5-flash-lite`, billed at its rates | December 1, 2026 |
| `gemini-omni-1.1-flash` | `gemini-omni-1.2-flash` | December 3, 2026 |

The December 1 reroutes are the ones to plan for. The 2.5 model pages list the breaking changes
that come with them: stricter function-calling and `thought_signature` validation,
`thinking_level` in place of `thinking_budget`, removed sampling parameters, and no prefilled model
turns. A request that relied on any of those can start failing, or start behaving differently,
on December 1 without a code change. The prefill case has its own post:
[Requests ending with a model turn are not supported](/blog/gemini-requests-ending-with-model-turn).

Every Gemini response says which model served it, so log it next to each call:

```python
from google import genai

client = genai.Client()
resp = client.models.generate_content(model="gemini-3.8-flash", contents="ping")
print(resp.model_version)  # the model that actually served the request
```

An alert on a change in `model_version` per route catches an alias swap or a reroute on the day it
happens.

## Gemini API vs Vertex AI: different dates for the same model

The Gemini API (an AI Studio key) and Vertex AI are separate products with separate lifecycle
rules, and the same model ID can have a different date on each:

| Model ID | Gemini API | Vertex AI |
| --- | --- | --- |
| `gemini-2.5-pro`, `gemini-2.5-flash` | Routed to a successor from December 1, 2026 | Retired October 20, 2026 |
| `gemini-2.5-flash-lite` | No shutdown announced | Retired October 20, 2026 |
| `gemini-3.5-flash` | Routed to `gemini-3.6-flash` since October 8, 2026 | May 19, 2027 or later |
| `gemini-3.6-flash` | No shutdown announced | Retired November 19, 2026 |
| `gemini-3.7-flash` | Routed to `gemini-3.8-flash` since October 8, 2026 | January 28, 2027 |
| `gemini-2.0-flash` | Shut down June 1, 2026; replacement `gemini-3.6-flash` | Retired June 1, 2026; replacement `gemini-3.5-flash-lite` |
| `gemini-2.0-flash-lite` | Shut down June 1, 2026; replacement `gemini-3.1-flash-lite` | Retired June 1, 2026; replacement `gemini-3.5-flash-lite` |
| `gemini-embedding-001` | Shutdown May 14, 2028 | No sooner than May 20, 2028 |

Even release dates differ: Vertex lists `gemini-3.8-live` on September 24, 2026 and
`gemini-embedding-001` on May 20, 2025, against September 15, 2026 and July 14, 2025 on the Gemini
API.

The rules behind the dates:

- **Gemini API.** Shutdown dates "indicate the *earliest possible dates* on which a model might be
  retired," and Google says it will communicate the exact date in advance. Since September 18,
  2026, the 2.5 models are limited to projects that already used them, and the changelog points new
  projects to `gemini-3.5-flash-lite` or `gemini-3.8-flash`.
- **Vertex AI.** Models in the first table are available for at least 12 months after release.
  Models with shorter availability, such as `gemini-4-carbon` and `gemini-4-hydrogen`, "remain active until
  a replacement model is released and a retirement date is announced," and that date gives at
  least 45 days to migrate. Vertex dates "may be extended" but "won't be moved to an earlier date."
  Preview models aren't in Vertex's tables at all.

Which rule applies depends on how your client is built, not on the model string. With the
`google-genai` SDK, a client created with `vertexai=True` (or with the environment variables that
select Vertex) runs on Vertex, and one created with an API key runs on the Gemini API.

## What to switch to off each retiring Gemini model

These are the replacements Google lists, by surface. Where both surfaces name one, it is the same
model unless the row says otherwise.

| Retiring model | Date | Switch to |
| --- | --- | --- |
| `gemini-2.5-pro` | Vertex: October 20, 2026 (passed). Gemini API: routed December 1, 2026 | Gemini API: `gemini-3.8-flash`. Vertex: `gemini-3.8-flash` or `gemini-3.5-flash` |
| `gemini-2.5-flash` | Vertex: October 20, 2026 (passed). Gemini API: routed December 1, 2026 | Gemini API: `gemini-3.5-flash-lite`. Vertex: `gemini-3.8-flash` or `gemini-3.5-flash-lite` |
| `gemini-2.5-flash-lite` | Vertex: October 20, 2026 (passed) | `gemini-3.8-flash`, `gemini-3.5-flash-lite` or Gemma 4 |
| `gemini-3.6-flash` | Vertex: November 19, 2026 (passed) | `gemini-3.8-flash` |
| `gemini-3.7-flash` | Vertex: January 28, 2027 | `gemini-3.8-flash` |
| `gemini-3.1-flash-lite` | Gemini API: May 7, 2027 | `gemini-3.5-flash-lite` |
| `gemini-3-flash-preview` | No date | `gemini-3.6-flash` (Gemini API listing) |
| `gemini-3.1-flash-tts-preview`, `gemini-2.5-flash-preview-tts`, `gemini-2.5-pro-preview-tts` | Gemini API: December 18, 2026 | `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` |
| `gemini-live-2.5-flash-native-audio` | Vertex: December 13, 2026 | `gemini-3.8-live` |
| `gemini-2.5-flash-native-audio-preview-12-2025` | Gemini API: March 31, 2027 | `gemini-3.8-live` |
| `gemini-omni-1.1-flash` | Gemini API: routed December 3, 2026 | `gemini-omni-1.2-flash` |
| `gemini-2.5-flash-image` | Both: March 15, 2027 | `gemini-3.1-flash-lite-image` |
| `gemini-3.1-flash-image` | Deprecated, no date | `gemini-nano-banana-2.1` |
| `gemini-embedding-001` | Gemini API: May 14, 2028 | `gemini-embedding-2` |

Three things to check before you pick:

- **Don't migrate onto a short clock.** On the Gemini API, `gemini-3.6-flash` is the listed
  replacement for `gemini-3-flash-preview` and the old `gemini-2.0-flash`, but on Vertex
  `gemini-3.6-flash` is already retired. `gemini-3.8-flash` is the replacement most rows point to,
  and Vertex lists it until September 2, 2027 or later.
- **Check the price on the date you switch.** `gemini-3.8-flash` costs $0.75 / $3.75 per 1M tokens
  through December 31, 2026 and $1.50 / $7.50 from January 1, 2027. `gemini-4-carbon` and
  `gemini-4-argon` go from $2.00 / $10.00 to $4.00 / $20.00 on December 1, 2026.
- **Embeddings need a re-index.** Vectors from different embedding models are not comparable, so a
  move from `gemini-embedding-001` to `gemini-embedding-2` means re-embedding the whole corpus, not
  only the query side.

If you need a Pro-class model rather than a Flash one, the replacements above are all Flash or
Flash-Lite models. The options with Pro-level pricing are `gemini-3.1-pro-preview`, still a preview,
and the four Gemini 4 models. The step-by-step version of this migration, including the request
changes for `gemini-3.8-flash`, is in the
[Gemini model deprecation checklist](/blog/gemini-model-deprecation-migration-checklist).

## What is the next Gemini model?

Google doesn't publish a roadmap or upcoming release dates on any of these pages. New models
appear on the models page and in the changelog when they become available: the changelog records
`gemini-4-argon` on October 13, `gemini-4-carbon` on November 10, `gemini-4-hydrogen` on November
12 and `gemini-4-neon` on November 18, 2026, each on the day it became generally available. So the
practical answer is to watch the [changelog](https://aistudio.google.com/docs/changelog) and the
Vertex model versions page, and to treat a new release as the start of a test, not a reason to
switch.

## Testing a Gemini model switch before it ships

A model switch is a behavior change, and the regressions that matter mostly read fine: a tool
argument changes format, an enum field moves one value, a request the old model declined becomes a
tool call. Reading a few outputs in AI Studio won't show any of that. The method that does:

1. **Record a baseline while the old model still answers.** For `gemini-2.5-pro` and
   `gemini-2.5-flash` on the Gemini API, that means before December 1, 2026. On Vertex, the 2.5
   models are already retired, so the baseline is whatever you logged before October 20.
2. **Build the cases from production logs.** 100 to 300 real inputs per route, with what production
   actually did (tool calls, arguments, JSON fields) stored as the expectation.
3. **Assert deterministically first.** Check tools called, argument formats and enum fields
   exactly. Use an LLM judge only for free text, and treat it as advisory.
4. **Sample each case more than once.** The 2.5 reroutes remove sampling parameters, so a single
   run can't tell a regression from noise. Score the fraction of samples that pass.
5. **Compare per route.** A drop on one route disappears in an overall average.

The full walkthrough, with code, is in
[How to catch LLM regressions before a model upgrade ships](/blog/llm-regression-testing-model-upgrade).

## Doing this with EvalShift

Disclosure: I'm the founder of EvalShift, and the replay in steps 1 to 5 is what it automates. The
capture SDK wraps the `google-genai` client and records real runs, tool calls included, and
`compare` replays them against the candidate model:

```python
from google import genai
from evalshift import capture
from evalshift.adapters.genai import wrap_genai

client = wrap_genai(genai.Client())  # records each call inside a capture session

TOOLS = [...]  # the function declarations the agent is offered, or [] for none

@capture.agent(suite="support", redact=True, tools=TOOLS)  # no-op unless EVALSHIFT_CAPTURE=1
def handle_ticket(message): ...
```

```bash
pip install evalshift
EVALSHIFT_CAPTURE=1 python my_agent.py   # record production-shaped runs
evalshift capture sync                   # recorded runs -> golden suite
evalshift compare --suite-name support --to gemini-3.8-flash
```

Both arms are live calls, so run it while the old model still answers. Set
`defaults.samples_per_example` above 1 so each case is sampled several times, and write the
`migration_policy` before the run so the verdict isn't decided after you've seen the numbers. It
won't tell you which Gemini model to pick; it tells you whether the one you picked still does what
production did. Docs: [/docs/sdk-adapters](/docs/sdk-adapters),
[/docs/migration-policy](/docs/migration-policy).

## FAQ

**What Gemini models are available right now?** As of November 25, 2026, the Gemini API's stable
text models are `gemini-4-carbon`, `gemini-4-neon`, `gemini-4-hydrogen`, `gemini-4-argon`,
`gemini-3.8-flash`, `gemini-3.6-flash`, `gemini-3.5-flash-lite` and `gemini-3.1-flash-lite`, with
`gemini-3.1-pro-preview` and `gemini-3-flash-preview` in preview. `gemini-2.5-flash-lite` is still
served, but only to projects that already used the 2.5 models.

**What is the latest Gemini model?** `gemini-4-neon`, released on the Gemini API on November 18,
2026. The newest Flash model is `gemini-3.8-flash`, released September 2, 2026.

**Is Gemini 2.5 Flash deprecated?** Yes. Google deprecated `gemini-2.5-flash` on the Gemini API on
November 2, 2026, and from December 1, 2026 its requests are routed to `gemini-3.5-flash-lite` and
billed at that model's rates. On Vertex AI, `gemini-2.5-flash` passed its retirement date on
October 20, 2026.

**What happened to Gemini 3.5 Flash?** On the Gemini API, `gemini-3.5-flash` is deprecated and
requests to it have been routed to `gemini-3.6-flash` since October 8, 2026; the endpoint is not
shutting down. On Vertex AI, `gemini-3.5-flash` is listed until May 19, 2027 or later.

**How much does the Gemini API cost?** It depends on the model. Per 1M tokens on the paid Standard
tier, `gemini-3.8-flash` is $0.75 input and $3.75 output through December 31, 2026, then $1.50 and
$7.50; `gemini-3.5-flash-lite` is $0.30 and $2.50; `gemini-4-neon` is $3.00 and $15.00. Batch and
Flex are half the Standard price for most models.

**What does gemini-flash-latest point to?** Google doesn't publish the current target. The last
change its changelog records is January 21, 2026, when `gemini-flash-latest` switched to
`gemini-3-flash-preview`. Google promises two weeks' email notice before the model behind a
`-latest` alias changes, so pin a stable ID in production and log `model_version` from each
response.

**What is the context window of Gemini models?** The Gemini 4 models have a 1,048,576-token window
shared between input and output, with 65,536 output tokens by default. The Gemini 3.x and 2.5 text
models take 1,048,576 input tokens and return up to 65,536. The Live models take 131,072 input
tokens.

## Keep reading

- [Gemini model deprecation: dates, replacements and a migration checklist](/blog/gemini-model-deprecation-migration-checklist)
  — the six-step migration off the retiring models, with the request changes for Gemini 3.8 Flash.
- [Gemini "Requests ending with a model turn are not supported": the cause and the fix](/blog/gemini-requests-ending-with-model-turn)
  — the 400 that the December 1 reroutes can start returning.
- [LLM model deprecation schedule 2026](/blog/llm-model-deprecation-schedule) — the Google dates
  next to OpenAI, Anthropic, Azure and Bedrock.
- [The cheapest LLM API in 2026](/blog/cheapest-llm-api) — Gemini's cheapest models against
  OpenAI's, Anthropic's and DeepSeek's, per 1,000 agent calls.
- [LLM drift](/blog/llm-drift) — how a model changes under an ID you never edited.
