Back to model shop
Google
Rendered from D1 model snapshot · D1 read 102msCache check: checking

google/gemini-2.5-flash-image

Nano Banana

Nano Banana image model for fast generation, edits, and character-consistent assets

This model's cache

This model page returns the exact headers below. The page and /api/models/google--gemini-2.5-flash-image share the model:google--gemini-2.5-flash-image tag, so invalidation stays scoped to this model.

Cache key/models/google--gemini-2.5-flash-image
Cache-Controlpublic, max-age=300, stale-while-revalidate=3600
Cache-Tagcatalogmodel:google--gemini-2.5-flash-image

Workers Cache derives the key from this path/query, plus the Worker entrypoint and current Worker version.

export const Route = createFileRoute('/models/$modelSlug')({
  headers: () => ({
    'Cache-Control': 'public, max-age=300, stale-while-revalidate=3600',
    'Cache-Tag': 'catalog,model:google--gemini-2.5-flash-image',
  }),
})

Invalidate this cache tag

await ctx.cache.purge({ tags: ['model:google--gemini-2.5-flash-image'] })

Use this when one model changes and you do not want to evict the whole catalog.

Gemini FlashReasoningAttachmentsTemperature control
Released
Aug 26, 2025
Last updated
Aug 26, 2025
Context window
32.8K tokens
Max output
32.8K tokens
Open weights
No
Family
Gemini Flash

Starts at

$0.3

per 1M input tokens

Output

$2.5

Sellers

4

No cart or checkout in this MVP — pick a provider below and open their docs when you're ready to use it.

Capabilities & modalities
Reasoning
Tool calling
Structured output
Attachments
InputText, Image
OutputText, Image
Provider shelf
Where to get Nano Banana

Sorted by lowest input price

ProviderInput / 1MOutput / 1MContext

Vercel AI Gateway

google/gemini-2.5-flash-image

$0.3$2.532.8KDocs

Google

gemini-2.5-flash-image

$0.3$3032.8KDocs

Kilo Gateway

google/gemini-2.5-flash-image

$0.3$2.532.8KDocs

OpenRouter

google/gemini-2.5-flash-image

$0.3$2.532.8KDocs
More from Google