Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)
GoogleID: google/gemini-3.1-flash-image-preview
Gemini 3.1 Flash Image Preview, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed. It combines advanced contextual understanding with fast, cost-efficient inference, making complex image generation and iterative edits significantly more accessible. Aspect ratios can be controlled with the [image_config API Parameter](https://openrouter.ai/docs/features/multimodal/image-generation#image-aspect-ratio-configuration)
Pricing per 1M Tokens
| Input (Prompt) | $0.50 |
| Output (Completion) | $3.00 |
| Cache Read | Free |
| Cache Write | Free |
| Image | N/A |
Specifications
| Context Length | 66K |
| Max Output Tokens | 66K |
| Input Modalities | Image + Text |
| Output Modalities | Image + Text |
| Tokenizer | Gemini |
| Instruct Type | N/A |
| Top Provider Context | 66K |
| Top Provider Max Output | 66K |
| Moderated | No |
Compare this model
See how Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) stacks up against other models.
More from Google
Last updated: March 23, 2026
First tracked: March 23, 2026