apiwatch

All changes / Google

Breaking model

The Gemini 3 image preview models gemini-3.1-flash-image-preview and gemini-3-pro-image-preview were shut down on the Gemini API on June 25, 2026. Google now lists gemini-nano-banana-2.1 and gemini-3-pro-image as their replacements.

Took effect · Gemini API models gemini-3.1-flash-image-preview, gemini-3-pro-image-preview

Reviewed against the vendor source on Oct 7, 2026 (AI-assisted review). Key facts are re-checked against the source daily.

What changes

Google announced the deprecation on May 28, 2026, the same day it released the GA models gemini-3.1-flash-image and gemini-3-pro-image. The deprecations page lists June 25, 2026 as the shutdown date for both previews. It now names gemini-nano-banana-2.1 as the replacement for gemini-3.1-flash-image-preview and gemini-3-pro-image for gemini-3-pro-image-preview. The October 6, 2026 release notes deprecate gemini-3.1-flash-image (no shutdown date announced) in favor of gemini-nano-banana-2.1. The release notes don't separately confirm that the preview shutdown happened.

Breaking: Calls fail after this date.

What to do

Switch gemini-3.1-flash-image-preview to gemini-nano-banana-2.1 and gemini-3-pro-image-preview to gemini-3-pro-image, then re-check output quality on your evals. Skip gemini-3.1-flash-image, which Google deprecated on October 6, 2026.

Strings to search for

gemini-3.1-flash-image-previewgemini-3-pro-image-preview

Source

https://ai.google.dev/gemini-api/docs/deprecations