Skip to content
MyStackPlan

Google Gemini API pricing

Google's Gemini models by API, billed per token, with a free tier for the Flash models to try things out.

Every plan below was checked against Google Gemini API's own pages on . Prices in USD.

Plans

Pay as you go

Pay as you go

At the limit
Bills for extra usage
  • Billed per million tokens, with input and output priced separately. Output prices include thinking tokens, so reasoning-heavy replies cost more than the visible text suggests.
  • Prices shown are the standard tier. Cached input is cheaper, and Batch and Flex requests are half the standard price on the Flash models.
  • A free tier exists for Gemini 3.8 Flash, 3.6 Flash and 3.5 Flash-Lite. It is not available for Gemini 3.1 Pro or Gemini 4 Argon. Google does not publish the free tier's request limits: the rate limits page says they are shown only in Google AI Studio (https://ai.google.dev/gemini-api/docs/rate-limits), so the free tier is not listed as a plan here.
  • The pricing page says free-tier content is used to improve Google's products. Paid-tier content is not used that way (https://ai.google.dev/gemini-api/docs/pricing).
  • Grounding with Google Search: 5,000 free search requests a month, shared across Gemini 3 and newer models, then $14 per 1,000 requests.
  • Several prices step up soon (see the price-change badge). Estimates use today's price.

Source: ai.google.dev · checked

Models

ModelInput per 1M tokensOutput per 1M tokensAnnounced change
Gemini 3.5 Flash-LiteCheapest current model here, free tier available$0.30$2.50None announced
Gemini 3.6 FlashPrevious-generation Flash, free tier available$0.75$3.75$1.50 / $7.50 from $0.75 in and $3.75 out through December 31, 2026
Gemini 3.8 FlashNewest Flash model, free tier available$0.75$3.75$1.50 / $7.50 from $0.75 in and $3.75 out through December 31, 2026
Gemini 3.1 Pro PreviewFor prompts up to 200,000 tokens; longer prompts cost $4 in and $18 out. Preview model, no free tier$2.00$12.00None announced
Gemini 4 ArgonFlagship reasoning model, no free tier$2.00$10.00$4.00 / $20.00 from $2 in and $10 out through November 30, 2026

Works well with

  • Cloudflare AI GatewayCloudflare AI Gateway can sit in front of Google requests to add logging, caching and rate limits.
  • OpenRouterOpenRouter lets you call Google models through one API.
  • Vercel AI GatewayVercel AI Gateway lets you call Google models through one gateway.

Alternatives for llm apis & inference