GPT-4o mini vs Gemini 2.5 Flash API Price Comparison

Prices updated: ·85 quotes

As of : At official rates, GPT-4o mini is $0.1500/1M input tokens and Gemini 2.5 Flash is $0.3000 — GPT-4o mini is ~50% cheaper than Gemini 2.5 Flash. Via relay providers, the lowest GPT-4o mini rate is $0.0062 (TreeRouter) and Gemini 2.5 Flash is $0.0062 (TreeRouter). Context windows: GPT-4o mini 131K, Gemini 2.5 Flash 1000K. GPT-4o mini and Gemini 2.5 Flash support image input. 85 provider quotes tracked (GPT-4o mini: 35, Gemini 2.5 Flash: 50), updated daily.
GPT-4o miniBudget
Official
$0.1500
/ 1M tokens
Best Price
$0.0062
/ 1M tokens
35 providers · 131K Context · 👁 Vision
Gemini 2.5 FlashBudget
Official
$0.3000
/ 1M tokens
Best Price
$0.0062
/ 1M tokens
50 providers · 1000K Context · 👁 Vision
At official prices, GPT-4o mini is ~50% cheaper.

Price Comparison

GPT-4o miniGemini 2.5 Flash
Official input / 1M tokens$0.1500$0.3000
Official output / 1M tokens$0.6000$2.5000
Cheapest input / 1M tokens$0.0062$0.0062
Cheapest output / 1M tokens$0.0031$0.0552
providers3550
Context131K1000K
Vision

GPT-4o mini — All Providers

Detail page →
ProviderInput / 1MAPI
Official
Azure OpenAIOfficial🌐Manual
$0.1500
Try →
Relay / Aggregator
TreeRouterRelayLowest🇨🇳支付宝微信⚠️ Unusually lowLive
$0.0062
Try →
RunAPIRelay🇨🇳支付宝微信Live
$0.0083
Try →
ProAI APIRelay🇨🇳支付宝微信Live
$0.0108
Try →
UiUiAPIRelay🇨🇳支付宝微信VisaMCLive
$0.0207
Try →
LaoZhang APIRelay🇨🇳支付宝微信Live
$0.0207
Try →
PoloAPIRelay🇨🇳支付宝微信Live
$0.0207
Try →

Gemini 2.5 Flash — All Providers

Detail page →
ProviderInput / 1MAPI
Official
Google Vertex AIOfficial🌐VisaMCGCP👁Manual
$0.3000
Try →
Google AIOfficial🌐VisaMCGCP👁Live
$0.3000
Try →
Relay / Aggregator
TreeRouterRelayLowest🇨🇳支付宝微信⚠️ Unusually lowLive
$0.0062
Try →
PoloAPIRelay🇨🇳支付宝微信⚠️ Unusually lowLive
$0.0138
Try →
UiUiAPIRelay🇨🇳支付宝微信VisaMC⚠️ Unusually lowLive
$0.0138
Try →
RunAPIRelay🇨🇳支付宝微信Live
$0.0177
Try →
PackyCodeRelay🇨🇳支付宝微信Live
$0.0414
Try →
EasyRouterRelay🇨🇳支付宝微信Live
$0.0414
Try →

Frequently Asked Questions

Which is cheaper, GPT-4o mini or Gemini 2.5 Flash?

At official price, GPT-4o mini is cheaper by ~50%. At the best relay price, both are similar.

What context window do GPT-4o mini and Gemini 2.5 Flash support?

GPT-4o mini has a 131K token context window; Gemini 2.5 Flash has 1000K tokens.

Do GPT-4o mini and Gemini 2.5 Flash support image input?

GPT-4o mini supports image input; Gemini 2.5 Flash supports image input.

What is the cheapest way to access GPT-4o mini or Gemini 2.5 Flash?

GPT-4o mini's lowest input price is $0.0062/1M tokens (TreeRouter). Gemini 2.5 Flash's is $0.0062/1M tokens (TreeRouter). Relay providers typically offer lower prices with different SLA terms.

Related Comparisons

llama-3-1-8b-instruct vs gpt-4o-minigpt-4o-mini vs llama-4-scoutgpt-4o-mini vs gpt-5-minigpt-4o-mini vs gpt-4-1-minigpt-4o-mini vs gemini-2-0-flashgpt-4o-mini vs gpt-5-4-minigpt-4o-mini vs deepseek-v4-flashgpt-4o-mini vs gemini-2-5-flash-lite

Related

GPT-4o mini API PricesGemini 2.5 Flash API PricesAll Language Model APIs
← Back to AI API Pricing