Gemini 2.5 Flash API pricing
Google Gemini charges $0.3 per million input tokens and $2.5 per million output tokens for Gemini 2.5 Flash (gemini-2.5-flash), and $0.03 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.00155, or $0.000775 through the batch API.
Gemini 2.5 Flash price per million tokens
| Token type | Standard | Batch API |
|---|---|---|
| Input | $0.3 | $0.15 |
| Cached input | $0.03 | $0.03 |
| Output | $2.5 | $1.25 |
API model id: gemini-2.5-flash. Gemini 2.5 Flash supports a 1.05M-token context window, up to 65.5K output tokens, image input, tool calling and reasoning.
What Gemini 2.5 Flash costs per request
| Request | 1 request | 1,000 requests | 1M requests |
|---|---|---|---|
| Short chat message (300 in, 200 out) | $0.00059 | $0.59 | $590.00 |
| Typical request (1K in, 500 out) | $0.00155 | $1.55 | $1,550.00 |
| Long document summary (20K in, 1K out) | $0.0085 | $8.50 | $8,500.00 |
| Coding agent step (50K in, 2K out) | $0.02 | $20.00 | $20,000.00 |
At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words. Google Gemini counts tokens with its own tokenizer, so the same text can be a different number of tokens.
How Gemini 2.5 Flash compares
- For a typical request, Gemini 2.5 Flash is cheaper than 65% of the other models on apicost.app.
- GPT-5 mini from OpenAI costs $0.25 input and $2 output per million tokens, so a typical request is $0.00125: 1.2× cheaper than Gemini 2.5 Flash.
- Claude Haiku 4.5 from Anthropic costs $1 input and $5 output per million tokens, so a typical request is $0.0035: 2.3× the price of Gemini 2.5 Flash.
- DeepSeek R1 from DeepSeek costs $0.55 input and $2.19 output per million tokens, so a typical request is $0.00164: about the same price as Gemini 2.5 Flash.
Gemini 2.5 Flash price history
Gemini 2.5 Flash has cost $0.3 per million input tokens and $2.5 per million output tokens since apicost.app started tracking prices on October 22, 2026.
Every LLM API price increase, cut, new and retired model, dated: LLM API price changes.
Models with a similar price
| Model | Provider | Input / 1M | Cached input / 1M | Output / 1M | Typical request |
|---|---|---|---|---|---|
| GPT-5 mini | OpenAI | $0.25 | $0.025 | $2 | $0.00125 |
| Mistral Large 3 | Mistral | $0.5 | $0.05 | $1.5 | $0.00125 |
| Mistral Large 2512 | Mistral | $0.5 | $0.05 | $1.5 | $0.00125 |
| Gemini 3.5 Flash Lite | Google Gemini | $0.3 | $0.03 | $2.5 | $0.00155 |
| DeepSeek R1 | DeepSeek | $0.55 | $0.14 | $2.19 | $0.00164 |
| Mistral Large 4 | Mistral | $0.7 | $0.07 | $2.1 | $0.00175 |
| Gemini 3 Flash Preview | Google Gemini | $0.5 | $0.05 | $3 | $0.002 |
| Grok Build 0.1 | xAI | $1 | $0.2 | $2 | $0.002 |
Other Google Gemini models
- Gemini 2.5 Flash Lite $0.1 / $0.4
- Gemini 2.5 Pro $1.25 / $10
- Gemini 3 Flash Preview $0.5 / $3
- Gemini 3.1 Flash Lite $0.25 / $1.5
- Gemini 3.1 Pro Preview $2 / $12
- Gemini 3.5 Flash $1.5 / $9
- Gemini 3.5 Flash Lite $0.3 / $2.5
- Gemini 3.6 Flash $0.75 / $3.75
- Gemini 3.7 Flash $0.75 / $3.75
- Gemini 3.8 Flash $0.75 / $3.75
- Gemini 4 Argon $2 / $10
- Gemini 4 Carbon $2 / $10
- Gemini 4 Hydrogen $1.5 / $7.5
- Gemini Omni 1.1 Flash $1.5 / $9
- Gemini Omni 1.2 Flash $1.5 / $9
Every Google Gemini model side by side, with batch, caching and long-context prices: Gemini API pricing (Google). Ways to pay less: batch API, prompt caching, the cheapest models.
Questions and answers
How much does the Gemini 2.5 Flash API cost?
Google Gemini charges $0.3 per million input tokens and $2.5 per million output tokens for Gemini 2.5 Flash (gemini-2.5-flash), and $0.03 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.00155, or $0.000775 through the batch API.
Has the Gemini 2.5 Flash API price changed?
No. Gemini 2.5 Flash has cost $0.3 per million input tokens and $2.5 per million output tokens since apicost.app started tracking prices on October 22, 2026.
Is there a cheaper way to use Gemini 2.5 Flash?
Yes. The Google Gemini batch API runs requests within 24 hours for $0.15 per million input tokens and $1.25 per million output tokens. Prompt caching lowers the price of repeated input to $0.03 per million tokens.
What is the context window of Gemini 2.5 Flash?
Gemini 2.5 Flash accepts up to 1,048,576 input tokens, roughly 786,000 words of English, and writes up to 65,536 output tokens per response. Filling the whole context window once costs $0.31 in input tokens.
Is Gemini 2.5 Flash cheaper than GPT-5 mini?
No. GPT-5 mini from OpenAI costs $0.25 input and $2 output per million tokens, so a typical request is $0.00125: 1.2× cheaper than Gemini 2.5 Flash.
Source: Google Gemini pricing, via the LiteLLM price list.