Grok Imagine Video 1.5 is now available. xAI's latest video model: text-to-video and first-frame image-to-video with sound, 1–15 sec, up to native 1080p.Learn more
Google

Gemini 2.5 Flash Image (Nano Banana)

Save 70%

google/gemini-2.5-flash-image

Also callable as nano-banana

Gemini 2.5 Flash Image (Nano Banana) — retired. Google shut this model down on 2026-10-02; use Nano Banana 2.1 instead.

Context window
64K
Max output
32K
Input modalities
text · image
Output modalities
text · image
Capabilities
Vision · Image generation · Image editing
RouteMux name
google/gemini-2.5-flash-image

Gemini 2.5 Flash Image (Nano Banana) API pricing

Prices verified 2026-06-08

InputOfficial $0.3 / M tokens
$0.09/ M tokensSave 70%
OutputOfficial $2.5 / M tokens
$0.75/ M tokensSave 70%

Estimate cost

Estimated cost$0.00165

Limited time10% extra Credits on your first top-up — up to 200 bonus Credits

Applies to your first top-up within 72 hours of signing up. Minimum $20, once per account.

Sign up and claimNo subscription. Pay for what you use.

Key capabilities

VisionImage generationImage editing

Interface and protocols

Google Vertex AI

Use any of these IDs to call this model via the API.

RouteMux namegoogle/gemini-2.5-flash-image
Common namenano-banana

Replace the ROUTEMUX_KEY placeholder with your API key. Create one →

from google import genai

# RouteMux 兼容 Vertex AI Gemini generateContent 接口
client = genai.Client(
    api_key="<ROUTEMUX_KEY>",
    http_options={"base_url": "https://api.routemux.com/vertex-ai"},
)

response = client.models.generate_content(
    model="google/gemini-2.5-flash-image",
    contents="What is the meaning of life?",
)
print(response.text)
base_url: https://api.routemux.com/vertex-ai

Performance (last 30 days)

Gemini 2.5 Flash Image (Nano Banana) FAQ

›What is Gemini 2.5 Flash Image (Nano Banana)?

Gemini 2.5 Flash Image (Nano Banana) — retired. Google shut this model down on 2026-10-02; use Nano Banana 2.1 instead.

›How large is the context window of Gemini 2.5 Flash Image (Nano Banana)?

Gemini 2.5 Flash Image (Nano Banana) supports a context window of up to 64K tokens, with up to 32K output tokens per request.

›How much does the Gemini 2.5 Flash Image (Nano Banana) API cost?

Through RouteMux, Gemini 2.5 Flash Image (Nano Banana) is priced at $9, below the official list price.

›Which input and output modalities does Gemini 2.5 Flash Image (Nano Banana) support?

Gemini 2.5 Flash Image (Nano Banana) accepts text, image as input and produces text, image as output.