ModelRot
RetiredGemini 3.1 Flash Image (Preview)

gemini-3.1-flash-image-preview

gemini-3.1-flash-image-preview retirement: shut down Jun 25, 2026, replacement gemini-nano-banana-2.1.

Countdown

Off

Jun 25, 2026

Replacement

gemini-nano-banana-2.1

As recommended by the provider

Price per 1M tokens

— in · — out

Standard tier, list price

Price comparison

Per 1M tokensgemini-3.1-flash-image-previewgemini-nano-banana-2.1
Input—$1.50
Output—$7.50
Blended changeUnknown: a list price is missing

Full migration notes: gemini-3.1-flash-image-preview vs gemini-nano-banana-2.1

Timeline

  1. Released

    Feb 26, 2026

  2. Shutdown

    Jun 25, 2026

Source: https://ai.google.dev/gemini-api/docs/deprecations · checked Nov 16, 2026

Change history

Related Google Gemini models

FAQ

When does gemini-3.1-flash-image-preview shut down?

Google Gemini lists Jun 25, 2026 as the shutdown date for gemini-3.1-flash-image-preview (145 days ago). After that date, API calls to it fail.

What should I replace gemini-3.1-flash-image-preview with?

Google Gemini recommends gemini-nano-banana-2.1.

How much does gemini-3.1-flash-image-preview cost per 1M tokens?

Google Gemini's current pricing page lists no standard per-token price for gemini-3.1-flash-image-preview because it is retired.

How do I find every place my code calls gemini-3.1-flash-image-preview?

Paste your code or a public GitHub repo URL into ModelRot's free scanner. It lists every file and line that uses gemini-3.1-flash-image-preview or any other retiring model, with the replacement and cost change.