Gemini API Pricing (2026)

Google prices the Gemini API per million tokens, with one wrinkle the other providers do not have: Gemini 2.5 Pro charges different rates depending on how large your prompt is. This page lists the current rates and explains that tier split.

Gemini model prices

List prices verified 2026-08-10. USD per 1 million tokens, standard tier.

ModelPrompt sizeInput $/1MOutput $/1MContext
Gemini 3.6 FlashAny$1.50$7.50
Gemini 3.5 FlashAny$1.50$9.00
Gemini 3.5 Flash-LiteAny$0.30$2.50
Gemini 3.1 Flash-LiteAny$0.25$1.50
Gemini 2.5 ProUp to 200K tokens$1.25$10.001,048,576
Gemini 2.5 ProAbove 200K tokens$2.50$15.001,048,576
Gemini 2.5 FlashAny$0.30$2.501,048,576

Gemini 2.5 Pro has a maximum output of 65,536 tokens. The Gemini 3.x Flash models bill flat rates with no prompt-size tier; Google's pricing page does not publish their context windows, so those cells show a dash.

How the 200K price tier works

Gemini 2.5 Pro has two price tiers keyed to prompt size. If your prompt is 200K tokens or less, input bills at $1.25 per 1M and output at $10.00. If the prompt exceeds 200K tokens, the higher tier applies: $2.50 input and $15.00 output.

Note what the trigger is. The tier is set by the size of the prompt, and once a prompt crosses 200K tokens, the higher output rate applies to that request too. Crossing the line doubles the input rate and raises the output rate by half.

This makes prompt size a budget decision on 2.5 Pro. The model accepts prompts up to 1,048,576 tokens, but a request that stuffs the full context costs twice as much per input token as one that stays under 200K. If a long-document job can be split so each request stays at or below 200K tokens, the same total token volume bills at the lower tier. When a request genuinely needs more than 200K tokens of context at once, the higher tier is the price of that capability.

Counting Gemini tokens

Google exposes a free countTokens API, so you can get an exact count for a prompt before sending it. That matters more on Gemini than elsewhere because of the tier split: an estimate that is wrong by a few thousand tokens near the 200K line is the difference between $1.25 and $2.50 per 1M on the whole request. Count first when a prompt is anywhere near the boundary. The Gemini token counter covers this.

Where Flash fits

Gemini 2.5 Flash prices at $0.30 input and $2.50 output with the same 1,048,576-token context, and it has no tier split. For high-volume work that does not need Pro, the flat rate also removes the need to watch the 200K boundary.

Related pages