# gemini-3.1-flash-image

Gemini API deprecated the model gemini-3.1-flash-image without giving a shutdown date yet.

Google deprecated model gemini-3.1-flash-image on October 6, 2026, without announcing a shutdown date. Calls targeting this model will eventually fail once the shutdown takes effect. Check existing applications to determine whether they rely on this model.

## What to use instead

Migrate your calls to gemini-nano-banana-2.1.

- API: Gemini API (generativelanguage.googleapis.com)
- Model: gemini-3.1-flash-image
- Released: May 28, 2026 (models.dev)
- Kind: Model retirement
- Announced: October 6, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `model gemini-3.1-flash-image`
- Source: [Changelog](https://ai.google.dev/gemini-api/docs/changelog?ref=manifest.build)
- Verified: November 30, 2026, against Gemini API's own pages
- Page: https://manifest.build/models/gemini-api/gemini-3.1-flash-image/

## Gemini API's words

> The gemini-3.1-flash-image model is deprecated (no shutdown date announced). Migrate to gemini-nano-banana-2.1.

This data is open source (MIT): https://github.com/mnfst/model-deprecations. Edit this entry: https://github.com/mnfst/model-deprecations/blob/main/models/gemini-api/gemini-3.1-flash-image.yaml
