Last refreshed 2026-06-15. Next refresh: weekly.
Why use Nano Banana 2 (Gemini 3.1 Flash Image) on OpenRouter?
OpenRouter offers Nano Banana 2 (Gemini 3.1 Flash Image) with pay-as-you-go pricing at $0.50/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.
Compare Nano Banana 2 (Gemini 3.1 Flash Image) across 3 providers to find the best fit for your use caseInput / 1M
$0.50
Output / 1M
$3.00
Cache
Not sourced
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: google/gemini-3.1-flash-imageModel ID
google/gemini-3.1-flash-imageRequest example
Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID
google/gemini-3.1-flash-image.Gotchas
- Use provider model ID "google/gemini-3.1-flash-image", not the LLMReference slug "gemini-3.1-flash-image".
Compare Nano Banana 2 (Gemini 3.1 Flash Image) Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Google AI Studio | $0.50 | $60.00 |
| Prodia | — | — |
| OpenRouter | $0.50 | $3.00 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.50 |
| Output tokens | $3.00 |
Capabilities
VisionMultimodalReasoningBatch API
About Nano Banana 2 (Gemini 3.1 Flash Image)
Nano Banana 2 is the GA Gemini 3.1 Flash Image model for image generation and editing through the Gemini API. It accepts text, image, PDF, and video inputs, adds video-to-image generation for thumbnails, posters, and infographics, returns text and images, supports search grounding and thinking, and replaces the gemini-3.1-flash-image-preview model retiring on 2026-06-25.
Get Started
Model Specs
Released2026-05-28
Context131k
ArchitectureDecoder Only
Knowledge cutoff2025-01