Free cloud & LLM pricing tools — AWS EC2 + LLM API Pricing Explorer

Gemini 3.8 Flash vs Gemini 4 Hydrogen pricing

Side-by-side LLM API pricing.Gemini 3.8 Flash is cheaper on input ($0.75 vs $1.50 /1M), and Gemini 3.8 Flash is cheaper on output ($3.75 vs $7.50 /1M). On a blended average, Gemini 3.8 Flash is lower — but which wins for you depends on your input/output mix, so check the example workloads below or run the calculator.

AttributeGemini 3.8 FlashGemini 4 Hydrogen
ProviderGoogleGoogle
TierMid-rangeMid-range
StatusGAGA
Context window1M1.05M
Input /1M$0.75$1.50
Output /1M$3.75$7.50
Cached input /1M$0.075$0.075
Batch input /1M$0.375$0.75
Batch output /1M$1.88$3.75
Blended (avg in+out)$2.25$4.50
1M in + 1M out$4.50$9.00
1M in (90% cached) + 100K out$0.5175$0.9675

List prices, USD, directional. Rates are provider list prices per 1M tokens and are meant for comparison, not billing. Batch rates shown as 50% off are derived where a provider offers batch but does not publish a separate figure. Preview, promo, intro, peak/off-peak, long-context, and third-party-host prices are labeled where they apply. Token counts vary by tokenizer, so per-token price is not always a like-for-like cost. Always confirm with the provider before relying on a number. Prices as of 2026-11-02.

Which should you pick?

For a balanced job (1M input + 1M output), Gemini 3.8 Flash costs $4.50 versus $9.00. If your prompts are large and reused, prompt caching changes the maths — the cache-heavy row above shows a 90%-cached input scenario. If your work can run asynchronously, both providers' batch rates cut the bill further where offered.

Full price matrices: Gemini 3.8 Flash pricing → · Gemini 4 Hydrogen pricing → · Back to the LLM pricing hub →