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.

Prices updated November 14, 2026
Input / 1M tokens
$0.3
Output / 1M tokens
$2.5
Cached input / 1M tokens
$0.03
Typical request
$0.00155
Calculate the cost of your prompt →

Gemini 2.5 Flash price per million tokens

Token typeStandardBatch 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

Request1 request1,000 requests1M 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

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

ModelProviderInput / 1MCached input / 1MOutput / 1MTypical request
GPT-5 miniOpenAI$0.25$0.025$2$0.00125
Mistral Large 3Mistral$0.5$0.05$1.5$0.00125
Mistral Large 2512Mistral$0.5$0.05$1.5$0.00125
Gemini 3.5 Flash LiteGoogle Gemini$0.3$0.03$2.5$0.00155
DeepSeek R1DeepSeek$0.55$0.14$2.19$0.00164
Mistral Large 4Mistral$0.7$0.07$2.1$0.00175
Gemini 3 Flash PreviewGoogle Gemini$0.5$0.05$3$0.002
Grok Build 0.1xAI$1$0.2$2$0.002

Other Google Gemini models

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.