← All models

gemini-2.5-flash

Run gemini-2.5-flash through Flow AI's OpenAI-compatible API. We route to the cheapest provider hosting it and fail over automatically — you pay the live clearing price plus 2.5%.

Input $/M
$0.30
Output $/M
$2.50

Use it

python
from openai import OpenAI
client = OpenAI(base_url="https://api.flowaiapi.com/v1", api_key="fa-...")
r = client.chat.completions.create(
    model="gemini-2.5-flash",          # or "auto" to let Flow AI pick the cheapest capable model
    messages=[{"role": "user", "content": "..."}],
)

How Flow AI makes gemini-2.5-flash cheaper

Flow AI runs an open market for inference: it clears each request at the lowest price across every provider hosting gemini-2.5-flash — direct APIs, inference providers, flat-rate subscriptions, and self-hosted nodes — and bills you the true (prompt-cache-aware) cost plus a flat 2.5%. The published rate is always the ceiling. See the docs or all models.

gemini-2.5-flash API — the cheapest way to run gemini-2.5-flash | Flow AI