Gemini Developer API Pricing

The Gemini API "free tier" is offered through the API service with lower rate limits for testing purposes. Google AI Studio usage is completely free in all available countries. The Gemini API "paid tier" comes with higher rate limits, additional features, and different data handling.

Our state-of-the-art multipurpose model, which excels at coding and complex reasoning tasks.

Free TierPaid Tier, per 1M tokens in USD
Input priceNot available$1.25, prompts <= 200k tokens
$2.50, prompts > 200k tokens
Output price (including thinking tokens)Not available$10.00, prompts <= 200k tokens
$15.00, prompts > 200k
Context caching priceNot available$0.31, prompts <= 200k tokens
$0.625, prompts > 200k
$4.50 / 1,000,000 tokens per hour (storage price)
Grounding with Google SearchNot available1,500 RPD (free), then $35 / 1,000 requests
Used to improve our productsYesNo

Our first hybrid reasoning model which supports a 1M token context window and has thinking budgets.

Free TierPaid Tier, per 1M tokens in USD
Input priceFree of charge$0.30 (text / image / video)
$1.00 (audio)
Output priceFree of charge$2.50
Context caching priceNot available$0.075 (text / image / video)
$0.25 (audio)
$1.00 / 1,000,000 tokens per hour (storage price)
Grounding with Google SearchFree of charge, up to 500 RPD (limit shared with Flash-Lite RPD)1,500 RPD (free, limit shared with Flash-Lite RPD), then $35 / 1,000 requests
Used to improve our productsYesNo

Gemini 2.5 Flash-Lite Preview

Try it in Google AI Studio

Our smallest and most cost effective model, built for at scale usage.

Free TierPaid Tier, per 1M tokens in USD
Input price (text, image, video)Free of charge$0.10 (text / image / video)
$0.50 (audio)
Output priceFree of charge$0.40
Context caching priceNot available$0.025 (text / image / video)
$0.125 (audio)
$1.00 / 1,000,000 tokens per hour (storage price)
Grounding with Google SearchFree of charge, up to 500 RPD (limit shared with Flash RPD)1,500 RPD (free, limit shared with Flash RPD), then $35 / 1,000 requests
Used to improve our productsYesNo

Gemini 2.5 Flash Native Audio

Try it in Google AI Studio

Our native audio models optimized for higher quality audio outputs with better pacing, voice naturalness, verbosity, and mood.

Preview models may change before becoming stable and have more restrictive rate limits.

Free TierPaid Tier, per 1M tokens in USD
Input priceNot available$0.50 (text)
$3.00 (audio / video)
Output price (including thinking tokens)Not available$2.00 (text)
$12.00 (audio)
Used to improve our productsYesNo

Gemini 2.5 Flash Preview TTS

Try it in Google AI Studio

Our 2.5 Flash text-to-speech audio model optimized for price-performant, low-latency, controllable speech generation.

Preview models may change before becoming stable and have more restrictive rate limits.

Free TierPaid Tier, per 1M tokens in USD
Input priceFree of charge$0.50 (text)
Output priceFree of charge$10.00 (audio)
Used to improve our productsYesNo

Gemini 2.5 Pro Preview TTS

Try it in Google AI Studio

Our 2.5 Pro text-to-speech audio model optimized for powerful, low-latency speech generation for more natural outputs and easier to steer prompts.

Preview models may change before becoming stable and have more restrictive rate limits.

Free TierPaid Tier, per 1M tokens in USD
Input priceNot available$1.00 (text)
Output priceNot available$20.00 (audio)
Used to improve our productsYesNo

Our most balanced multimodal model with great performance across all tasks, with a 1 million token context window, and built for the era of Agents.

Free TierPaid Tier, per 1M tokens in USD
Input priceFree of charge$0.10 (text / image / video)
$0.70 (audio)
Output priceFree of charge$0.40
Context caching priceFree of charge$0.025 / 1,000,000 tokens (text/image/video)
$0.175 / 1,000,000 tokens (audio)
Context caching (storage)Free of charge, up to 1,000,000 tokens of storage per hour$1.00 / 1,000,000 tokens per hour
Image generation pricingFree of charge$0.039 per image*
Tuning priceNot availableNot available
Grounding with Google SearchFree of charge, up to 500 RPD1,500 RPD (free), then $35 / 1,000 requests
Live APIFree of chargeInput: $0.35 (text), $2.10 (audio / image [video])
Output: $1.50 (text), $8.50 (audio)
Used to improve our productsYesNo

[*] Image output is priced at $30 per 1,000,000 tokens. Output images up to 1024x1024px consume 1290 tokens and are equivalent to $0.039 per image.

