Gemini 2.5 Flash Image
Gemini 2.5 Flash Image, a.k.a. "Nano Banana," is now generally available. It is a state of the art image generation model with contextual understanding.
gemini-2.5-flash-imageReleased 7 Oct 2025 (Oct 2025)Pricing
List prices at Google AI Studio, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $0.30 | $2.50 | |
| Cached input 90% off input | $0.03 | 90% off input | |
| Batch 50% off | $0.15 | $1.25 | 50% off |
| Flex 50% off | $0.15 | $1.25 | 50% off |
| Priority 80% more | $0.54 | $4.50 | 80% more |
| Web search $35.00 per 1,000 searches | $35.00 per 1,000 searches |
What it costs a month
At Google AI Studio list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$253
- RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$169
- Coding agent1,000 requests a day, 40K in / 2K out, cached$283
- Overnight batch20,000 requests a day, 4K in / 0.4K out, batch$660
Where to run it
3 hosts serve Gemini 2.5 Flash Image. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
Google AI StudioLab API gemini-2.5-flash-image | $0.30 / $2.50 Retires 15 Mar 2027 | gemini-2.5-flash-image | Retires 15 Mar 2027 |
Vertex AICloud gemini-2.5-flash-image | $0.30 / $2.50 Retires 15 Mar 2027 | gemini-2.5-flash-image | Retires 15 Mar 2027 |
ReplicateInference gemini-2.5-flash-image | - | gemini-2.5-flash-image |
Show 1 more listings: regions, snapshots and variantsHide regional listings
| Vertex AI | |||||||
| Alias gemini-2.5-flash-image | $0.30 / $2.50 Retires 15 Mar 2027 | gemini-2.5-flash-image | Retires 15 Mar 2027 | ||||
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- AudioImagesTextVideoPDFs
- Produces
- ImagesText
- Features
- Parallel tool callsPDF inputPrompt cachingURL context
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than Google AI Studio.
Smaller Google models
No cheaper Google model keeps its key capabilities.
Other frontier labs
No cheaper match from another frontier lab.
Open-weight picks
No cheaper open-weight match.
Model line
Newer and older versions, at each lab's own price.
- Jun 2026Gemini 3.1 Flash ImageLatest$0.50 / $3.00
- Oct 2025Gemini 25 Flash ImageNot listed
- Oct 2025Gemini 2.5 Flash ImageThis page$0.30 / $2.50
Call it
Using Google AI Studio's API.
from google import genai
client = genai.Client() # reads GEMINI_API_KEY
response = client.models.generate_content(model="gemini-2.5-flash-image", contents="Hello")
print(response.text)curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-image:generateContent" \
-H "x-goog-api-key: $GEMINI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contents": [{"parts": [{"text": "Hello"}]}]}'from litellm import completion
response = completion(
model="gemini/gemini-2.5-flash-image",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does Gemini 2.5 Flash Image cost?
On Google AI Studio, Gemini 2.5 Flash Image costs $0.30 per million input tokens and $2.50 per million output tokens. Cached input costs $0.03 per million tokens.
Which APIs offer Gemini 2.5 Flash Image?
Gemini 2.5 Flash Image runs on 3 APIs: Google AI Studio, Vertex AI and Replicate.
What is Gemini 2.5 Flash Image's context window?
66K tokens, with up to 33K tokens in one reply.
Is Gemini 2.5 Flash Image being retired?
Google AI Studio and Vertex AI retire it on 15 Mar 2027. 1 host keeps serving it.
Is there a newer version of Gemini 2.5 Flash Image?
Yes. Gemini 3.1 Flash Image is the newest model in this line, released on 18 Jun 2026.
When was Gemini 2.5 Flash Image released?
Google released it on 7 Oct 2025.
What is Gemini 2.5 Flash Image's API model id?
Use gemini-2.5-flash-image with Google AI Studio.
Sources
Raw catalog entry for gemini-2.5-flash-image on Google AI Studio
{
"cache_read_input_token_cost": 3e-8,
"deprecation_date": "2027-03-15",
"deprecation_source": "https://ai.google.dev/gemini-api/docs/deprecations",
"successor_model": "gemini/gemini-3.1-flash-lite-image",
"input_cost_per_audio_token": 0.000001,
"input_cost_per_token": 3e-7,
"input_cost_per_token_batches": 1.5e-7,
"input_cost_per_token_flex": 1.5e-7,
"input_cost_per_token_priority": 5.4e-7,
"litellm_provider": "gemini",
"supports_reasoning": false,
"max_input_tokens": 65536,
"max_output_tokens": 32768,
"mode": "image_generation",
"output_cost_per_image": 0.039,
"output_cost_per_image_token": 0.00003,
"output_cost_per_image_token_batches": 0.000015,
"output_cost_per_image_token_priority": 0.000054,
"output_cost_per_reasoning_token": 0.0000025,
"output_cost_per_token": 0.0000025,
"output_cost_per_token_batches": 0.00000125,
"output_cost_per_token_flex": 0.00000125,
"output_cost_per_token_priority": 0.0000045,
"rpm": 100000,
"source": "https://ai.google.dev/gemini-api/docs/pricing",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/images/generations",
"/v1/images/edits"
],
"supported_modalities": [
"text",
"image",
"audio",
"video"
],
"supported_output_modalities": [
"text",
"image"
],
"supports_audio_output": false,
"supports_function_calling": false,
"supports_parallel_function_calling": true,
"supports_pdf_input": true,
"supports_prompt_caching": true,
"supports_response_schema": false,
"supports_system_messages": true,
"supports_tool_choice": true,
"supports_url_context": true,
"supports_vision": true,
"supports_web_search": false,
"tpm": 8000000,
"search_context_cost_per_query": {
"search_context_size_low": 0.035,
"search_context_size_medium": 0.035,
"search_context_size_high": 0.035
},
"supports_audio_input": false,
"supports_image_size": false
}