Google · Single modalityReleased 2025-03-20

gemini-2.5-flash-image

google/gemini-2.5-flash-image id

Nano Banana (Gemini 2.5 Flash Image) is Google's first fully hybrid reasoning model, letting developers turn thinking on or off and set thinking budgets to balance quality, cost, and latency. Upgraded for rapid creative workflows, it can generate interleaved text and images and supports conversational, multi‑turn image editing in natural language. It’s also locale‑aware, enabling culturally and linguistically appropriate image generation for audiences worldwide.

Web search
Type
Use gemini-2.5-flash-image
# Drop-in OpenAI-compatible client
$ import { generateText } from 'ai'
$
$ const { text } = await generateText({
$ model: 'google/gemini-2.5-flash-image',
$ baseURL: 'https://synapse.garden/api/v1',
$ apiKey: process.env.MG_KEY,
$ prompt: 'Why is the sky blue?',
$ })
32.8K
CONTEXT WINDOW
65.5K
MAX OUTPUT
$0.330/M
INPUT · PER M
$2.75/M
OUTPUT · PER M
PRICING

List prices, every modality.

RatePer million tokens · USD
Input$0.330/M
Output$2.75/M
Cache read$0.033/M
Honest list pricesHow we calculate prices
MORE FROM GOOGLE

Other Google models

See all 26
Model
Input
Output
Context
Type
FAQ · GEMINI-2.5-FLASH-IMAGE

Frequently asked

01 / 04

How do I call gemini-2.5-flash-image from my code?

Use the OpenAI or Anthropic SDK and point baseURL at https://synapse.garden/api/v1. Set model: ‘google/gemini-2.5-flash-image and supply your Synapse Garden API key. No code changes beyond the base URL.

02 / 04

How much does gemini-2.5-flash-image cost?

Input: $0.330/M per million tokens. Output: $2.75/M per million tokens. The free tier includes a million tokens every month at no cost.

03 / 04

What's the context window for gemini-2.5-flash-image?

gemini-2.5-flash-image supports a context window of 32.8K tokens, with a maximum output of 65.5K tokens.

04 / 04

Do I need a separate Anthropic or OpenAI account?

No. Synapse Garden is the single API surface — one key gives you OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, xAI, Cohere, and more. Billing, rate limits, and audit logs are unified.

READY

Try gemini-2.5-flash-image in three minutes.

Sign up, create a key, drop our base URL into your existing client. The free tier includes a million tokens every month — no credit card.