Gemini 2.0 Flash-Lite

Try it in Google AI Studio

Our smallest and most cost effective model, built for at scale usage.

Free TierPaid Tier, per 1M tokens in USD
Input priceFree of charge$0.075
Output priceFree of charge$0.30
Context caching priceNot availableNot available
Context caching (storage)Not availableNot available
Tuning priceNot availableNot available
Grounding with Google SearchNot availableNot available
Used to improve our productsYesNo

Our state-of-the-art image generation model, available to developers on the paid tier of the Gemini API.

Free TierPaid Tier, per Image in USD
Image priceNot available$0.03
Used to improve our productsYesNo

Our state-of-the-art video generation model, available to developers on the paid tier of the Gemini API.

Free TierPaid Tier, per second in USD
Video priceNot available$0.35
Used to improve our productsYesNo

Our lightweight, state-of the art, open model built from the same technology that powers our Gemini models.

Free TierPaid Tier, per 1M tokens in USD
Input priceFree of chargeNot available
Output priceFree of chargeNot available
Context caching priceFree of chargeNot available
Context caching (storage)Free of chargeNot available
Tuning priceNot availableNot available
Grounding with Google SearchNot availableNot available
Used to improve our productsYesNo

Gemma 3n

Try Gemma 3n

Our open model built for efficient performance on everyday devices like mobile phones, laptops, and tablets.

Free TierPaid Tier, per 1M tokens in USD
Input priceFree of chargeNot available
Output priceFree of chargeNot available
Context caching priceFree of chargeNot available
Context caching (storage)Free of chargeNot available
Tuning priceNot availableNot available
Grounding with Google SearchNot availableNot available
Used to improve our productsYesNo

Our fastest multimodal model with great performance for diverse, repetitive tasks and a 1 million token context window.

Free TierPaid Tier, per 1M tokens in USD
Input priceFree of charge$0.075, prompts <= 128k tokens
$0.15, prompts > 128k tokens
Output priceFree of charge$0.30, prompts <= 128k tokens
$0.60, prompts > 128k tokens
Context caching priceFree of charge, up to 1 million tokens of storage per hour$0.01875, prompts <= 128k tokens
$0.0375, prompts > 128k tokens
Context caching (storage)Free of charge$1.00 per hour
Tuning priceToken prices are the same for tuned models
Tuning service is free of charge.
Token prices are the same for tuned models
Tuning service is free of charge.
Grounding with Google SearchNot available$35 / 1K grounding requests
Used to improve our productsYesNo

Gemini 1.5 Flash-8B

Try it in Google AI Studio

Our smallest model for lower intelligence use cases, with a 1 million token context window.

Free TierPaid Tier, per 1M tokens in USD
Input priceFree of charge$0.0375, prompts <= 128k tokens
$0.075, prompts > 128k tokens
Output priceFree of charge$0.15, prompts <= 128k tokens
$0.30, prompts > 128k tokens
Context caching priceFree of charge, up to 1 million tokens of storage per hour$0.01, prompts <= 128k tokens
$0.02, prompts > 128k tokens
Context caching (storage)Free of charge$0.25 per hour
Tuning priceToken prices are the same for tuned models
Tuning service is free of charge.
Token prices are the same for tuned models
Tuning service is free of charge.
Grounding with Google SearchNot available$35 / 1K grounding requests
Used to improve our productsYesNo

Our highest intelligence Gemini 1.5 series model, with a breakthrough 2 million token context window.

Free TierPaid Tier, per 1M tokens in USD
Input priceFree of charge$1.25, prompts <= 128k tokens
$2.50, prompts > 128k tokens
Output priceFree of charge$5.00, prompts <= 128k tokens
$10.00, prompts > 128k tokens
Context caching priceNot available$0.3125, prompts <= 128k tokens
$0.625, prompts > 128k tokens
Context caching (storage)Not available$4.50 per hour
Tuning priceNot availableNot available
Grounding with Google SearchNot available$35 / 1K grounding requests
Used to improve our productsYesNo

Text Embedding 004

Our state-of-the-art text embedding model.

Free TierPaid Tier, per 1M tokens in USD
Input priceFree of chargeNot available
Output priceFree of chargeNot available
Tuning priceNot availableNot available
Used to improve our productsYesNo

[*] Google AI Studio usage is free of charge in all available regions. See Billing FAQs for details.

[**] Prices may differ from the prices listed here and the prices offered on Vertex AI. For Vertex prices, see the Vertex AI pricing page.

[***] If you are using dynamic retrieval to optimize costs, only requests that contain at least one grounding support URL from the web in their response are charged for Grounding with Google Search. Costs for Gemini always apply. Rate limits are subject to change.