Gemini 3.1 Flash Image Preview (Nano Banana 2)
Google's latest image generation model combining Nano Banana Pro's advanced capabilities with Gemini Flash's speed. Supports text and image input, outputs text and images up to 4K resolution.
- Input price
- $0.45list $0.50-10%
- Output price
- $2.70list $3.00-10%
- Context
- 128K
- Max output
- 8K
- Modalities
- InputTextImagePDFOutputTextImage
- Capability
- —
- 30-day uptime
- —
- Released
- 2026-02-26
- Knowledge cutoff
- —
This model is deprecated
Deprecated on 2026-06-25.
Switch to google/gemini-3.1-flash-imageProviders
Providers that serve this model. With Auto, each request goes to the best available provider. Prices in USD per 1M tokens; stats cover the last 30 days.
Pricing
All prices for this model, by service tier.
- Input
- $0.45list $0.50-10%
- per 1M tokens
- Output
- $2.70list $3.00-10%
- per 1M tokens
- Cache read
- $0.045list $0.05-10%
- per 1M tokens
- Reasoning output
- $2.70list $3.00-10%
- per 1M tokens
- Image input
- $0.45list $0.50-10%
- per 1M tokens
- Image output
- $54.00list $60.00-10%
- per 1M tokens
- Web search
- $0.0126list $0.014-10%
- per request
Make a request
Set your provider preferences, then copy the request. It reads your API key from OHMYGPT_API_KEY.
Similar models
Other models with the same output types at a similar price.