AI Agents & Models

Google Gemini API

Google's developer API for the Gemini models, with a free tier and a paid tier billed per usage.

Visit Google Gemini API

At a glance

CategoryAI Agents & Models
Free planYes
PlansFree 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 basisFree tier: Per workspace / month Paid tier: Billing period not confirmed
Included seats and extra-seat chargesFree tier: Seat terms not recorded Paid tier: Seat terms not recorded
Plan limitsFree 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 peopleNo recorded paid plan covers this team size
Pricing source and review dateVendor pricing page, checked 29 Nov 2026
Websiteai.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

Model prices

US dollars per 1 million tokens, standard processing, as listed on the vendor's pricing page. Checked 29 Nov 2026.

ModelInputCached inputOutputConditions
Gemini 3.5 Flash$1.50$0.15$9.00—
Gemini 3.1 Pro Preview$2.00$0.20$12.00Prompts 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.00Text, image and video input; audio input is $1.00
Gemini 3.1 Flash-Lite$0.25$0.025$1.50Text, image and video input; audio input is $0.50
Gemini 2.5 Pro$1.25$0.125$10.00Prompts 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.50Text, image and video input; audio input is $1.00
Gemini 2.5 Flash-Lite$0.10$0.01$0.40Text, 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.

PlanPriceWhat's included
Free tier$0Limited access to certain models. Google AI Studio access. Content may be used to improve Google products.
Paid tierPay-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

ToolCategoryLicenceStarsLatest releasePricing
Anthropic API
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.
DeepSeek
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 API
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.
OpenAI API
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.