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-11-14.
RouteInput / 1MOutput / 1M
Platform rate$0.15$1.251

USD, standard tier. Rate read from the live rate config on 2026-11-14. Google publishes no USD list price for this model, so nothing here is cross-checked against one — this is a gateway rate, not a discount.

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, 8.3× apart on this model. The 5:1 input-to-output assumption in this table is generous, responses longer than that cost more per response than the row suggests, so treat these as floors rather than estimates. Put your own split through the cost calculator before committing a budget.

Cheap in, expensive out: how Gemini 2.5 Flash is priced

Gemini 2.5 Flash will quote you $0.15 per million input tokens, which reads as very cheap. It is. The trap is the other side of the request: output bills at $1.251, around 8.3×. A task that sends a short instruction and gets back a long answer pays most of its cost at the output rate, and this model stops being cheap there.

Where the shape works in your favour is the reverse: large input, small output. Classification of big documents, extraction from long text, embedding-adjacent pipelines, anything that swallows a lot and answers briefly. That is what $0.15 is genuinely good for.

Where Gemini 2.5 Flash sits in the index

Gemini 2.5 Flash is 58 of 231 on input rate and 100 of 231 on output rate. A gap of 42 places, because on this model the output rate is 8.3× the input rate, steeper than the index median of 4.0× An output-heavy workload therefore pushes it 42 places down the table, which is why the cheapest model per input token is routinely not the cheapest per task. Percentile is the share of the 231 models in this index that cost more than Gemini 2.5 Flash.

Gemini 2.5 Flash against all 231 models in the rate index. Rates checked 2026-11-14.
Ranked byPositionPercentileRate
Input rate58 of 23175%$0.15
Output rate100 of 23157%$1.251
Agent mix 1:3, blended89 of 23161%$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. Across the whole index, sorting by input price alone moves a model by as much as 77 places; on Gemini 2.5 Flash specifically the shift is 42 — which is what the re-ranked index exists to show.

Gemini 2.5 Flash is 58 of 231 across every model in the index; the comparison that usually settles a choice is Google's own lineup further down.

Gemini 2.5 Flash among Google's 4 models

Gemini 2.5 Flash is the cheapest of Google's 4 models in this index at $0.15 per 1M input tokens. The range inside that group runs from Gemini 2.5 Flash at $0.15 to Gemini 4 Argon at $1. A spread of 7×, and every other model in the group costs more on input than this one.

Gemini 2.5 Flash against the rest of the group, by input rate per 1M tokens. Rates checked 2026-11-14.
ModelIn / 1MOut / 1Mvs this
Gemini 2.5 Flash$0.15$1.251—
Gemini 3.7 Flash$0.375$1.8752.50×
Gemini 2.5 Pro$0.625$54.17×
Gemini 4 Argon$1$56.67×

On input rate alone, stepping up to Gemini 3.7 Flash costs 2.5× the input rate. Both measured at 2026-11-14, the same check as every other rate on this page.

Full Google range, including models outside this shortlist: Google rate index.

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 These are the three closest to Gemini 2.5 Flash in blended rate, not interchangeable substitutes for it.

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 (Gemini 2).5 Flash's own 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. On Gemini 2.5 Flash output costs 8.3× what input costs, so the same monthly token count bills very differently depending on how much of it comes back as output — measure your own split before extrapolating from the headline input rate, because rates move with vendor promotions.

Setting it up

Pointing an existing integration at Gemini 2.5 Flash is a base URL change, not a rewrite. Pick your tool:

Where Gemini 2.5 Flash bills from: the output half

Quoting a monthly token figure tells you very little about Gemini 2.5 Flash. Output here costs 8.3× what input does, above the index median of 4.0× across 231 models, so two deployments moving the same number of tokens can differ by several times depending purely on how much the model writes back. Generation is the bill; everything else is rounding. The five shapes below are the ones Gemini 2.5 Flash actually gets used for, priced out at each one's real ratio.

One month on Gemini 2.5 Flash, five workload shapes — gateway rates checked 2026-11-14
WorkloadTokensOutput shareMonthly costvs cheapest in index
Classification / tagging
100k short jobs, 300 in / 20 out
32M6%$7.0026.1×
Support triage
20k conversations, 1.5k in / 400 out
38M21%$14.5086.2×
RAG question answering
50k questions, 6k in / 500 out
325M8%$76.2756.1×
Agent loop (coding)
8k sessions, 400k in / 6k out
3248M1%$540.0486.0×
Long-form generation
5k documents, 2k in / 4k out
30M67%$26.526.2×

The cheapest comparison is GPT-5 nano at $0.025 / $0.2 per 1M — 6.2× cheaper than Gemini 2.5 Flash on a blended rate. Treat it as a rate floor, not a recommendation: it says nothing about whether GPT-5 nano can do the work you need Gemini 2.5 Flash for.

The spread between the first and last row above is not caused by doing more work — it is caused by asking Gemini 2.5 Flash to write more. At 8.3×, the cheapest intervention available to you is shortening responses: a tighter system prompt, a lower max_tokens, a shorter answer format. Optimising the input side barely registers against your $1.251 per 1M output rate.

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 here because every turn resends the context and Gemini 2.5 Flash bills output at 8.3x input — 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 to Gemini 2.5 Flash's $1.401 blended rate. If you are choosing on cost alone, test the top two on your own prompts — $0.15 per input token is only half the equation, the other half is how many tokens a model needs before it finishes 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 with gemini-2.5-flash as the model id. On Gemini 2.5 Flash it is a one-line change in most SDKs — see the SDK setup guide, or the Claude Code and Cursor guides for those tools. The Gemini 2.5 Flash snippet is in the calling section above.

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 on Gemini 2.5 Flash they differ by 8.3x.

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: on Gemini 2.5 Flash a coding agent's output takes 63% of the bill, so the input rate people usually compare is the smaller half. 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 not the model but how much context you resend each turn, at 200 dollars a month on Gemini 2.5 Flash, halving the resend roughly halves that. 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