{T}
TokenMath.net
Verified against Google Cloud Vertex AI Pricing
GooglebudgetGenerally AvailableActive Production

Gemini 2.5 Flash API Pricing & Cost Calculator

High-throughput sub-second multimodal model with native 1M context at budget rates Need a token count first? Use the Gemini token counter.

Standard Input / 1M
$0.30
Prompt tokens
Cached Input / 1M
$0.03
Prompt caching rate
Output / 1M
$2.50
Generation completion
Context Window
1.05M
Max out: 8.2k
Official Provider Pricing ModesDocumented Schedules
Standard API
$0.30 in / $2.50 out
Cache: $0.03/1M
Batch API (-50%)
$0.15 in / $1.25 out
Cache: $0.03/1M
Flex Mode
$0.15 in / $1.25 out
Cache: $0.03/1M
Priority Mode
$0.54 in / $4.50 out
Cache: $0.054/1M
API & Developer Integration Details
generally available
API Model Stringgemini-2.5-flash
Provider & FamilyGoogle (gemma)
Prompt Caching Rules32,768 min tokens (90% off)
Long-Context TiersStandard flat rate throughout full window
First-party audit timestamp: 2026-10-11 07:55 UTCOfficial Documentation

Interactive Cost & Token Simulator for Gemini 2.5 Flash

Live Calculation
Input Tokens2,500
Output Tokens800
Requests / Day5,000
Prompt Caching Ratio (50%)$0.03/M cached rate
Cost / Request$0.00241
Daily Spend (5,000 reqs)$12.0625
Monthly Run-Rate (30d)$361.88

Standard Workload Cost Scenarios

ScenarioInput TokensOutput TokensUncached CostWith Prompt Caching
Short Chat Query1,000500$0.00155$0.00128
Document Summarization10,0002,000$0.00800$0.00530
Codebase & Context Analysis100,00020,000$0.0800$0.0530
Batch Corpus Processing1,000,000100,000$0.5500$0.2800
Technical Architecture & Pricing VerificationVerified: 2026-10-11 07:55 UTC
Model ArchitectureGemini 2.5 Flash
Provider OrganizationGoogle
Tokenizer EncodingGoogle Gemma SentencePiece (~256k vocabulary)
API ConnectivityGoogle Gemini API with multi-turn chat and long-context video audio ingestion.
Batch API 50% DiscountSupported (50% off input & output)
Tier 1 Rate Quota (Free-Tier Reference)1,000 RPM · 4M TPM

Tier 1 (free tier) reference limits — your account's actual quota may be higher.

Blended 3:1 Cost / 1M Tokens$0.85
Google standard API pricing is $0.30/1M input, $0.03/1M cached input, and $2.50/1M output. Batch & Flex modes offer a 50% discount ($0.15 in / $1.25 out); Priority mode is billed at $0.54 in / $4.50 out.Google Cloud Vertex AI Pricing

Verified Pricing History

2026-09-15 15:30 UTC: $0.3/M input · $2.5/M output ($0.03/M cached)
Calibrated to standard Google API pricing schedule ($0.30/$2.50 standard, $0.15/$1.25 batch).
September 2026: $0.075/M input · $0.3/M output ($0.01875/M cached)
Verified Gemini 2.5 Flash rates.

When to Choose Gemini 2.5 Flash

Ideal for production workloads demanding budget capabilities, deep context depth (1.05M tokens), and reliability from Google. Excellent when predictable tokenomics and prompt caching support are paramount.

When Another Model May Be Better

If your use-case requires sub-second streaming latency or ultra-high frequency classification at micro-cent pricing, consider lighter budget options such as Gemini Flash-Lite or Claude Haiku. For deep formal logic, consider dedicated reasoning models like o3.

Frequently Asked Questions About Gemini 2.5 Flash

How much does 1 million tokens cost with Gemini 2.5 Flash?

For Gemini 2.5 Flash, 1 million input tokens costs $0.30, while 1 million output tokens costs $2.50. If using prompt caching, repetitive input prefixes are discounted to $0.03 per million.

What is the context window for Gemini 2.5 Flash?

Gemini 2.5 Flash features a maximum context window of 1,048,576 tokens (~786,432 words), with a maximum output limit of 8,192 tokens per completion.

Which tokenizer does Gemini 2.5 Flash use?

Gemini 2.5 Flash utilizes the Google Gemma SentencePiece (~256k vocabulary). Token counting on TokenMath runs client-side to ensure maximum privacy.

Does Gemini 2.5 Flash support prompt caching discounts?

Yes. Gemini 2.5 Flash supports prompt caching with a cached input rate of $0.03/1M (saving up to 90% on repeated input context).