Deprecations / Migrate

Migrate off Gemini 3.1 Flash Image (Nano Banana 2)

Deprecated

Gemini 3.1 Flash Image (Nano Banana 2) is deprecated. 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 (Nano Banana 2) → Gemini Nano Banana 2.1

Moving to Gemini Nano Banana 2.1 means 1.8× cheaper ($15.38 → $8.63 /1M blended).

SpecGemini 3.1 Flash Image (Nano Banana 2)Gemini Nano Banana 2.1
StatusDeprecatedGA
Blended price /1M$15.38$8.63
Input / output /1M$0.5 / $60$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 → 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 (Nano Banana 2)

Generally-available models that match Gemini 3.1 Flash Image (Nano Banana 2)'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 (Nano Banana 2)

What replaces Gemini 3.1 Flash Image (Nano Banana 2)?

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

When is Gemini 3.1 Flash Image (Nano Banana 2) shut down?

Gemini 3.1 Flash Image (Nano Banana 2) is deprecated; Google has not yet published a firm shutdown date. Plan your migration now.

What is the cheapest alternative to Gemini 3.1 Flash Image (Nano Banana 2)?

Ministral 3 3B (Mistral) is the cheapest generally-available alternative we track that matches Gemini 3.1 Flash Image (Nano Banana 2)'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 (Nano Banana 2)'s full spec sheet →