Skip to content
llmkitty calico cat logo llmkitty

Gemini API Pricing Calculator

Estimate Google Gemini API cost by model, Gemini 3.1 Pro, Gemini 3.5 Flash, Gemini 3.1 Flash-Lite, and Gemini 2.5 Flash-Lite. Enter token counts and requests/month to project your bill in your browser.

Your usage

Prices per 1M tokens · Last verified: 2026-07-12

 · verify price

Estimated Monthly Cost

$0.0075

≈ $0.00/day

Cost per API call

$0.0075

Input 0% · $0

Output 0% · $0

Input tokens (0) $0
Output tokens (0) $0
Total per call $0
llmkitty sleeping cat, curled up next to the cost readout

Google's current Gemini API model lineup

Google's Gemini API currently prices four models spanning a wide range. Gemini 3.1 Pro sits at the top as the flagship, priced well above the rest of the lineup. Unusually among the providers covered here, its rate isn't flat: prompts over 200,000 tokens are billed at a higher rate, $4 input / $18 output per million tokens, versus the lower rate below that threshold. Gemini 3.5 Flash is the mid-tier option, priced below Pro but still well above the two Flash-Lite models. Gemini 3.1 Flash-Lite and the older Gemini 2.5 Flash-Lite both remain in current pricing at the budget end of the lineup, with Gemini 2.5 Flash-Lite priced lower still, a reminder that Google keeps older, cheaper generations available alongside newer ones rather than retiring them immediately.

How Gemini's pricing structure works

Every Gemini model bills input and output tokens at separate rates, with output priced higher throughout the lineup, consistent with the rest of the market. What sets Gemini 3.1 Pro apart is its context-length-dependent pricing: below 200,000 tokens of prompt, you pay the standard rate; above that, both input and output shift to the higher tier. This is worth building into your calculation deliberately rather than assuming a single flat rate, especially if your workload sits right around that threshold, a prompt that occasionally crosses 200K tokens will occasionally bill at nearly double the rate, which can be an unpleasant surprise if your budgeting only accounted for the lower number.

The two-tier Flash-Lite lineup

Google currently prices both Gemini 3.1 Flash-Lite and Gemini 2.5 Flash-Lite, with the older 2.5 generation priced lower on both input and output tokens. This is a genuinely useful option if your workload is cost-sensitive and doesn't need whatever improvements the 3.1 generation brings; it's worth testing both against your actual traffic rather than assuming the newer model is the right default purely because it's newer. For workloads where quality differences between the two are negligible for your use case, the older, cheaper Flash-Lite can meaningfully lower a high-volume bill.

Cutting your Gemini API bill

The clearest lever is tier selection: route simple, high-volume requests to a Flash-Lite model rather than Gemini 3.1 Pro, and test whether Gemini 2.5 Flash-Lite's lower rate is acceptable for your quality bar before defaulting to the newer 3.1 Flash-Lite. If you're using Gemini 3.1 Pro, watch your prompt length against the 200,000-token threshold specifically, trimming a prompt from just over that line to just under it avoids the higher rate entirely, which is a larger and more mechanical saving than most other cost-cutting moves. Beyond that, the usual levers apply: cap output length, keep system prompts lean, and reuse repeated context where your integration allows it.

A worked example on Gemini 3.1 Pro

Take a 1,000-token prompt with a 500-token answer on Gemini 3.1 Pro at its standard rate ($2 input / $12 output per million tokens, below the 200K-token threshold): input costs 1,000 ÷ 1,000,000 × $2 = $0.002, output costs 500 ÷ 1,000,000 × $12 = $0.006, for $0.008 per call. At 100,000 calls a month that's $800. Push the same prompt past the 200,000-token threshold and the rate jumps to $4 input / $18 output, worth checking directly against your real prompt sizes rather than assuming the lower number holds throughout.

Who the Gemini API suits

Gemini's spread from a very cheap Flash-Lite tier up to a premium, context-aware Pro model suits teams running a genuine mix of traffic, cheap, high-volume classification or extraction on Flash-Lite, and reserving Pro specifically for requests that need either its extra capability or its ability to handle very large prompts. If you want to weigh Gemini against another vendor directly, the all-provider hub calculator puts every provider's models in one comparison view.

Compare Gemini against OpenAI's GPT API pricing, Anthropic's Claude API pricing, or the budget-oriented Mistral API pricing calculator.

Frequently asked questions

How much does the Gemini API cost?

Google prices four current Gemini models on separate input and output rates per million tokens, from Gemini 2.5 Flash-Lite at the very low end up to Gemini 3.1 Pro at the top. Pick your model above to see the exact per-call and monthly cost for your token volume.

Does Gemini 3.1 Pro get more expensive on long prompts?

Yes, Gemini 3.1 Pro's rate steps up above 200,000-token prompts, to $4 input / $18 output per million tokens versus its standard rate below that threshold. If your typical prompt is near or over 200K tokens, budget using the higher rate rather than the headline number.

What is the difference between Gemini 3.5 Flash and Gemini 3.1 Flash-Lite?

Gemini 3.5 Flash is priced well above Gemini 3.1 Flash-Lite on both input and output tokens, positioning it as the more capable mid-tier option, while Flash-Lite is built for high-volume, cost-sensitive workloads at a fraction of the price.

Why does Google offer two Flash-Lite models?

Gemini 3.1 Flash-Lite and the older Gemini 2.5 Flash-Lite are both in current pricing, with Gemini 2.5 Flash-Lite priced lower on both input and output. That gap is worth checking directly if raw cost matters more to your workload than using the newest generation.

Is Gemini cheaper than GPT or Claude?

Gemini's lineup spans a wide range, from the very cheap Flash-Lite tiers up to a premium-priced Pro model, so a general comparison depends entirely on which Gemini model and which competing model you line up. Use the "Compare another model" toggle above, or the all-provider hub calculator, to check specific models against each other on your real token counts.

How do I reduce my Gemini API bill?

Default to Gemini 3.1 Flash-Lite or Gemini 2.5 Flash-Lite for high-volume, simple requests and reserve Gemini 3.1 Pro for tasks that need its extra capability, keep prompts under the 200K-token threshold where possible to avoid Pro's long-context surcharge, cap output length, and trim system prompts to what's actually improving results.

Related tools

AI Token Cost CalculatorOpenAI API Pricing CalculatorClaude API Pricing CalculatorLlama API Pricing CalculatorMistral API Pricing Calculator