Back to Topic Hub
August 2, 2026

Google Gemini API Pricing: Pro vs Flash Costs

Explore the pricing structure of Google's Gemini API, comparing the massive 1M context window of Gemini Pro with the ultra-fast Gemini Flash.

Google's Gemini API ecosystem offers some of the most competitive pricing in the generative AI market, largely due to Google's massive custom silicon (TPU) infrastructure.

Gemini's standout feature is its massive 1 Million to 2 Million token context window, allowing you to upload entire books, hour-long videos, or massive datasets in a single prompt. Here is how much it costs to use.


1. Gemini 3.1 Pro Pricing

Gemini 3.1 Pro is Google's flagship reasoning model, designed to compete directly with GPT-5.5 and Claude Opus. It handles complex multi-modal tasks (video, audio, and text reasoning) seamlessly.

  • Input Cost: $2 per 1 Million tokens.
  • Output Cost: $12 per 1 Million tokens.
  • Cached Input Cost: $0.5 per 1 Million tokens.

Gemini Pro is aggressively priced. At $2 per million input tokens, it is often cheaper than its direct flagship competitors, making it an excellent choice for heavy data processing.

2. Gemini 3.1 Flash Pricing

Gemini Flash is Google's lightweight, ultra-fast model. It retains the massive 1M token context window but sacrifices some deep reasoning capability for sheer speed and cost-efficiency.

  • Input Cost: $0.35 per 1 Million tokens.
  • Output Cost: $1.05 per 1 Million tokens.
  • Cached Input Cost: $0.0875 per 1 Million tokens.

If you are building a high-volume chatbot, processing millions of simple text documents, or generating rapid classifications, Gemini Flash is one of the cheapest and fastest models available today.

3. Multi-Modal Pricing (Images & Video)

Unlike some competitors that charge a flat fee per image, Google converts media into tokens. When you upload an image or video to the Gemini API, it is automatically converted into a fixed number of tokens based on its resolution and length, and then billed at the standard input token rate. This makes processing thousands of images highly predictable.


Calculate Your Gemini API Costs

Want to see how Gemini's pricing stacks up against OpenAI and Anthropic for your specific use case?

👉 Compare models on our AI Cost Calculator

🛠️ Try our Interactive Tools

We have built free tools related to this topic. Give them a try:

Launch ai cost calculator

Related in this Topic

Claude API Pricing: Sonnet vs Opus Costs

A detailed breakdown of Anthropic's Claude API pricing, comparing the cost-efficiency of Claude Sonnet 4.6 against Claude Opus 4.7.

GPT Token Pricing: How to Calculate True AI Costs

What is a token? Learn how OpenAI, Anthropic, and Google calculate token pricing and how to accurately predict your API bills.

GPT vs Claude Cost Comparison: Which API is Cheaper?

A direct pricing comparison between OpenAI GPT-5.5 and Anthropic Claude Sonnet 4.6 APIs using real token costs and prompt caching analytics.