SunsetDiff

Replacement for gemini-3.1-flash-image (Google Gemini API): what changes when you switch

The official replacement is gemini-nano-banana-2.1. gemini-3.1-flash-image does not have a published shutdown date per Google Gemini API's deprecation page (checked 2026-11-12). Published on the official docs: input price $0.5 per million tokens, context window 131,072 tokens, max output 32,768 tokens.

gemini-3.1-flash-image model page · Google Gemini API

A migration diff is not published because the official page did not name a replacement model id.

Related models

Questions

What is the replacement for gemini-3.1-flash-image?

The official replacement is gemini-nano-banana-2.1. gemini-3.1-flash-image does not have a published shutdown date per Google Gemini API's deprecation page (checked 2026-11-12). Published on the official docs: input price $0.5 per million tokens, context window 131,072 tokens, max output 32,768 tokens.

Is gemini-nano-banana-2.1 cheaper than gemini-3.1-flash-image?

Price comparison is not published yet.

Does gemini-nano-banana-2.1 have a bigger context window than gemini-3.1-flash-image?

Context window sizes are not both published on the official pages we checked.

Sources

Deprecation alerts

We email you before models shut down. Unsubscribe anytime.

Deprecation alert signup
Providers (optional)