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
Output modalitiesimage

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 is priced as follows: 0.04$/image ;2.49m/tokens

What modalities does Gemini 2.5 Flash Image Preview support?

Gemini 2.5 Flash Image Preview accepts image and text input. It returns image output.

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 4 Neon

by Google

Gemini 4 Neon is the latest model in Google’s Gemini 4 series. It features frontier-level…

$3.3/1M in · $16.5/1M out
1,048,576 tokens context

Genie 4

by Google

Genie 4 is Google’s latest real-time interactive world generation model. Through the…

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

Gemini 4 Hydrogen

by Google

Gemini 4 Hydrogen is a Google Gemini 4 model focused on speed and efficiency. Potential…

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

Gemini Decision 1

by Google

Gemini Decision 1 is designed for judgment and decision-making tasks, helping developers…

$0.1/1M in
262,144 tokens context

Gemini 3.8 Live

by Google

Gemini 3.8 Live is a multimodal AI model from Google that delivers a low-latency…

$3/1M in · $12/1M out

Gemini 2.5 Flash Live

by Google

Gemini 2.5 Flash Live is Google's multimodal AI model for real-time interactions…

$3/1M in · $12/1M out

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