Nano Banana 2
API ID gemini-3.1-flash-image
Launched October 6, 2026
gemini-3.1-flash-image is a Google model, released June 2026. It has a 131,072-token context window and up to 32,768 output tokens. It takes image and PDF input and supports reasoning. Standard price: $0.50 input and $3.00 output per 1M tokens.
Gemini 3.1 Flash Image.
- Status
- Active
- Released
- June 2026
- Shutdown
- none announced
- Replacement
- Gemini Nano Banana 2.1gemini-nano-banana-2.1
No deprecation or shutdown date has been announced as of October 15, 2026.
How to migrate to Gemini Nano Banana 2.1
Benchmarks
Scores as each source published themComparing with Nano Banana, the previous model in this line. A score is compared only with the same benchmark from the same source, at the same setting where both have it. Full comparison: prices, limits, features
Arena
| Arena | Nano Banana 2 | Nano Banana | Change | Rank | Date | Source |
|---|---|---|---|---|---|---|
| Text to Image | 1262 ±4 | not rated | 11 of 82 60,515 votes | Oct 7, 2026 | source | |
| Image Edit | 1387 ±3 | not rated | 14 of 59 229,782 votes | Oct 6, 2026 | source |
Rated as gemini-3.1-flash-image (nano-banana-2) [web-search]. Ratings come from people voting between two anonymous answers. Data: Arena (arena.ai), CC BY 4.0.
Features
Compare models| Feature | Value | Since | Source |
|---|---|---|---|
| Structured outputsThe model can be held to a JSON schema you supply, so every reply parses without retries or cleanup. | Not supported | in place when tracking began (October 6, 2026) | source |
| Function callingAlso called tool use. You describe functions; the model replies with a function name and arguments for your code to run, then uses the result. | Not supported | in place when tracking began (October 6, 2026) | source |
| Prompt cachingA prompt prefix you send again and again (system prompt, documents, tools) is cached, so later requests cost less and start faster. | Not supported | in place when tracking began (October 6, 2026) | source |
| Batch APISend many requests as one job that runs in the background, usually finished within 24 hours, at a lower price than live requests. | Supported | in place when tracking began (October 6, 2026) | source |
| Image inputImages such as screenshots, photos and charts can go in the prompt for the model to read. | Supported | in place when tracking began (October 6, 2026) | source |
| PDF inputPDF files can go in the prompt directly, without converting them to text first. | Supported | in place when tracking began (October 6, 2026) | source |
| Reasoning / thinkingThe model can work through a problem step by step before it answers: usually better answers to hard questions, at the cost of more tokens and time. | Supported | in place when tracking began (October 6, 2026) | source |
| Built-in web searchThe company's API can search the web for the model during a request and cite its sources; you don't need a search service of your own. | Supported | in place when tracking began (October 6, 2026) | source |
| Context windowThe most the model can work with in one request, in tokens: your prompt, conversation history and files. A token is about three-quarters of an English word. | 131,072 tokens | in place when tracking began (October 6, 2026) | source |
| Max output tokensThe longest reply the model can write in one response, in tokens. A token is about three-quarters of an English word. | 32,768 tokens | in place when tracking began (October 6, 2026) | source |
Not published by Google: Fine-tuning, temperature parameter, top_p parameter, logprobs.
Price history
USD per 1M tokens, standard tierWe started recording this model's prices on Oct 1, 2026. The history grows with each daily check.
Show as a table
| From | Type | Price |
|---|---|---|
| Oct 1, 2026 | Input | $0.50 |
| Oct 1, 2026 | Output | $3.00 |
Prices
USD per 1M tokens, every type and band, by tier| Type | Modality | Price $/1M | In effect |
|---|---|---|---|
| Standard | |||
| input | text/image | $0.50 | |
| output | image | $60.00 | |
| output | text/thinking | $3.00 | |
| Batch | |||
| input | text/image | $0.25 | |
| output | text/thinking | $1.50 | |
Changelog
Changes we detected on Google's pages- Shutdown date removed
Google removed the shutdown date for gemini-3.1-flash-image
Heads-up
- Deprecated
Google deprecated gemini-3.1-flash-image: shuts down no earlier than Oct 29, 2026
Breaking
Related news
- DeprecationsHeads-upGoogle removed the shutdown date for gemini-3.1-flash-image
- DeprecationsBreakingGoogle deprecated gemini-3.1-flash-image: shuts down no earlier than 2026-10-29 (move to gemini-nano-banana-2.1)
- ReleasesHeads-upGemini Nano Banana 2.1 generally available (GA) : Released Gemini Nano Banana 2.1 (gemini-nano-banana-2.1), the latest high-efficiency image generation and con…
Email alerts
Get an email if gemini-3.1-flash-image changes
We'll email you the same morning we spot a deprecation notice, a new or moved shutdown date, a price change, or the model leaving Google's model list.
No password: one email to confirm, and you can unsubscribe any time. Privacy
Last checked · Sources: Google deprecations, Google pricing, Google models, Google aliases, Google api models