Nano Banana 2
Summary
Nano Banana 2 is a proprietary language model from Google DeepMind, released on 28 May 2026. It accepts text, images, video and PDFs and generates text and images, with a 131K-token context window and up to 33K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $0.50 per million input tokens and $3 per million output tokens (OpenRouter), across 4 providers we track.
Image model for prompt-driven generation, editing, and visual design workflows
Last verified 4 Oct 2026. Every figure on this page links to its source.
Specifications
| Developer | Google DeepMind |
|---|---|
| Release date | 28 May 2026 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Proprietary (API only) [models.dev] |
| Context window | 131K (131,072 tokens) [models.dev] |
| Max output | 33K tokens [models.dev] |
| Knowledge cutoff | Jan 2025 [models.dev] |
| Input | Text, images, video and PDFs [models.dev] |
| Output | Text and images [models.dev] |
| Reasoning mode | Yes [models.dev] |
| Tool calling | No [models.dev] |
Nano Banana 2 API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| Gemini API gemini-3.1-flash-image-preview | $0.50 | $60 | – | 66K | models.dev, 4 Oct 2026 |
| Gemini API gemini-3.1-flash-image | $0.50 | $60 | – | 131K | models.dev, 4 Oct 2026 |
| Google Vertex AI gemini-3.1-flash-image | $0.50 | $60 | $0.05 | 131K | models.dev, 4 Oct 2026 |
| OpenRouter google/gemini-3.1-flash-image-preview | $0.50 | $3 | – | 66K | OpenRouter, 4 Oct 2026 |
| Vercel AI Gateway google/gemini-3.1-flash-image-preview | $0.50 | $3 | $0.05 | 131K | models.dev, 4 Oct 2026 |
| OpenRouter google/gemini-3.1-flash-image | $0.50 | $3 | – | 131K | OpenRouter, 4 Oct 2026 |
| Vercel AI Gateway google/gemini-3.1-flash-image | $0.50 | $3 | $0.05 | 131K | models.dev, 4 Oct 2026 |
Frequently asked questions
What is the context window of Nano Banana 2?
Nano Banana 2 has a context window of 131,072 tokens (131K) and can generate up to 32,768 tokens in a single response, according to models.dev.
How much does the Nano Banana 2 API cost?
Through Gemini API, Nano Banana 2 costs $0.50 per million input tokens and $60 per million output tokens. The lowest listed price is $0.50 input / $3 output through OpenRouter. Prices last verified 4 Oct 2026.
Is Nano Banana 2 open source?
No. Nano Banana 2 is a proprietary model; Google DeepMind has not released its weights. It is available through APIs including Gemini API, Google Vertex AI, OpenRouter, Vercel AI Gateway.
When was Nano Banana 2 released?
Google DeepMind released Nano Banana 2 on 28 May 2026, according to models.dev.
Which providers offer Nano Banana 2?
We track Nano Banana 2 on 4 providers: Gemini API, Google Vertex AI, OpenRouter, Vercel AI Gateway.
Change history
No changes detected since we started tracking this model. We re-check every source daily.
Sources
- https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image.toml
- https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image-preview.toml
- https://github.com/sst/models.dev/blob/dev/providers/google-vertex/models/gemini-3.1-flash-image.toml
- https://openrouter.ai/google/gemini-3.1-flash-image-preview
- https://github.com/sst/models.dev/blob/dev/providers/vercel/models/google/gemini-3.1-flash-image-preview.toml
- https://openrouter.ai/google/gemini-3.1-flash-image
- https://github.com/sst/models.dev/blob/dev/providers/vercel/models/google/gemini-3.1-flash-image.toml