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

GPT-5.4 vs Gemini 2.5 Pro pricing

Side-by-side LLM API pricing.Gemini 2.5 Pro is cheaper on input ($1.25 vs $2.50 /1M), and Gemini 2.5 Pro is cheaper on output ($10.00 vs $15.00 /1M). On a blended average, Gemini 2.5 Pro is lower — but which wins for you depends on your input/output mix, so check the example workloads below or run the calculator.

AttributeGPT-5.4Gemini 2.5 Pro
ProviderOpenAIGoogle
TierMid-rangeFlagship
StatusGAGA
Context window1.05M1M
Input /1M$2.50$1.25
Output /1M$15.00$10.00
Cached input /1M$0.25$0.125
Batch input /1M$1.25$0.625
Batch output /1M$7.50$5.00
Blended (avg in+out)$8.75$5.63
1M in + 1M out$17.50$11.25
1M in (90% cached) + 100K out$1.98$1.24

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-08-03.

Which should you pick?

For a balanced job (1M input + 1M output), Gemini 2.5 Pro costs $11.25 versus $17.50. 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: GPT-5.4 pricing → · Gemini 2.5 Pro pricing → · Back to the LLM pricing hub →