Last refreshed 2026-05-31. 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 caseSetup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: google/gemini-3.1-flash-image-previewgoogle/gemini-3.1-flash-image-previewRequest example
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.
FAQ
What does Nano Banana 2 (Gemini 3.1 Flash Image Preview) cost on OpenRouter?
On OpenRouter, Nano Banana 2 (Gemini 3.1 Flash Image Preview) costs $0.5 per 1M input tokens and $3 per 1M output tokens.
What is the context window for Nano Banana 2 (Gemini 3.1 Flash Image Preview) on OpenRouter?
Nano Banana 2 (Gemini 3.1 Flash Image Preview) supports a 66k token context window on OpenRouter.
How does OpenRouter compare to other Nano Banana 2 (Gemini 3.1 Flash Image Preview) providers?
Nano Banana 2 (Gemini 3.1 Flash Image Preview) is available from 4 providers. The cheapest input pricing is $0.5/1M tokens from Google AI Studio.
What API model ID do I use for Nano Banana 2 (Gemini 3.1 Flash Image Preview) on OpenRouter?
Use the model ID google/gemini-3.1-flash-image-preview when calling OpenRouter's API.
Who created Nano Banana 2 (Gemini 3.1 Flash Image Preview)?
Nano Banana 2 (Gemini 3.1 Flash Image Preview) was created by Google DeepMind as part of the Gemini 3.1 model family.
Is Nano Banana 2 (Gemini 3.1 Flash Image Preview) open source?
Nano Banana 2 (Gemini 3.1 Flash Image Preview)'s open source status is unknown in the seed data.