DeprecatedAI Image

Nano Banana 2 (gemini-3.1-flash-image)

by Google

Announced

2026-10-06

Complete

—

Refund window closes

—

Refund status

No refund applicable

On October 6, 2026, Google's Gemini API release notes announced Gemini Nano Banana 2.1 (`gemini-nano-banana-2.1`) as generally available and, in the same entry, deprecated Nano Banana 2 (`gemini-3.1-flash-image`). As of October 13, 2026, that release note and the deprecations page (last updated October 12) both say no shutdown date has been announced, and the pricing page shows no shutdown warning for the model. Correction: the first version of this page, written from Google's docs as read on October 6, gave a shutdown date of October 29, 2026. None of Google's pages we checked on October 13 show that date, so treat Nano Banana 2 as deprecated with no fixed end date and watch the deprecations page. The original Nano Banana, `gemini-2.5-flash-image`, is in a muddier spot: the deprecations page now lists a March 15, 2027 shutdown with `gemini-3.1-flash-lite-image` as the replacement, while the pricing page still warns it shuts down October 2, 2026. The move to 2.1 is not a straight price swap: 1K and 2K images cost about half as much, 4K images about 25% less, input and text output cost more, and the 512px size is not supported.

Refund flow

  1. 1

    Not applicable. Nano Banana 2 in the Gemini API is billed per token on the paid tier, with no pre-paid balance tied to a model ID, so there is nothing to refund when the model is retired.

  2. 2

    If Google later sets a shutdown date and you see charges for gemini-3.1-flash-image calls dated after it, treat that as a billing error and raise it through Google Cloud billing support with the request details.

  3. 3

    Re-budget before you switch, using the prices on Google's pricing page on October 13, 2026. Image output on gemini-3.1-flash-image is $60 per 1M tokens, listed as $0.045 per 512px image, $0.067 per 1K, $0.101 per 2K and $0.151 per 4K. Image output on gemini-nano-banana-2.1 is $30 per 1M tokens, listed as $0.0336 per 1K, $0.0504 per 2K and $0.113 per 4K, because a 4K image on 2.1 is billed at 3,780 output tokens. So a 1K or 2K image costs about 50% less and a 4K image about 25% less. The 4K figure is up from the $0.0756 this page recorded on October 6. Input moves the other way, from $0.50 to $1.50 per 1M tokens, and text and thinking output from $3 to $7.50 per 1M tokens. Batch image output drops from $30 to $15 per 1M tokens. If your calls carry many reference images or long prompts, or you mostly render 4K, check your own token mix before assuming the switch saves money.

Migration path

Recommended successor

Gemini Nano Banana 2.1 (gemini-nano-banana-2.1)

Why this is the closest fit

It is the replacement Google names in the October 6, 2026 deprecation notice and on the deprecations page, and Google describes it as an update to Nano Banana 2 that keeps Flash-level speed. The image generation guide documents both models together. Video-to-image generation, which the May 28, 2026 release notes described as exclusive to gemini-3.1-flash-image, is listed in the current guide as available on Nano Banana 2.1 too, as is mixing up to 14 reference images.

What differs from the original

Three things change besides the model name. First, size: the image generation guide says the 512px (0.5K) resolution is supported on Gemini 3.1 Flash Image and not on Nano Banana 2.1, so code that requests image_size "0.5K" for thumbnails or drafts needs a new size. Second, price shape: image output is about half the cost per image at 1K and 2K and about 25% less at 4K, while input and text output cost 3x and 2.5x as much per token. Third, aspect ratios: the release notes list wide and panoramic 1:4, 4:1, 1:8 and 8:1 ratios at 1K, 2K and 4K among the 2.1 improvements. Google also claims better visual quality, prompt adherence, character consistency across turns and text rendering. Those are Google's claims and were not tested for this record.

Alternatives by use case

You generate 1K to 4K images with short prompts

Google has not set a shutdown date, so test before you move. At listed prices a 1K or 2K image on gemini-nano-banana-2.1 costs about half and a 4K image about 25% less. Run your own prompts on both and keep the outputs

You use 512px output for thumbnails or cheap drafts

Nano Banana 2.1 has no 512px size. Its 1K image is listed at $0.0336, below the $0.045 you paid for 512px on Nano Banana 2, so request 1K and downscale if you need small files

You edit with many reference images or long prompts

Input tokens triple from $0.50 to $1.50 per 1M. Log the input and output token counts from a few real calls on both models and compare the totals before you move a whole pipeline

You are still on gemini-2.5-flash-image, the original Nano Banana

Google's own pages disagree on its date. The deprecations page lists March 15, 2027 and the pricing page still says October 2, 2026, so do not plan around the later date. The deprecations page now names gemini-3.1-flash-lite-image as its replacement

You only need 1K images at the lowest cost

Google also lists gemini-3.1-flash-lite-image (Nano Banana 2 Lite), which only supports 1K and has no shutdown date announced. Check its current price and output on your own prompts

What this tool meant

Nano Banana 2 went GA on May 28, 2026 and was deprecated on October 6, 2026, about four months later. The October 29 shutdown date this page first reported is no longer on any of Google's pages we checked on October 13, and the original Nano Banana's date now reads differently on two of Google's own pages. For anyone building on the Gemini API, that makes the deprecations page a moving target: re-read it before each deadline instead of trusting a date you saw once. Keep your prompts, reference images and a saved output for every asset type you care about, and re-run them on the replacement before you switch. If those images feed an AI video pipeline as first frames or references, check the new outputs inside the video step too, not only as stills.

Sources

Spent credits on AI video that failed?

AVA automates the refund flow across every video provider

Free Chrome extension. Detects the failure mode, captures evidence, drafts the refund email with the technical term and Generation ID. Click send.

Other shutdowns in AI Image