Last refreshed 2026-06-15. Next refresh: weekly.
Why use Nano Banana 2 (Gemini 3.1 Flash Image Preview) on OpenRouter?
OpenRouter offers Nano Banana 2 (Gemini 3.1 Flash Image Preview) 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 Preview) across 4 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-image-previewModel ID
google/gemini-3.1-flash-image-previewRequest example
Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID
google/gemini-3.1-flash-image-preview.Gotchas
- Use provider model ID "google/gemini-3.1-flash-image-preview", not the LLMReference slug "gemini-3.1-flash-image-preview".
Compare Nano Banana 2 (Gemini 3.1 Flash Image Preview) Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Google AI Studio | $0.50 | $60.00 |
| GCP Vertex AI | $0.50 | $60.00 |
| OpenRouter | $0.50 | $3.00 |
| Vercel AI Gateway | $0.50 | $3.00 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.50 |
| Output tokens | $3.00 |
Capabilities
No model capability flags are currently sourced.
About Nano Banana 2 (Gemini 3.1 Flash Image Preview)
Preview release of Nano Banana 2 for Gemini 3.1 Flash Image. Google released the GA gemini-3.1-flash-image model on 2026-05-28 and will retire this preview API ID on 2026-06-25.
Get Started
Model Specs
Released2026-03-03
Context66k
ArchitectureDecoder Only
Knowledge cutoff2025-01