dbotmakerthe decision bot

Review · Software & AI

Google Gemini API review

Google's developer API for the Gemini model family, with a free tier, paid tiers and 1M-token context models.

By the DBotMaker research desk · Updated November 24, 2026

Short answer · output

The Google Gemini API is Google's pay-per-token developer API for Gemini models, with a free tier and a 1,048,576-token context window on its Gemini 4 models. As checked in November 2026, Gemini 4 Hydrogen costs $1.50 per 1M input tokens and $7.50 per 1M output tokens, and Gemini 3.5 Flash-Lite costs $0.30 and $2.50. It suits developers who want to prototype free and process text, images, audio, video and PDFs through one key, but the two top reasoning models double in price on December 1, 2026.

Capabilities (40%)
9.2
Ease of setup (30%)
9.0
Value (30%)
9.3

In pictures · 3 images

Fig 01 · aistudio.google.com/docs/pricing
Google Gemini API: Gemini Developer API pricing page with free, paid and enterprise tiers
Gemini Developer API pricing page with free, paid and enterprise tiers. Source, checked Nov 24, 2026: aistudio.google.com/docs/pricing
Fig 02 · aistudio.google.com/docs/models
Google Gemini API: Gemini model catalog in Google's developer docs
Gemini model catalog in Google's developer docs. Source, checked Nov 24, 2026: aistudio.google.com/docs/models
Fig 03 · aistudio.google.com/docs/rate-limits
Google Gemini API: Gemini API usage tiers and spend limits
Gemini API usage tiers and spend limits. Source, checked Nov 24, 2026: aistudio.google.com/docs/rate-limits

Verdict printout · Google Gemini API


The Google Gemini API is a strong default for developers who need a free tier, long context and multimodal input from a single vendor: Gemini 4 Hydrogen is free to call within rate limits and then costs $1.50 in and $7.50 out per 1M tokens, with Batch and Flex at half price. It is a poor choice for confidential data on the free tier, because Google's terms allow human reviewers to read unpaid prompts outside the EEA, Switzerland and the UK, and for teams that need guaranteed zero data retention, which Google directs to its cloud agent platform instead. The deciding fact is timing: Gemini 4 Carbon and Argon go from $2.00 and $10.00 to $4.00 and $20.00 on December 1, 2026, so budgets should use the December rates.

ReadOverview

The Gemini API gives developers programmatic access to Google's Gemini models through Google AI Studio keys. It is separate from the Gemini consumer app and its monthly subscriptions: the API is billed by tokens, seconds, images or songs. General-purpose models accept text, images, audio, video and PDFs, and specialized models in the same catalog cover image generation, video, speech, music, embeddings, robotics and real-time voice. Google provides SDKs for Python, JavaScript, Go and Java, and also accepts calls from OpenAI libraries when the base URL, key and model name are changed.

The line-up was replaced quickly in autumn 2026. Gemini 4 Argon became generally available on October 13, Gemini 4 Carbon on November 10, Gemini 4 Hydrogen on November 12 and Gemini 4 Neon on November 18. Genie 4, a real-time world generation model, followed on November 19. Hydrogen is the only Gemini 4 model on the free tier. All four list a unified context window of 1M tokens, with 64K of output by default and up to 1M through a feature called long decode.

Prices need a calendar. Carbon and Argon are both at $2.00 per 1M input tokens and $10.00 per 1M output tokens through November 30, 2026, then $4.00 and $20.00. Gemini 3.8 Flash and 3.6 Flash are at $0.75 and $3.75 through December 31, 2026, then $1.50 and $7.50, the same as Hydrogen. Neon is $3.00 and $15.00 with no promotion, which makes it dearer than Carbon for the last week of November and cheaper afterward. A job with 1M input and 200,000 billed output tokens works out to $0.80 on Gemini 3.5 Flash-Lite, $3.00 on Hydrogen, $6.00 on Neon and, from December 1, $8.00 on Carbon. Thinking tokens count as output.

