Tool · checked 24 Nov 2026
Gemini API Pricing Calculator for Gemini 4 Models
Estimate Google Gemini 4 API costs for Hydrogen, Argon, Carbon and Neon before and after 1 December 2026, including implicit caching and Search grounding.
Use this free, no-signup calculator to estimate monthly Google Gemini 4 API costs across Hydrogen, Argon, Carbon, and Neon. Every official rate is preloaded from Google AI Studio (aistudio.google.com/docs/pricing, checked 24 November 2026) and includes the 1 December 2026 price doubling on Argon and Carbon.
Live Specimen · 1,000 requests @ 10K in / 2K out
Interactive API Cost Estimator
| Model | Input / 1M | Output / 1M | Cache / 1M | Free API | Estimated Total |
|---|---|---|---|---|---|
| Hydrogen Lowest paid | $1.50 | $7.50 | $0.075 | Yes ($0 tier) | $30.00 |
| Argon | $2.00 | $10.00 | $0.10 | No | $40.00 |
| Carbon | $2.00 | $10.00 | $0.10 | No | $40.00 |
| Neon | $3.00 | $15.00 | $0.15 | No | $60.00 |
Exact pricing formula
Google calculates Gemini 4 API spend directly from token counts and grounding tool calls:
cost = (regular_input ÷ 1,000,000 × input_rate) + (cached_input ÷ 1,000,000 × cache_rate) + (output_incl_thinking ÷ 1,000,000 × output_rate) + grounding_fee
- Regular vs cached input: Gemini 4 supports implicit context caching only (explicit caching is not supported). Cached hits are discounted by 95% on all four models ($0.075 on Hydrogen; $0.10 → $0.20 on Argon and Carbon; $0.15 on Neon).
- Thinking tokens: Included inside the per-million output rate across all four models — do not add a separate thinking-token multiplier.
- Search grounding:
Math.max(0, search_queries - 5,000) ÷ 1,000 × $14.00.
Worked example: 1,000 requests (10M input, 2M output + thinking, no cache)
| Model | Free API Tier | Paid cost (through 30 Nov 2026) | Paid cost (from 1 Dec 2026) | Best suited for |
|---|---|---|---|---|
Hydrogen (gemini-4-hydrogen) |
$0 (rate-limited) | $30.00 | $30.00 | High-volume coding, tests, agent loops |
Argon (gemini-4-argon) |
Not available | $40.00 | $80.00 | Efficient frontier reasoning |
Carbon (gemini-4-carbon) |
Not available | $40.00 | $80.00 | Deepest verification, multi-agent coordinator |
Neon (gemini-4-neon) |
Not available | $60.00 | $60.00 | Complex coding and multimodal synthesis |
To verify actual token consumption on a real prompt before scaling, call Google's count_tokens endpoint or inspect usage_metadata (input, output, thinking, and cached counts) returned on each API response. See the full Gemini 4 feature comparison or Gemini API and app quota guide.
Frequently asked questions
Can I estimate Gemini 4 API costs without signing up?
Yes. Enter your request volume, average input tokens, average output tokens (including thinking tokens), implicit cache hit rate and Search grounding queries above to compare Hydrogen, Argon, Carbon and Neon instantly in your browser with no account required.
Why does the calculator have a 1 December 2026 toggle?
Google's Gemini API pricing page lists $2.00 input / $10.00 output ($0.10 implicit cache) for Argon and Carbon through 30 November 2026, then $4.00 input / $20.00 output ($0.20 implicit cache) starting 1 December 2026. Toggling dates prevents under-budgeting December bills.
Do I need to add thinking tokens separately?
No separate rate applies: Google bills output tokens including thinking tokens on all four Gemini 4 models (Hydrogen, Argon, Carbon and Neon). Simply include your expected thinking tokens inside the output tokens per request field.
Which Gemini 4 model has a Free Tier in the API?
Only Gemini 4 Hydrogen has a Free Tier ($0 input, output and implicit cache within project rate limits). Argon, Carbon and Neon are paid-tier only.
How is Grounding with Google Search billed?
Paid tiers include 5,000 free Search grounding requests per month (shared across Gemini 3 and newer models), then $14.00 per 1,000 search requests.