Gemini 3.1 Flash Image (Nano Banana 2) is optimized for image understanding and generation and offers a balance of price and performance.
Try in Agent Studio Deploy example app
| Model ID | gemini-3.1-flash-image |
|
|---|---|---|
| Modalities |
|
|
| Token limits | Context window | 131,072 |
| Maximum output tokens | 32,768 | |
| Capabilities |
|
|
| Consumption options |
|
|
| See Consumption options for more information. | ||
| Input size limit | 500 MB | |
| Technical specifications | Image |
|
| Text |
|
|
| Parameter defaults |
|
|
| Supported regions |
Model availability |
|
| See Deployments and endpoints for more information. | ||
| Knowledge cutoff date | January 2025 | |
| Versions |
|
|
| Security controls | Online prediction |
|
| Batch inference |
|
|
| See Security controls for more information. | ||
| Pricing | See Pricing. | |
Image generation specifications
Gemini 3.1 Flash Image consumes 1120 input image tokens per input image. Gemini 3.1 Flash Image consumes 747 output image tokens for 512 (roughly 0.25MP), 1120 tokens for 1K (roughly 1MP), 1680 tokens for 2K (roughly 4MP), and 2520 tokens for 4K (roughly 16MP). Additional charges for input and output tokens for other modalities such as text and video also apply. Refer to the pricing page for the latest.
For more information about image generation using Gemini 3.1 Flash Image, see Generate and edit images with Gemini.
Preview features
The following features remain in Preview:
- 4K image outputs
- Video inputs