Against the other APIs on this site, Google's clearest advantage is range plus the free tier. Claude Sonnet 5.5 and GPT-6.2 Sol both list $2.00 in and $10.00 out, a little above Hydrogen. At the low end Google is not the cheapest: Claude Haiku 5.5 lists $0.10 in and $0.50 out for prompts up to 100,000 tokens, below the $0.25 and $1.50 of Gemini 3.1 Flash-Lite, while deepseek-flash lists $0.15 and $0.60 off-peak on cache misses. Gemini 2.5 Flash-Lite still shows $0.10 and $0.40, but the deprecations page says access to the 2.5 models is limited to users who have actively used them, so new projects should not plan around it. Published prices do not show which model answers better for a given task.

The main limits are operational. Prepay is the default for new billing accounts: the minimum purchase is $5, unused credits expire after 12 months, and every key linked to the account fails with HTTP 402 when the balance reaches zero. Monthly caps are $250 on Tier 1 and $2,000 on Tier 2, and a spend limit of $10 per 10 minutes may apply on Tier 1. Models also turn over fast: from December 1, 2026, calls to gemini-2.5-pro are rerouted to gemini-3.8-flash and calls to gemini-2.5-flash are rerouted to gemini-3.5-flash-lite, with breaking API changes listed in the release notes.

How it scored

The Gemini API is the strongest all-round pick for teams that care about price per token and context length at the same time. Google publishes a free tier where input and output are free of charge on many models, so a prototype can run without a card. Paid prices are low: Gemini 2.5 Flash-Lite costs $0.10 per 1M text input tokens and Gemini 3.5 Flash-Lite $0.30 in and $2.50 out, while the flagship Gemini 4 Argon offers a 1M-token context and long decodes. Each model has Standard, Batch, Flex and Priority modes, and tools such as Google Search grounding include 5,000 free requests a month on Gemini 3 and newer models before per-request fees. Rate limits follow tiers: Tier 1 needs a linked billing account, Tier 2 needs $100 paid plus 3 days, and Tier 3 needs $1,000 plus 30 days. The trade-off is complexity: there are many models and modes, thinking tokens are billed, and the top model is paid only.

Who it is for

Teams that want a free tier and long context from one vendor

Run it if

  • Solo developers and students aged 18 or over prototyping with Gemini 4 Hydrogen or Flash-Lite at no charge, using data that is not confidential
  • Teams that analyze long documents, recordings or video and want text, image, audio, video and PDF input with a context window of 1,048,576 tokens
  • Data teams running offline jobs that can accept a 24-hour target turnaround in exchange for 50% off through the Batch API
  • Product teams building voice agents, which can use Gemini 3.8 Live at about $0.005 per minute of audio in and $0.018 per minute out
  • Developers who need Google Search or Maps grounding, with 5,000 free search requests a month on paid Gemini 3 and newer models

Skip it if

  • Teams sending confidential data without a billing account: use the paid tier at minimum, or Gemini through Google Cloud where contractual zero data retention is required
  • Buyers whose only goal is the lowest price on short prompts: the Anthropic API lists Claude Haiku 5.5 at $0.10 in and $0.50 out, and the DeepSeek API lists deepseek-flash at $0.15 and $0.60 off-peak
  • Teams that want model weights they can host elsewhere: Groq and Together AI serve open models, which can be moved between providers
  • Anyone building a model that competes with Gemini: Google's terms prohibit using the service for that, so check each alternative vendor's terms too

SpecSpec sheet

