Nano Banana 2 (Gemini 3.1 Flash Image Preview)

google/gemini-3.1-flash-image-preview
by Google · image+text in · image+text out · 65.5K ctx · 2026-02-26

Gemini 3.1 Flash Image Preview, a.k.a. "Nano Banana 2," is Google’s latest state of the art image ge…

INPUT/ 1M tokens
OUTPUT/ 1M tokens
p50 TTFT945 ms7d
p95 TTFT10.66 s7d
TRAFFIC29.9Ktokens / 7d
Code samples
from openai import OpenAI

client = OpenAI(
    base_url="https://orcarouter.ai/v1",
    api_key="$ORCAROUTER_API_KEY",
)

response = client.chat.completions.create(
    model="google/gemini-3.1-flash-image-preview",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
Pricing
Per request$0.1510
CurrencyUSD
Flat fee per API call (image generation models)
Performance
TTFT p50
945 ms
Output speed
10145 tok/s
TTFT p95
10.66 s
Error rate
5.6%
Public benchmarks
No public benchmark scores ingested yet.
FAQ
How much does Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) cost on OrcaRouter?
Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) is priced at $0.1510 per request via OrcaRouter (flat per-call fee, charged per generation rather than per token).
What is Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)'s context window?
Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) supports a context window of 66K tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) via the OpenAI SDK?
Set OpenAI base_url to https://orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="google/gemini-3.1-flash-image-preview" in the chat.completions.create call.
Does OrcaRouter rate-limit Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)?
Per-model rate limits follow your OrcaRouter plan. Free tiers ship with conservative caps; paid tiers lift them. Check /pricing for current quotas.
Embed this badge
Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)pricing pending945ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/google/gemini-3.1-flash-image-preview" target="_blank"> <img src="https://www.orcarouter.ai/embed/google/gemini-3.1-flash-image-preview.svg" alt="Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview) on OrcaRouter" /> </a>
Markdown [![Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)](https://www.orcarouter.ai/embed/google/gemini-3.1-flash-image-preview.svg)](https://www.orcarouter.ai/models/google/gemini-3.1-flash-image-preview)