# Nano Banana 2

> 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.

Source page: https://www.aimodel.directory/models/gemini-3-1-flash-image
Last verified: 4 Oct 2026

## Specifications

- **Developer:** Google DeepMind
- **Release date:** 28 May 2026 (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image.toml)
- **Status:** Generally available (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image.toml)
- **Weights:** Proprietary (API only) (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image.toml)
- **Context window:** 131K (131,072 tokens) (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image.toml)
- **Max output:** 33K tokens (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image.toml)
- **Knowledge cutoff:** Jan 2025 (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image.toml)
- **Input:** Text, images, video and PDFs (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image.toml)
- **Output:** Text and images (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image.toml)
- **Reasoning mode:** Yes (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image.toml)
- **Tool calling:** No (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/google/models/gemini-3.1-flash-image.toml)

## API pricing (USD per 1M tokens)

| Provider | Input | Output | Cached input | Context |
|---|---|---|---|---|
| Gemini API | $0.50 | $60 | – | 66K |
| Gemini API | $0.50 | $60 | – | 131K |
| Google Vertex AI | $0.50 | $60 | $0.05 | 131K |
| OpenRouter | $0.50 | $3 | – | 66K |
| Vercel AI Gateway | $0.50 | $3 | $0.05 | 131K |
| OpenRouter | $0.50 | $3 | – | 131K |
| Vercel AI Gateway | $0.50 | $3 | $0.05 | 131K |

## FAQ

### 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.

---
Data licensed CC BY 4.0. Cite as: AI Model Directory, "Nano Banana 2", https://www.aimodel.directory/models/gemini-3-1-flash-image