Google Gemini API specifications with sources
Context window (Gemini 4 Hydrogen)1,048,576 tokens, unified across input and outputsrc ↗
Maximum output (Gemini 4 Hydrogen)65,536 tokens by default; up to 1,048,576 with long decodesrc ↗
Input typesText, image, video, audio and PDFsrc ↗
Context and output (Gemini 3.5 Flash-Lite)1,048,576 input tokens and 65,536 output tokenssrc ↗
Free tier modelsIncludes Gemini 4 Hydrogen, 3.8 Flash, 3.6 Flash and 3.5 Flash-Lite; excludes Carbon, Argon and Neonsrc ↗
Batch API50% of standard cost; 24-hour target turnaround; jobs expire after 48 hourssrc ↗
Flex inference50% discount with best-effort availability; in previewsrc ↗
Priority inference75% to 100% more than Standardsrc ↗
Implicit cachingOn by default for Gemini 2.5 and newer; 4,096-token minimum on Gemini 4 modelssrc ↗
Usage tier requirementsTier 1: linked billing; Tier 2: $100 paid plus 3 days; Tier 3: $1,000 paid plus 30 dayssrc ↗
Monthly billing capsTier 1: $250; Tier 2: $2,000; Tier 3: $20,000 to $100,000+src ↗
Spend rate limitTier 1: $10 per 10 minutes; Tiers 2 and 3: $200; depends on account historysrc ↗
Minimum prepayment$5; unused credits expire after 12 monthssrc ↗
File Search storageFree: 1 GB; Tier 1: 10 GB; Tier 2: 100 GB; Tier 3: 1 TBsrc ↗
OpenAI library supportYes, through the v1beta/openai base URLsrc ↗
Minimum age18src ↗

Price

Free tier on many models; paid from $0.10 per 1M input tokens on Gemini 2.5 Flash-Lite.

Input price (text, image, video) * Free of charge * $0.10 (text / image / video) $0.30 (audio)
Quoted from the vendor pricing page on November 16, 2026.

Plans on file · 30

