Google API Pricing (Updated 2025)

This page tracks Google API pricing for all 15 models. Prices are shown per 1,000 tokens (cost per token) with clear examples so you can estimate spend quickly.

Current Prices (per 1,000 tokens)

Model
Input ($/1K tokens)
Output ($/1K tokens)
Context Length
gemini-2.0-flash-001
$0.000100
$0.000400
1,048,576
gemini-2.0-flash-lite-001
$0.000075
$0.000300
1,048,576
gemini-2.5-flash
$0.000300
$0.002500
1,048,576
gemini-2.5-flash-lite
$0.000100
$0.000400
1,048,576
gemini-2.5-pro
$0.001250
$0.010000
1,048,576
gemini-2.5-pro-preview
$0.001250
$0.010000
1,048,576
gemini-flash-1.5
$0.000075
$0.000300
1,000,000
gemini-flash-1.5-8b
$0.000037
$0.000150
1,000,000
gemini-pro-1.5
$0.001250
$0.005000
2,000,000
gemma-2-27b-it
$0.000650
$0.000650
8,192
gemma-2-9b-it
$0.000010
$0.000010
8,192
gemma-3-12b-it
$0.000048
$0.000193
96,000
gemma-3-27b-it
$0.000067
$0.000267
96,000
gemma-3-4b-it
$0.000020
$0.000040
131,072
gemma-3n-e4b-it
$0.000020
$0.000040
32,768

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

What does "cost per token" mean?

Tokens are the basic units that AI models use to process text. Generally, 1,000 tokens ≈ ~750 words. The cost per token determines how much you pay for each unit of text processed by the model.

Formula: Total Cost = (tokens / 1,000) × price per 1K tokens

Examples

Example usage: A 500-word prompt + 300-word response ≈ ~1,067 tokens total.

  • • 1,000 tokens ≈ ~750 words of text
  • • Short email: ~200-400 tokens
  • • Blog post: ~1,000-3,000 tokens
  • • Research paper: ~10,000+ tokens

Compare with Other Providers

See how Google compares with other AI providers including OpenAI, Anthropic, Google, and more.

View full pricing comparison →

Frequently Asked Questions

Currently, gemma-2-9b-it is the most affordable at $0.000010 per 1,000 input tokens.
Count your input tokens (prompt) and expected output tokens (response). Use the formula: (input_tokens/1000 × input_price) + (output_tokens/1000 × output_price). Our pricing calculator can help automate this.
Google pricing varies by model. Input costs range from $0.000010 to $0.001250 per 1,000 tokens. See the table above for specific model pricing.