codemux CodeMux App

Gemini API pricing

Paid Gemini text starts at $0.25 input / $1.50 output per million tokens on Flash-Lite. Gemini 4 Hydrogen, Gemini 3.8 Flash and Gemini 3.1 Flash-Lite have a limited free tier.

✓ Matches official pageChecked Dec 5, 2026

Gemini text token prices and scheduled changes

ModelAPI model IDRate periodText input / 1MOutput / 1MStandard free tierExample text budget
Gemini 4 Carbongemini-4-carbonSince Dec 1, 2026$4$20Unavailable$80.00
Gemini 4 Argongemini-4-argonSince Dec 1, 2026$4$20Unavailable$80.00
Gemini 4 Neongemini-4-neonListed rate$3$15Unavailable$60.00
Gemini 4 Hydrogengemini-4-hydrogenListed rate$1.50$7.50Available$30.00
Gemini 3.8 Flashgemini-3.8-flashThrough Dec 31, 2026 ($1.50 / $7.50 from Jan 1, 2027)$0.75$3.75Available$15.00
Gemini 3.1 Flash-Litegemini-3.1-flash-liteListed rate$0.25$1.50Available$5.50

The example uses 10 million uncached text input tokens and 2 million billable output tokens, including thinking tokens. These are selected models on the Gemini Developer API. Other modalities and enterprise endpoints can have separate rates.

Estimate your API cost

Estimated token cost (USD)
$1.75

Uses current paid Standard text pricing. Count thinking tokens in billable output. Estimate for uncached text before taxes and any other usage charges.

What are the Gemini API free-tier limits?

The Gemini Developer API free tier offers free input and output on eligible models, within the limits of your project. Google applies separate limits for requests per minute, input tokens per minute, and requests per day. Check Google’s rate limits and your project’s current limits in AI Studio before estimating what you can run for free.

Google lists free Standard input and output for Gemini 4 Hydrogen, Gemini 3.8 Flash and Gemini 3.1 Flash-Lite, subject to free-tier limits. On paid Flash-Lite, the example workload costs $5.50 with Standard and $2.75 with Batch at $0.125 input and $0.75 output per million tokens. Use the batch estimate when your workload can wait for asynchronous processing.

What else belongs in a Gemini budget?

Capture total billable output from usage metadata, including thinking. Price cache reads and explicit cache storage separately where supported. If your workload uses web grounding, add expected search charges separately from the token budget. Recalculate workloads crossing a rate date. Record the full model ID, since Flash, Flash-Lite and text-to-speech variants have separate rates.

Sources

Source figures reviewed on .

Related guides