Google Gemini API plans and prices with sources and check dates
Free tier$0No charge within rate limitsFree input and output tokens on certain models; Google AI Studio access; Content is used to improve Google products outside the EEA, Switzerland and the UKChecked Nov 24, 2026
Paid tierPay as you go; $5 minimum prepayment for new prepay accountsPrepay by default; Postpay for eligible accountsHigher rate limits; Batch API at 50% off; Prompts and responses not used to improve Google productsChecked Nov 24, 2026
Enterprise (Gemini Enterprise Agent Platform)Price not listed on this pageContact salesDedicated support channels; Provisioned throughput; Volume-based discountsChecked Nov 24, 2026
Contributor tier (private preview)$0.75 in, $3.75 out on Gemini 4 HydrogenPer 1M tokens, paid tierInvite only; Content is used to improve Google productsChecked Nov 24, 2026
Gemini 4 Carbon$2.00 in, $10.00 out through November 30, 2026; $4.00 in, $20.00 out from December 1Per 1M tokens, pay as you go, Standard tierTop reasoning model; No free tier; Batch and Flex at half priceChecked Nov 24, 2026
Gemini 4 Argon$2.00 in, $10.00 out through November 30, 2026; $4.00 in, $20.00 out from December 1Per 1M tokens, pay as you go, Standard tierLower token spend per turn than Carbon, according to Google; No free tierChecked Nov 24, 2026
Gemini 4 Neon$3.00 in, $15.00 outPer 1M tokens, pay as you go, Standard tierNo free tier; Cached input $0.15Checked Nov 24, 2026
Gemini 4 Hydrogen$1.50 in, $7.50 outPer 1M tokens, pay as you go, Standard tierFree tier available; Cached input $0.075Checked Nov 24, 2026
Gemini 3.8 Flash$0.75 in, $3.75 out through December 31, 2026; $1.50 in, $7.50 out from January 1, 2027Per 1M tokens, pay as you go, Standard tierFree tier available; Explicit caching with storage feeChecked Nov 24, 2026
Gemini 3.6 Flash$0.75 in, $3.75 out through December 31, 2026; $1.50 in, $7.50 out from January 1, 2027Per 1M tokens, pay as you go, Standard tierFree tier availableChecked Nov 24, 2026
Gemini 3.5 Flash-Lite$0.30 in, $2.50 outPer 1M tokens, pay as you go, Standard tierFree tier available; Cached input $0.03 plus storageChecked Nov 24, 2026
Gemini 3.1 Flash-Lite$0.25 in ($0.50 audio), $1.50 outPer 1M tokens, pay as you go, Standard tierFree tier available; Earliest shutdown date May 7, 2027, per the deprecations pageChecked Nov 24, 2026
Gemini 3.1 Pro Preview$2.00 in, $12.00 out up to 200k prompt tokens; $4.00 and $18.00 abovePer 1M tokens, pay as you go, Standard tierNo free tier; Preview modelChecked Nov 24, 2026
Gemini 3 Flash Preview$0.50 in ($1.00 audio), $3.00 outPer 1M tokens, pay as you go, Standard tierFree tier available; Preview modelChecked Nov 24, 2026
Gemini 2.5 Pro (retiring)$1.25 in, $10.00 out up to 200k prompt tokens; $2.50 and $15.00 abovePer 1M tokens, pay as you go, Standard tierPast users only; Reroutes to Gemini 3.8 Flash on December 1, 2026Checked Nov 24, 2026
Gemini 2.5 Flash (retiring)$0.30 in ($1.00 audio), $2.50 outPer 1M tokens, pay as you go, Standard tierPast users only; Reroutes to Gemini 3.5 Flash-Lite on December 1, 2026Checked Nov 24, 2026
Gemini 2.5 Flash-Lite$0.10 in ($0.30 audio), $0.40 outPer 1M tokens, pay as you go, Standard tierPast users only; No shutdown date announcedChecked Nov 24, 2026
Gemini 3.8 Live$0.75 text in, $3.00 audio in; $4.50 text out, $12.00 audio outPer 1M tokens, pay as you go, Standard tierAbout $0.005 per minute audio in and $0.018 per minute audio out; Free tier availableChecked Nov 24, 2026
Gemini 3.5 Transcribe$2.00 audio in, $12.00 text outPer 1M tokens, pay as you go, Standard tierAbout $0.003 per minute in and $0.002 per minute out; Free tier availableChecked Nov 24, 2026
Gemini 3.8 Flash TTS$0.50 text in, $9.00 audio out through December 31, 2026; $1.00 and $18.00 from January 1, 2027Per 1M tokens, pay as you go, Standard tierFree tier availableChecked Nov 24, 2026
Gemini 3.8 Flash-Lite TTS$0.50 text in, $6.00 audio out through December 31, 2026; $1.00 and $12.00 from January 1, 2027Per 1M tokens, pay as you go, Standard tierFree tier availableChecked Nov 24, 2026
Nano Banana 2.1 (images)About $0.0336 per 1K image, $0.0504 per 2K and $0.113 per 4KImage output billed at $30.00 per 1M tokensNo free tierChecked Nov 24, 2026
Nano Banana 2 (images)About $0.067 per 1K image, $0.101 per 2K and $0.151 per 4KImage output billed at $60.00 per 1M tokensNo free tierChecked Nov 24, 2026
Gemini Omni 1.2 Flash (video)About $0.07 per second at 720pVideo output billed at $12.00 per 1M tokensNo free tier; Clips up to 15 secondsChecked Nov 24, 2026
Genie 4 (interactive worlds)About $0.10 per secondVideo output billed at $17.50 per 1M tokensNo free tierChecked Nov 24, 2026
Lyria 3.5 (music)$0.08 per songPer songNo free tierChecked Nov 24, 2026
Gemini Decision 1$0.10 in, no output chargePer 1M tokens, pay as you go, Standard tierFree tier availableChecked Nov 24, 2026
Gemini Embedding 2$0.20 text inPer 1M tokens, pay as you go, Standard tierFree tier available; Text, image, audio, video and PDF embeddingsChecked Nov 24, 2026
Gemini Robotics ER 2 Preview$1.00 in, $5.00 out through December 31, 2026; input $2.00 from January 1, 2027Per 1M tokens, pay as you go, Standard tierFree tier availableChecked Nov 24, 2026
Gemma 4Free of charge; no paid tierFree tier onlyContent used to improve Google productsChecked Nov 24, 2026

Key features

Long context and long decode

Gemini 4 models share 1,048,576 tokens between input and output. Responses stop at 65,536 tokens by default, and long decode raises that to as much as 1,048,576.

Four public processing tiers

Standard is the default. Batch and Flex cost half as much, and Priority costs 75% to 100% more. On Hydrogen, all four are listed as supported. An invite-only Contributor tier also halves Hydrogen prices, but its content is used to improve Google products.

Grounding and built-in tools

