Gemini 2.5 Flash Image Preview

gemini-2.5-flash-image-preview · Google

Aihubmix supports the gemini-2.5-flash-image-preview model; you can add extra parameters modalities=["text", "image"] through the OpenAI-compatible chat interface; https://docs.aihubmix.com/en/api/Gemini-Guides#gemini-2-5-flash%3A-quick-task-support

API Pricing

Input$0.3 / 1M tokens
Output$1.2 / 1M tokens

Specifications

Context32.8K tokens
Modalitiesimage, text

Frequently asked questions

What is Gemini 2.5 Flash Image Preview?

Aihubmix supports the gemini-2.5-flash-image-preview model; you can add extra parameters modalities=["text", "image"] through the OpenAI-compatible chat interface; https://docs.aihubmix.com/en/api/Gemini-Guides#gemini-2-5-flash%3A-quick-task-support

What is the context length of Gemini 2.5 Flash Image Preview?

Gemini 2.5 Flash Image Preview has a 32,800 token context window.

How much does Gemini 2.5 Flash Image Preview cost?

On AIHubMix, Gemini 2.5 Flash Image Preview costs $0.3 per million input tokens and $1.2 per million output tokens.

What modalities does Gemini 2.5 Flash Image Preview support?

Gemini 2.5 Flash Image Preview accepts image and text input.

How do I call Gemini 2.5 Flash Image Preview via API?

Gemini 2.5 Flash Image Preview is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to gemini-2.5-flash-image-preview — no other code changes needed.

Who created Gemini 2.5 Flash Image Preview?

Gemini 2.5 Flash Image Preview is developed by Google. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More models from Google

See all Google models →

Gemini 3.7 Flash

by Google

Gemini 3.7 Flash is Google’s natively multimodal reasoning model for coding, agents, web…

$0.75/1M in · $3.75/1M out
1,048,576 tokens context

Gemini 3.7 Flash (free)

by Google

Gemini 3.7 Flash free version: Free model resources are limited and provided only for…

1,000,000 tokens context

Gemini 3.6 Flash

by Google

Gemini 3.6 Flash provides sustained frontier-level intelligence optimized for real-world…

$1.5/1M in · $7.5/1M out
1,048,576 tokens context

Gemini 3.1 Flash Lite Image

by Google

Google's newest, most compact, and most cost-effective image generation and editing…

$0.25/1M in · $1.5/1M out

Gemini 3.5 Flash Lite

by Google

Gemini 3.5 Flash-Lite is a low-latency, cost-effective multimodal model optimized for…

$0.3/1M in · $2.5/1M out
1,048,576 tokens context

Gemini 3.5 Flash Lite (free)

by Google

Gemini 3.5 Flash-Lite free version: Free model resources are limited and provided only…

1,048,576 tokens context

Use Gemini 2.5 Flash Image Preview via the AIHubMix unified API — one interface for every major LLM.