Nano Banana 2 Preview
Live·Googlemodel·Served by Google
Image model for prompt-driven generation, editing, and visual design workflows
Providers
Every request goes to the cheapest healthy route and fails over to the next.
Loading the routes…
Latency and throughput appear after the first hourly test request to each provider, or once this model has traffic here. Every request goes to the cheapest healthy route and fails over to the next.
Pricing
What a call costs through Rapid Router, at the route requests go to.
What it supports
- Tool calling (function calling)
- JSON mode and structured output
- Image input (vision)
- Audio input
- Extended reasoning
- Streaming responses
- OpenAI SDK, Anthropic SDK and any OpenAI-compatible client
Make a request
The same request you send to OpenAI today, pointed at https://rapidrouter.ai/api/v1.
curl https://rapidrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-flash-image-preview",
"messages": [{ "role": "user", "content": "Hello" }]
}'Frequently asked
How do I call Nano Banana 2 Preview through an OpenAI-compatible API?
Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to google/gemini-3.1-flash-image-preview. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.
What is the context window of Nano Banana 2 Preview?
Nano Banana 2 Preview has a context window of 131,072 tokens on Rapid Router, and returns up to 32,768 output tokens per reply.
What can Nano Banana 2 Preview do?
On Rapid Router, Nano Banana 2 Preview supports image input, extended reasoning.
More Gemini models
Compare and rank
What a month of your own usage costs on it: cost calculator · every head-to-head: comparisons