gemini-3.1-flash-image-preview on Gemini API retired on June 25, 2026

AI model

Date
(UTC)
Replacement
gemini-nano-banana-2.1
Platform
Gemini API
Provider
Google
Last checked

gemini-3.1-flash-image-preview

Retired on Gemini API

In its place: gemini-nano-banana-2.1

since.dev/calendar/google/gemini-3.1-flash-image-preview/gemini

What changes

Recommended replacement: gemini-nano-banana-2.1.

What works differently on gemini-nano-banana-2.1

From its documentation. Moving to it is more than a new model ID.

  • Configurable Thinking levels (minimal, medium default, and high). Source
  • Output resolutions are 1K, 2K, and 4K, with 1K as the default. Source

Also in June 2026

Every AI model and API retirement in June 2026, on every provider and cloud

Questions

When does gemini-3.1-flash-image-preview on Gemini API retire?
gemini-3.1-flash-image-preview on Gemini API retired on June 25, 2026.
Can I still use gemini-3.1-flash-image-preview on Gemini API?
No. It retired on June 25, 2026.
What replaces gemini-3.1-flash-image-preview on Gemini API?
Its provider names gemini-nano-banana-2.1. Moving to it is more than a new model ID: its documentation lists 2 differences, on this page.

Source

ai.google.dev

gemini-3.1-flash-image-preview | February 26, 2026 | June 25, 2026 | gemini-nano-banana-2.1

Data license: CC BY 4.0. From Google's documentation. Quotes are shortened and dates restated.

Does your code use it?

Paste a public repository. Since.dev analyzes it and shows the files and lines these dates hit.

Public repository. No sign-in.

A warm wave of orange and red light over deep blue

Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

See how out of date your code is.

Any public GitHub repository. No sign-in.

Tell your agent what changed since it was trained.

claude mcp add --transport http since https://api.since.dev/mcp

Codex, Cursor and any MCP client use https://api.since.dev/mcp.