Google Search, Google Maps, URL context, code execution, file search and computer use are built in. Search on Gemini 3 and newer models includes 5,000 free requests a month, then costs $14 per 1,000, with a default cap of 1,500 a day per project.

Office and media files as input

A November 18, 2026 update lets developers pass Word, PowerPoint and Excel files directly and select page ranges, worksheet tabs, cell ranges or time intervals, so only the selected content is billed.

Live API for voice

Gemini 3.8 Live handles real-time speech with interruptions and tool calls, and the Live API overview lists 70 supported languages.

Automatic caching

Implicit caching is enabled by default and needs at least 4,096 input tokens on Gemini 4. Cached input on Hydrogen is $0.075 per 1M, a 95% saving from $1.50. Explicit caching is not supported on Gemini 4.

OpenAI library compatibility

Existing OpenAI Python and JavaScript code can call Gemini by changing three lines. Google recommends its own API for developers not already using those libraries.

Strengths and weaknesses

Plus · 7

  • A free tier covers Gemini 4 Hydrogen, 3.8 Flash and 3.5 Flash-Lite, with input and output both listed as free of charge
  • Context of 1,048,576 tokens on Gemini 4 models, with no higher rate listed for long prompts, unlike the 200k threshold on Gemini 3.1 Pro Preview
  • Gemini 4 Hydrogen at $1.50 in and $7.50 out undercuts the $2.00 and $10.00 listed for Claude Sonnet 5.5 and GPT-6.2 Sol
  • Batch and Flex halve token prices, taking Hydrogen to $0.75 in and $3.75 out
  • Cached input on Hydrogen is $0.075 per 1M tokens and applies automatically on a cache hit
  • One catalog spans text, images from about $0.0336, video from about $0.07 a second at 720p, speech, music and embeddings
  • Paid-tier prompts and responses are not used to improve Google products, according to the API terms, apart from the invite-only Contributor tier

Minus · 6

  • Carbon and Argon double to $4.00 in and $20.00 out on December 1, 2026, and 3.8 Flash and 3.6 Flash double on January 1, 2027
  • Free-tier prompts outside the EEA, Switzerland and the UK may be read by human reviewers and used to develop Google products
  • New paid-tier projects created since October 26, 2026 store Generate Content requests by default until store is set to false or logging is turned off
  • Google Search and Maps grounding store prompts and output for 30 days, and that storage cannot be disabled
  • Tier 1 stops at $250 a month, and prepaid keys fail with HTTP 402 at a zero balance
  • Model turnover is fast: gemini-2.5-pro and gemini-2.5-flash, both released June 17, 2025, are rerouted on December 1, 2026

Key facts

  • Cheapest paid text input: $0.10 per 1M tokens (Gemini 2.5 Flash-Lite)
  • Gemini 3.5 Flash-Lite: $0.30 in, $2.50 out per 1M tokens
  • Context: 1M tokens on Gemini 4 Argon
  • Tier 2: Paid $100 plus 3 days from first payment

Where it ranks

Google Gemini API is No. 1 in our Best LLM APIs verdict.

AltAlternatives to weigh

  • OpenAI API →GPT-6.2 Sol lists $2.00 in and $10.00 out per 1M tokens, for teams already built on OpenAI's SDK and tools.
  • Anthropic API →Claude Haiku 5.5 lists $0.10 in and $0.50 out for prompts up to 100,000 tokens, and Sonnet 5.5 lists $2.00 and $10.00.
  • DeepSeek API →deepseek-flash lists 1M context with off-peak rates of $0.15 in and $0.60 out per 1M tokens.
  • Groq →It serves open models, including one listed at $0.15 in and $0.60 out per 1M tokens, for teams that do not want a proprietary model.

Questions readers ask

