Nano Banana 2 (Gemini 3.1 Flash Image Preview)
google/gemini-3.1-flash-image-previewNano Banana 2 is Google’s image generation and editing model with text and image input.
66K tokens of context — about 49,152 words, on a scale that ends at 2M.
What it can do
- Reasoning
- Vision
- Takes image
- Takes text
- Gives image
- Gives text
Released 26 Feb 2026 · checked 3 Oct 2026.
About it
Nano Banana 2, also called Gemini 3.1 Flash Image Preview, is a Google model for generating and editing images. It accepts text or images and can return images or text. It supports reasoning and vision, with a 65,536-token context window. Pricing is $0.5 per million input tokens and $3 per million output tokens.
Review
In a line
Nano Banana 2 is Google’s Gemini 3.1 Flash Image Preview model for image generation and editing. Its model ID is google/gemini-3.1-flash-image-preview.
What it's good at
Use it for creating or editing images from text and image prompts. The model accepts both kinds of input and can produce images or text.
It includes vision, so it can work with image input, and it supports reasoning. Google describes its visual quality as Pro-level while running at Flash speed. See other image generation models and Google models.
Price in plain terms
Input costs $0.5 per million tokens. Output costs $3 per million tokens.
That works out to about 0.033 cents to read a 500-word page, using roughly 650 input tokens. A chat turn with about 1,000 input tokens and 500 output tokens costs about 0.2 cents. One thousand such turns cost about $2.00.
Context and limits
The context window is 65,536 tokens, which is the amount of text and other input the model can consider in one request. Its maximum output is 58,982 tokens in one answer.
It handles text and images as input and returns text or images.
Ways to use it
Send text, an image, or both to the model, then receive an image or text response. Apps and chat tools can use those same input and output types when they expose this model.
For software that works with model services, the identifier is google/gemini-3.1-flash-image-preview.
Verdict
Choose Nano Banana 2 if you need Google’s model for generating or editing images and want both image and text handling. Its vision and reasoning support suit prompts that combine pictures with instructions.
Check the token pricing before heavy use: output tokens cost more than input tokens, although the example costs are low for ordinary page reading and chat.
Verdict
Nano Banana 2 fits people who want one model to understand images, follow text instructions, and produce new or edited visuals. It also returns text, which helps when an app needs a written response alongside an image. The 65,536-token context leaves room for long prompts, while the 58,982-token output ceiling is substantial. Costs are usage-based and favor keeping output concise. The listed context, output, and input limits define its boundaries.
- Generates and edits images from text or image input
- Accepts both images and text
- Returns images or text
- Supports vision and reasoning
- About $2.00 for 1,000 example chat turns
- Output tokens cost $3 per million
- Preview model status is part of its name
- Pick it ifImage generation and editing; Apps that combine image and text prompts; Users comparing token-based model prices
- Skip it ifYou only need a text-only model
Pricing
Input is $0.5 per million tokens and output is $3 per million tokens. Example usage costs about 0.033 cents to read a page, 0.2 cents per chat turn, and $2.00 for 1,000 such turns.
Questions
What is Nano Banana 2?
It is Google’s Gemini 3.1 Flash Image Preview model for generating and editing images.
Can it understand images?
Yes. Vision is listed, and the model accepts image input.
What can it return?
It can return images or text.
How much does it cost?
Input is $0.5 per million tokens. Output is $3 per million tokens.
How large is its context window?
It has a 65,536-token context window.
What is its maximum output?
The maximum output is 58,982 tokens.
What is the model ID?
The model ID is google/gemini-3.1-flash-image-preview.
On these boards
More from Google
- Gemini 3.8 Flash$0.75 in
- Gemini 3.8 Flash (batch)$0.38 in
- Gemini 3.7 Flash$0.75 in
- Gemini 3.7 Flash (batch)$0.38 in
- Gemini 3.5 Flash Lite$0.30 in
- Gemini 3.5 Flash Lite (batch)$0.15 in
- Gemini 3.6 Flash$0.75 in
- Gemini 3.6 Flash (batch)$0.38 in
- Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)$0.25 in
- Nano Banana 2 (Gemini 3.1 Flash Image)$0.50 in
- Nano Banana Pro (Gemini 3 Pro Image)$2 in
- Gemini 3.5 Flash$1.50 in
- Gemini 3.5 Flash (batch)$0.75 in
- Gemini 3.1 Flash Lite$0.25 in
- Gemini 3.1 Flash Lite (batch)$0.13 in
- Gemini Flash Latest$0.75 in
- Gemini Pro Latest$2 in
- Gemma 4 26B A4B $0.068 in