Deprecations / Migrate

Migrate off Gemini 3.1 Flash Image Preview

Retired

Gemini 3.1 Flash Image Preview has been retired and shut down on 25 Jun 2026. Google's official replacement is Gemini Nano Banana 2.1. The cheapest comparable model we track is Ministral 3 3B (Mistral) at $0.1 per 1M tokens blended.

Last verified: 24 Oct 2026 · sourced from official provider documentation

What changes

Gemini 3.1 Flash Image Preview → Gemini Nano Banana 2.1

SpecGemini 3.1 Flash Image PreviewGemini Nano Banana 2.1
StatusRetiredGA
Blended price /1M—$8.63
Input / output /1M—$1.50 / $30
Context window——
Max output——
Modalitytext, image, image-outtext, image, video, image-out
Knowledge cutoff——

API string was gemini-3.1-flash-image-preview → switch to gemini-nano-banana-2.1. See Gemini Nano Banana 2.1's full spec sheet →

Cheapest alternatives

Budget-friendly replacements for Gemini 3.1 Flash Image Preview

Generally-available models that match Gemini 3.1 Flash Image Preview's capabilities, ranked by blended price. Every number is computed from official catalog prices.

ModelBlended /1MInput / outputContext
Ministral 3 3B
Mistral
$0.1$0.1 / $0.1—
Amazon Nova Lite
Amazon
$0.105$0.06 / $0.24300K
Llama 4 Scout (17B-16E Instruct)
Meta
$0.15$0.1 / $0.310M
FAQ

Migrating off Gemini 3.1 Flash Image Preview

What replaces Gemini 3.1 Flash Image Preview?

Google's recommended migration for Gemini 3.1 Flash Image Preview is Gemini Nano Banana 2.1. The cheapest comparable model in our catalog is Ministral 3 3B (Mistral) at $0.1/1M blended.

Is Gemini 3.1 Flash Image Preview still available?

No — Gemini 3.1 Flash Image Preview has been retired (shut down 25 Jun 2026) and is no longer available via Google's API.

What is the cheapest alternative to Gemini 3.1 Flash Image Preview?

Ministral 3 3B (Mistral) is the cheapest generally-available alternative we track that matches Gemini 3.1 Flash Image Preview's capabilities, at $0.1 per 1M input and $0.1 per 1M output tokens ($0.1/1M blended).

Browse the full deprecation watch → or see Gemini 3.1 Flash Image Preview's full spec sheet →