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, 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 October 28, 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

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.

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
gemini-3-flash-previewGoogle Gemini$0.5$0.05$3$0.002
grok-build-0.1xAI$1$0.2$2$0.002
grok-code-fastxAI$1$0.2$2$0.002

Other Google Gemini models

Source: Google Gemini pricing.