aiapicompareaiapicompare
aiapicompare › All models › Gemini 2.5 Flash

Gemini 2.5 Flash: API pricing compared

Gemini 2.5 Flash is available from 5 provider(s). Cheapest: DeepInfra at $0.300 per 1M input tokens and $2.50 per 1M output tokens. Context window: up to 1 048 576 tokens. Developer: Google.

ProviderInput $/1MOutput $/1MContext
DeepInfra
google/gemini-2.5-flash
$0.300$2.501MGo to provider ↗ Set up
NanoGPT
gemini-2.5-flash
$0.300$2.501.05MGo to provider ↗ Set up
OpenRouter
google/gemini-2.5-flash
$0.300$2.501.05MGo to provider ↗ Set up
UplinkSwitch
gemini-2.5-flash
$0.300$2.501.05MGo to provider ↗ Set up
⚠ Far below the reference price – please check first
AnyModel⚠ 96% below reference
ag/gemini-2.5-flash
$0.030—1.05MGo to provider ↗ Set up

Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.

Reference price: $0.300 / $2.50 per 1M tokens (input / output), OpenRouter – for this model usually the vendor's list price · How we compare → · Wrong price? Report it

Price history (cheapest provider)

Price history is recorded daily – the chart appears after the first price change.

Quick start with DeepInfra

from openai import OpenAI
import os

client = OpenAI(base_url="https://api.deepinfra.com/v1/openai", api_key=os.environ["DEEPINFRA_API_KEY"])
r = client.chat.completions.create(
    model="google/gemini-2.5-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)

FAQ

Where is Gemini 2.5 Flash cheapest?

Currently at DeepInfra ($0.300 / 1M). Prices are updated daily; the provider’s website is authoritative.

How do I use Gemini 2.5 Flash in my tools?

All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.

More models from Google

Gemini 3.7 FlashGemini 3.5 FlashGemma 4 26B A4BGemma 4 31BGemma 3 27BGemini 3.8 FlashGemini 3.6 FlashGemini 3.1 Flash Lite PreviewGemini 2.5 Flash LiteGemma 3 12B ITGemini 3.1 Flash LiteGemini 3.5 Flash Lite