Google Gemini API
Google's developer API for the Gemini models, with a free tier and a paid tier billed per usage.
At a glance
| Category | AI Agents & Models |
|---|---|
| Free plan | Yes |
| Plans | Free tier: $0 Paid tier: Pay-as-you-go per 1 million tokens, with separate input and output rates by model. Batch API gives a 50% cost reduction. Context caching is available. |
| Billing basis | Free tier: Per workspace / month Paid tier: Billing period not confirmed |
| Included seats and extra-seat charges | Free tier: Seat terms not recorded Paid tier: Seat terms not recorded |
| Plan limits | Free tier: Limited access to certain models. Google AI Studio access. Content may be used to improve Google products. Paid tier: Higher rate limits than the free tier. Content is not used to improve Google products. |
| Estimated monthly cost for 5 people | No recorded paid plan covers this team size |
| Pricing source and review date | Vendor pricing page, checked 29 Nov 2026 |
| Website | ai.google.dev |
Overview
Google's API for the Gemini models. The free tier gives limited access to certain models with free input and output tokens, and Google may use that content to improve its products. The paid tier is billed per 1 million tokens by model, with higher rate limits, context caching and a Batch API at a 50% cost reduction; paid-tier content is not used to improve Google products. Flex and Priority processing are priced separately.
Limits and conditions
- Rates are from the pricing page version last updated 2026-06-02. The page has also listed scheduled increases on 1 December 2026 and 1 January 2027, so confirm current rates.
- Free tier: limited access to certain models.
- Grounding with Google Search on Gemini 3 models: 5,000 free prompts a month, then $14 per 1,000 search queries.
- Enterprise deployments are a separate tier.
Model prices
US dollars per 1 million tokens, standard processing, as listed on the vendor's pricing page. Checked 29 Nov 2026.
| Model | Input | Cached input | Output | Conditions |
|---|---|---|---|---|
| Gemini 3.5 Flash | $1.50 | $0.15 | $9.00 | — |
| Gemini 3.1 Pro Preview | $2.00 | $0.20 | $12.00 | Prompts up to 200k tokens; above 200k: $4.00 input, $0.40 cached input, $18.00 output |
| Gemini 3 Flash Preview | $0.50 | $0.05 | $3.00 | Text, image and video input; audio input is $1.00 |
| Gemini 3.1 Flash-Lite | $0.25 | $0.025 | $1.50 | Text, image and video input; audio input is $0.50 |
| Gemini 2.5 Pro | $1.25 | $0.125 | $10.00 | Prompts up to 200k tokens; above 200k: $2.50 input, $0.25 cached input, $15.00 output |
| Gemini 2.5 Flash | $0.30 | $0.03 | $2.50 | Text, image and video input; audio input is $1.00 |
| Gemini 2.5 Flash-Lite | $0.10 | $0.01 | $0.40 | Text, image and video input; audio input is $0.30 |
Pricing
Per 1M tokens, paid tier, standard: Gemini 3.5 Flash $1.50 input / $9.00 output; Gemini 3.1 Pro Preview $2.00 / $12.00; Gemini 2.5 Flash-Lite $0.10 / $0.40. A free tier is available. Full per-model table below.
| Plan | Price | What's included |
|---|---|---|
| Free tier | $0 | Limited access to certain models. Google AI Studio access. Content may be used to improve Google products. |
| Paid tier | Pay-as-you-go per 1 million tokens, with separate input and output rates by model. Batch API gives a 50% cost reduction. Context caching is available. | Higher rate limits than the free tier. Content is not used to improve Google products. |
Pricing source: vendor pricing page, checked 29 Nov 2026. Prices shown in USD.
Compare Google Gemini API
Google Gemini API vs Anthropic API · Google Gemini API vs DeepSeek · Google Gemini API vs Mistral API · Google Gemini API vs OpenAI API
Alternatives to Google Gemini API
| Tool | Category | Licence | Stars | Latest release | Pricing |
|---|---|---|---|---|---|
Anthropic's developer API for the Claude models, billed per usage. | AI Agents & Models | — | — | — | Per 1M tokens: Claude Fable 5.2 $8 input / $40 output; Opus 5.5 $4 / $20; Sonnet 5.5 $2 / $10; Haiku 5.5 $0.10 / $0.50. Full per-model table below. |
AI model platform with hosted chat and developer APIs. Its API offers reasoning modes and tool calling, with OpenAI- and Anthropic-compatible interfaces. | AI Agents & Models | — | — | — | Per 1M tokens, peak rates: deepseek-flash $0.30 input / $1.20 output; deepseek-v4-pro $1.32 / $3.96. Off-peak rates are half. Full per-model table below. |
Mistral AI's developer API (La Plateforme) for its language, code, audio and OCR models, billed per usage. | AI Agents & Models | — | — | — | Per 1M tokens: Mistral Large 4 $0.70 input / $2.10 output; Mistral Small 4 $0.15 / $0.60; Ministral 3 (3B) $0.10 / $0.10. Full per-model table below. |
Developer platform for OpenAI's text, image, audio and video models, billed per usage. | AI Agents & Models | — | — | — | Per 1M tokens, standard processing: gpt-6.2-astra $8 input / $40 output; gpt-6.2-sol $2 / $10; gpt-6-luna $0.10 / $0.50. Full per-model table below. |