Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)

google/gemini-3.1-flash-image-preview

Description

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.

How this model compares

Overall covers the full catalog. By plan covers only models available on that tier (same rules as available models in your list). Position on min–average–max. Prices use the higher of prompt or completion per token, shown per 1M tokens.

Price (per 1M tokens)

Min
Max
This model
339 models in this groupPrice (per 1M tokens)
Min
$0.04
Avg
$12.395447
Max
$750.00
This model: $3.00 / 1M tokens

Context length (tokens)

Min
Max
This model
339 models in this groupContext length (tokens)
Min
4,095 tokens
Avg
379,884.782 tokens
Max
10,000,000 tokens
This model: 131,072 tokens

Capabilities

Text + Image → Text + ImageContext: 65,536 tokens
Input:
ImageText
Output:
ImageText
    Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)