BAD SKY.NET

Gemini API Pricing

Compare input and output token prices across AI language models.

ProviderModel
Input
per 1M tokens
Output
per 1M tokens
GoogleGoogleGemma 4 26B A4BOpen weights$0.05$0.29View
GoogleGoogleGemini 2.5 Flash-Lite$0.10$0.40View
GoogleGoogleGemma 3 27B InstructOpen weights$0.10$0.30View
GoogleGoogleGemma 4 31BOpen weights$0.13$0.37View
GoogleGoogleGemini 3.1 Flash-Lite$0.25$1.50View
GoogleGoogleGemini 2.5 Flash$0.30$2.50View
GoogleGoogleGemini 3.5 Flash-Lite$0.30$2.50View
GoogleGoogleGemini 3 Flash Preview$0.50$3.00View
GoogleGoogleGemini 3.6 Flash$0.75$3.75View
GoogleGoogleGemini 3.8 Flash$0.75$3.75View
GoogleGoogleGemini 2.5 Pro$1.25$10.00View
GoogleGoogleGemini 4 Hydrogen$1.50$7.50View
GoogleGoogleGemini 4 Argon$2.00$10.00View
GoogleGoogleGemini 3.1 Pro Preview$2.00$12.00View
GoogleGoogleGemini 4 Carbon$2.00$10.00View

Google API cost calculator

Enter the tokens of a typical request to compare what it costs with every model in the table. Not sure how many tokens your prompt has? Paste it into the token calculator.

ModelPer requestPer month
Gemma 4 26B A4B (open weights, third-party host)$0.00024$2.45
Gemma 3 27B Instruct (open weights, third-party host)$0.00035$3.50
Gemini 2.5 Flash-Lite $0.0004$4.00
Gemma 4 31B (open weights, third-party host)$0.00044$4.45
Gemini 3.1 Flash-Lite $0.0013$12.50
Gemini 2.5 Flash $0.0019$18.50
Gemini 3.5 Flash-Lite $0.0019$18.50
Gemini 3 Flash Preview $0.0025$25.00
Gemini 3.6 Flash $0.0034$33.75
Gemini 3.8 Flash $0.0034$33.75

How Gemini API pricing works

The Gemini API is billed per token, with separate prices for input tokens (text, images, audio, and video you send) and output tokens (the generated answer). Prices in the table are standard paid-tier rates per 1 million tokens.

Flash-Lite and Flash models are among the cheapest LLM APIs on the market and offer very large context windows, which makes them a good fit for high-volume tasks and long documents. Pro models cost more and are meant for complex reasoning and coding.

Google also offers a free tier with rate limits for testing, and some models charge a higher rate for very long prompts, so check the official pricing page for your exact usage; the table shows standard paid prices.

FAQ

How much does the Google API cost?

As of November 17, 2026, Google charges from $0.10 to $2.00 per 1M input tokens and from $0.40 to $12.00 per 1M output tokens across the 12 models in the table above. Google also publishes 9 open-weight models that you run on your own hardware or through third-party hosts, so their price depends on the host.

What is the cheapest Google model?

Gemini 2.5 Flash-Lite, at $0.10 per 1M input tokens and $0.40 per 1M output tokens. A request with 2,000 input and 500 output tokens costs about $0.0004 with it, so 1,000 such requests cost $0.40.

What is the most expensive Google model?

Gemini 3.1 Pro Preview, at $2.00 per 1M input tokens and $12.00 per 1M output tokens. The same 2,000 input and 500 output token request costs about $0.01, so pick the smallest model that handles your task well.

Which Google model has the largest context window?

Gemini 2.5 Flash-Lite accepts up to 1M tokens of context. Long prompts are billed as input tokens, so filling the whole window costs about $0.10 per request.

Is Google cheaper than other LLM APIs?

Not at the low end: Qwen3.7-Flash costs $0.03 per 1M input tokens and $0.13 per 1M output tokens, less than any Google model. Price is only part of the choice, so compare quality and context window as well in the LLM price comparison.

How do I estimate the cost of my prompts?

Count the tokens of a typical prompt and answer with the token calculator, then enter them in the cost calculator above to see the price per request and per month for every Google model.