Gemini 2.5 Flash API pricing

Google's Gemini 2.5 Flash tier. Available at listed at platform rate (no published official USD price).

In short: Gemini 2.5 Flash costs $0.15 per 1M input tokens and $1.251 per 1M output tokens. No official USD list price is published for this model, so it bills at platform rate — the reason to use it is access and consolidated billing rather than a discount. At 50M input and 10M output a month that is about $20. Rates verified 2026-09-26.
RouteInput / 1MOutput / 1M
Platform rate$0.15$1.251

USD, standard tier, verified 2026-09-26.

Check live rates on the platform →Free to sign up · $1 minimum top-up · No prepayment

Specifications

VendorGoogle
Context window—
Max output—
CategoryUS frontier

What Gemini 2.5 Flash costs at your volume

Usage levelInput / output per monthMonthly cost
Light — prototyping, a few thousand calls5M / 1M$2.00
Working — one developer, daily use50M / 10M$20.01
Heavy — team or agent loops in production500M / 100M$200.10

Calculated at $0.15 input / $1.251 output per 1M tokens, assuming a 5:1 input-to-output ratio. Your ratio decides the real number — run your own figures through the cost calculator.

When Gemini 2.5 Flash is the right call

At $0.15 per million input tokens this sits in the low-cost band. It is a good fit for high-volume work — classification, extraction, summarisation at scale, autocomplete, and any pipeline where you call the model thousands of times a day.

It is usually the wrong call for tasks where a wrong answer is expensive to unwind; at this price the saving is small enough that escalating a hard case to a stronger model is usually worth it.

Where Gemini 2.5 Flash sits in the index

One model, three rankings — because the model that is cheapest per input token is frequently not the cheapest per task. Output tokens cost a median of 4.0× what input costs across these 216 models, so a workload that generates more than it reads flips the order. Percentile is the share of models that cost more than this one.

Gemini 2.5 Flash against all 216 models in the rate index. Rates checked 2026-09-26.
Ranked byPositionPercentileRate
Input rate55 of 21675%$0.15
Output rate95 of 21656%$1.251
Agent mix 1:3, blended85 of 21661%$0.9757

On an agent mix the lowest blended rate in the same index is Gemma2 9B It at $0.01 per 1M tokens — about 97.6× less than this model at the same ratio. That gap is what the re-ranked index exists to show: sorting by input price alone can put a model 68 places out.

Inside Google's 26 listed models, Gemini 2.5 Flash is 17 of 26 on the same agent mix, between Gemma2 9B It at $0.01 and Gemini 2.5 Pro at $3.9062 per 1M blended tokens. Most real decisions are made inside one vendor's range rather than across the whole index — see the full Google range.

Similarly priced alternatives

Similarly pricedVendorIn / out per 1Mvs this
DeepSeek R1DeepSeek$0.2899 / $1.1596+$0.05
GPT-5 miniOpenAI$0.125 / $1−$0.28
DeepSeek V4 FlashDeepSeek$0.22 / $0.66−$0.52

Blended comparison (input + output per 1M). Price is one axis — the models above are not interchangeable, they are the ones worth testing side by side at this budget.

Calling Gemini 2.5 Flash

The identifier you send is gemini-2.5-flash — copy it exactly, because a mismatch returns a model error rather than a connection error, which sends most people to debug the wrong thing. Everything else is a base URL argument; official SDKs work unchanged.

from openai import OpenAI

client = OpenAI(base_url="https://aicomp.ai/v1", api_key="sk-...")

resp = client.chat.completions.create(
    model="gemini-2.5-flash",
    messages=[
        {"role": "system", "content": "Answer in one short paragraph."},
        {"role": "user", "content": "Explain what changed in this release."},
    ],
    max_tokens=300,
)

# prompt_tokens / completion_tokens 是真实账单的唯一依据 —— 记下来,别猜
print(resp.usage.prompt_tokens, resp.usage.completion_tokens)

Log the usage object on every call, not just while you are optimising. Rates follow vendor promotions and can move without notice, so a per-call record is the only thing that tells you later whether a price change actually hit you — and in which direction.

import json

# 把每次调用的 usage 落盘,一周后你就有了自己的 in:out 比例。
# 拿这个比例去 /calculator/ 比价,比对着价目表猜准得多 ——
# output 单价是 input 的好几倍,猜错方向就是往贵了算。
with open("usage.jsonl", "a") as fh:
    fh.write(json.dumps({
        "model": model,
        "in": resp.usage.prompt_tokens,
        "out": resp.usage.completion_tokens,
    }) + "\n")

Setting it up

Pointing an existing integration at this model is a base URL change, not a rewrite. Pick your tool:

FAQ

How much does Gemini 2.5 Flash cost per million tokens?

$0.15 per million input tokens and $1.251 per million output tokens. No official USD list price is published for this model, so it is billed at platform rate.

Is Gemini 2.5 Flash cheaper than buying direct?

There is no published official USD price to compare against for this model — it is billed at platform rate, and the reason to route it through a gateway is access and consolidated billing rather than a discount.

What does Gemini 2.5 Flash cost per month in practice?

At a 5:1 input-to-output ratio it is about $2.00 a month for light use (5M input tokens) and roughly $200.10 for heavy use (500M input). Agent workloads sit at the high end because every turn resends the context — see what actually drives Claude Code cost.

Which models cost about the same as Gemini 2.5 Flash?

The comparison table further up this page lists the three closest in blended price. If you are choosing on cost alone, start there and test the top two on your own prompts — price per token is only half the equation, the other half is how many tokens a model needs to finish the task.

How do I start using Gemini 2.5 Flash?

You need an API key, then point your client at the gateway base URL. It is a one-line change in most SDKs — see the SDK setup guide, or the Claude Code and Cursor guides for those tools.

What is the Gemini 2.5 Flash API price per 1M tokens?

$0.15 per 1M input and $1.251 per 1M output. The two directions are quoted separately because a request is billed twice — once for what you send, once for what comes back — and the rates differ.

How much more does Gemini 2.5 Flash charge for output than input?

Output tokens cost 8.3x what input tokens do here — $0.15 per 1M in against $1.251 per 1M out. The median output-to-input multiple across our full price index is 4.0x, so this model sits above that line. It matters more than it looks: a coding agent writes far more than it reads, so on this model the output rate — not the input rate people usually compare — decides the bill. See why output pricing dominates.

How much does Gemini 2.5 Flash cost for a coding agent?

About $200.10 a month at 500M input and 100M output tokens — the shape a coding assistant really produces, because every turn resends the whole context and the model writes more than it reads. The biggest lever is usually not the model but how much context you resend each turn — see what actually drives agent cost.

Does Gemini 2.5 Flash have an official list price?

No — Google does not publish a USD list price for this model, so there is nothing to compare against and it bills at platform rate: $0.15 in / $1.251 out per 1M. The reason to route it through a gateway is access and one consolidated bill across vendors, not a discount.

Get Gemini 2.5 Flash access