GPT-4.1 mini vs DeepSeek V4 Flash API Price Comparison

Prices updated: ·35 quotes

As of : At official rates, GPT-4.1 mini is $0.4000/1M input tokens and DeepSeek V4 Flash is $0.1400 — DeepSeek V4 Flash is ~65% cheaper than GPT-4.1 mini. Via relay providers, the lowest GPT-4.1 mini rate is $0.0166 (TreeRouter) and DeepSeek V4 Flash is $0.0158 (RunAPI). Context windows: GPT-4.1 mini 1024K, DeepSeek V4 Flash 1049K. GPT-4.1 mini supports image input. 35 provider quotes tracked (GPT-4.1 mini: 19, DeepSeek V4 Flash: 16), updated daily.
GPT-4.1 miniBudget
Official
$0.4000
/ 1M tokens
Best Price
$0.0166
/ 1M tokens
19 providers · 1024K Context · 👁 Vision
DeepSeek V4 FlashBudget
Official
$0.1400
/ 1M tokens
Best Price
$0.0158
/ 1M tokens
16 providers · 1049K Context
At official prices, DeepSeek V4 Flash is ~65% cheaper. At the best relay price, DeepSeek V4 Flash is ~5% cheaper.

Price Comparison

GPT-4.1 miniDeepSeek V4 Flash
Official input / 1M tokens$0.4000$0.1400
Official output / 1M tokens$1.6000$0.2800
Cheapest input / 1M tokens$0.0166$0.0158
Cheapest output / 1M tokens$0.0662$0.0315
providers1916
Context1024K1049K
Vision

GPT-4.1 mini — All Providers

Detail page →
ProviderInput / 1MAPI
Official
Azure OpenAIOfficial🌐Manual
$0.4000
Try →
Relay / Aggregator
TreeRouterRelayLowest🇨🇳支付宝微信⚠️ Unusually lowLive
$0.0166
Try →
RunAPIRelay🇨🇳支付宝微信Live
$0.0221
Try →
PoloAPIRelay🇨🇳支付宝微信Live
$0.0552
Try →
LaoZhang APIRelay🇨🇳支付宝微信Live
$0.0552
Try →
UiUiAPIRelay🇨🇳支付宝微信VisaMCLive
$0.0552
Try →
ProAI APIRelay🇨🇳支付宝微信Live
$0.0574
Try →

DeepSeek V4 Flash — All Providers

Detail page →
ProviderInput / 1MAPI
Official
DeepSeekOfficial🇨🇳VisaMC支付宝微信Live
$0.1400
Try →
Relay / Aggregator
RunAPIRelayLowest🇨🇳支付宝微信Live
$0.0158
Try →
EasyRouterRelay🇨🇳支付宝微信Live
$0.0193
Try →
LaoZhang APIRelay🇨🇳支付宝微信Live
$0.0193
Try →
TreeRouterRelay🇨🇳支付宝微信Live
$0.0414
Try →
OpenRouterRelay🌐VisaMCCryptoLive
$0.0900
Try →
Deep InfraRelay🌐VisaMCLive
$0.1000
Try →

Frequently Asked Questions

Which is cheaper, GPT-4.1 mini or DeepSeek V4 Flash?

At official price, DeepSeek V4 Flash is cheaper by ~65%. At the best relay price, DeepSeek V4 Flash with a ~5% difference.

What context window do GPT-4.1 mini and DeepSeek V4 Flash support?

GPT-4.1 mini has a 1024K token context window; DeepSeek V4 Flash has 1049K tokens.

Do GPT-4.1 mini and DeepSeek V4 Flash support image input?

GPT-4.1 mini supports image input; DeepSeek V4 Flash does not support image input.

What is the cheapest way to access GPT-4.1 mini or DeepSeek V4 Flash?

GPT-4.1 mini's lowest input price is $0.0166/1M tokens (TreeRouter). DeepSeek V4 Flash's is $0.0158/1M tokens (RunAPI). Relay providers typically offer lower prices with different SLA terms.

Related Comparisons

gpt-4-1-mini vs gpt-5-minigpt-4-1-mini vs gpt-5-4-minigpt-4-1-mini vs gemini-2-5-flashgpt-4-1-mini vs claude-haiku-4-5gpt-4o-mini vs gpt-4-1-minigpt-5-4-mini vs deepseek-v4-flashclaude-haiku-4-5 vs deepseek-v4-flashgemini-2-5-flash vs deepseek-v4-flash

Related

GPT-4.1 mini API PricesDeepSeek V4 Flash API PricesAll Language Model APIs
← Back to AI API Pricing