QIs the Gemini API free?
AYes, there is a free tier that covers Gemini 4 Hydrogen, 3.8 Flash, 3.6 Flash and 3.5 Flash-Lite within rate limits. Carbon, Argon, Neon and image and video generation models such as Nano Banana 2.1 and Omni 1.2 Flash need the paid tier. Some projects also need mobile device verification.
QHow much does the Gemini API cost?
AGemini 4 Hydrogen costs $1.50 per 1M input tokens and $7.50 per 1M output tokens as of November 2026. Gemini 3.5 Flash-Lite costs $0.30 and $2.50, and Gemini 4 Neon costs $3.00 and $15.00. Thinking tokens are billed as output.
QIs the Gemini API worth it?
AIt is worth it for most multimodal or long-context projects, because it combines a free tier, 1,048,576 tokens of context and half-price Batch processing. It is less compelling for short, simple prompts, where Claude Haiku 5.5 lists $0.10 in and $0.50 out.
QDoes Google train on Gemini API data?
AGoogle does not use standard paid-tier prompts or responses to improve its products, but it does use content from the free tier and the invite-only Contributor tier. The terms apply the paid data rules to free use in the EEA, Switzerland and the UK. Paid prompts are still logged for a limited time to detect policy violations.
QGemini API vs OpenAI API: which is cheaper?
AGemini 4 Hydrogen is cheaper than GPT-6.2 Sol at list price, at $1.50 in and $7.50 out against $2.00 and $10.00. Total cost also depends on how many thinking tokens each model uses, so a fair comparison measures the same task on both.
QWhat are the Gemini API rate limits?
ALimits depend on model and tier, and Google shows the active numbers in AI Studio instead of one public table. Tier 2 requires $100 paid plus 3 days, and Tier 3 requires $1,000 paid plus 30 days. Daily request quotas reset at midnight Pacific time.
QIs the Gemini API included with a Google AI Pro subscription?
AProgrammatic API use is billed separately by usage, with its own free and paid tiers. Google's model guide says AI Pro or Ultra gives access to Gemini 4 Neon inside Google AI Studio, and AI Ultra gives access to Carbon there.
QIs Gemini 2.5 Pro being shut down?
AYes, from December 1, 2026 calls to gemini-2.5-pro route to gemini-3.8-flash at that model's rates. Calls to gemini-2.5-flash route to gemini-3.5-flash-lite on the same date. Gemini 2.5 Flash-Lite has no announced shutdown date.

LogSource log

  1. [01]Gemini Developer API pricing · checked Nov 24, 2026
  2. [02]Gemini models · checked Nov 24, 2026
  3. [03]Choosing a model · checked Nov 24, 2026
  4. [04]Gemini 4 Hydrogen model page · checked Nov 24, 2026
  5. [05]Gemini 4 Carbon model page · checked Nov 24, 2026
  6. [06]Gemini 3.5 Flash-Lite model page · checked Nov 24, 2026
  7. [07]Gemini API release notes · checked Nov 24, 2026
  8. [08]Gemini deprecations · checked Nov 24, 2026
  9. [09]Rate limits · checked Nov 24, 2026
  10. [10]Billing · checked Nov 24, 2026
  11. [11]Gemini API additional terms of service · checked Nov 24, 2026
  12. [12]Zero data retention · checked Nov 24, 2026
  13. [13]Logs and datasets · checked Nov 24, 2026
  14. [14]Batch API · checked Nov 24, 2026
  15. [15]Flex inference · checked Nov 24, 2026
  16. [16]Priority inference · checked Nov 24, 2026
  17. [17]Context caching · checked Nov 24, 2026
  18. [18]File search · checked Nov 24, 2026
  19. [19]Live API overview · checked Nov 24, 2026
  20. [20]OpenAI compatibility · checked Nov 24, 2026
  21. [21]Gemini API libraries · checked Nov 24, 2026
  22. [22]Project and account verification · checked Nov 24, 2026
  23. [23]Claude API pricing · checked Nov 24, 2026
  24. [24]OpenAI API pricing · checked Nov 24, 2026
  25. [25]DeepSeek models and pricing · checked Nov 24, 2026
  26. [26]Groq supported models · checked Nov 24, 2026

Deep review last updated November 24, 2026. Prices and specs are rechecked against these pages.

Alternatives we scored

Cite this page

DBotMaker. Google Gemini API review. Updated November 24, 2026. https://dbotmaker.io/review/google-gemini-api

Visit ai.google.dev · Questions or corrections: editorial@dbotmaker.io