Skip to main content

AI Resources

OpenAI vs DeepSeek API pricing

OpenAI and DeepSeek API prices side by side: model tiers, current models, the cost of the same workload and what each API supports, read from the providers' own pricing pages.

Last verified: October 13, 2026

OpenAIGPT-6 Astra, GPT-6.1 Sol and GPT-6 Luna cover reasoning, coding and high-volume work, with separate image and voice models.

DeepSeekV4.1-Flash provides 1M context and up to 384K output at $0.30/$1.20 peak or $0.15/$0.60 off-peak, with native vision on Flash.

Tier by tier

The closest model of each provider at four levels, shown as input / output price per million tokens.

TierOpenAIDeepSeek
FlagshipGPT-6 Astra$10/$50V4-Pro$1.32/$3.96
MidGPT-6.1 Sol$2/$10V4.1-Flash$0.30/$1.20
BudgetGPT-6 Luna$0.10/$0.50V4.1-Flash$0.30/$1.20
ReasoningGPT-6 Astra$10/$50V4-Pro$1.32/$3.96

Cost of the same workload

Base token-cost estimate for 10 equal requests: 100K input + 10K output tokens each (1M + 100K total). Only models with documented limits covering each request are shown. DeepSeek uses peak rates; its cached row assumes all input hits an existing cache, excluding warm-up misses. Gemini 2.5 requires prior active use. Cache writes, storage, tools, media and service premiums are excluded.

OpenAICost
GPT-6 Luna$0.15
GPT-5.6 Luna$0.32
GPT-5.4 Nano$0.33
GPT-5.4 Mini$1.20
GPT-6.1 Sol$3.00
GPT-6 Sol$3.00
GPT-5.6 Terra$3.20
GPT-5.6 Sol$6.00
GPT-6 Astra$15.00
DeepSeekCost
DeepSeek V4.1-Flashcached input$0.13
DeepSeek V4.1-Flash$0.42
DeepSeek V4-Pro$1.72

Open the cost calculator

OpenAI models and prices

ModelAPI IDInputCachedOutputContextMax out
GPT-6 Astragpt-6-astra$10.00$1.00$50.001.05M128K
GPT-6.1 Solgpt-6.1-sol$2.00$0.10$10.001.05M128K
GPT-6 Solgpt-6-sol$2.00$0.20$10.001.05M128K
GPT-6 Lunagpt-6-luna$0.10$0.01$0.501.05M128K
GPT-5.6 Solgpt-5.6-sol$4.00$0.40$20.001.05M128K
GPT-5.6 Terragpt-5.6-terra$2.00$0.20$12.001.05M128K
GPT-5.6 Lunagpt-5.6-luna$0.20$0.02$1.201.05M128K
GPT-5.5gpt-5.5$5.00$0.50$30.001.05M128K
GPT-5.5 Progpt-5.5-pro$30.00N/A$180.001.05M128K
GPT-5.4gpt-5.4$2.50$0.25$15.001.05M128K
GPT-5.4 Progpt-5.4-pro$30.00N/A$180.001.05M128K
GPT-5.4 Minigpt-5.4-mini$0.75$0.075$4.50400K128K

GPT-6 prices shown are Standard rates through 272K input tokens. Above that threshold, the full request uses 2x input/cache and 1.5x output rates. GPT-5.6 and later cache writes cost 1.25x uncached input instead of an additive fee; GPT-6.1 Sol reads cost 5% of input and the other listed GPT-6 models use 10%, with implicit or explicit caching from 1,024 tokens. Earlier-model minima vary; Pro rows do not list a cache discount. GPT-6 Batch/Flex cost 50% of Standard and Fast mode 2x. GPT-5.6 Sol pricing is promotional through at least November 21, 2026. Check individual older-model long-context rules. The 2x long-context multiplier also applies to cache writes. The fine-tuning platform is closed to new users. Astra Ultrafast short-context rates are $60 input, $6 cached input, $75 cache writes and $300 output per million tokens. GPT-5.4 Nano and GPT-5.3 Codex are deprecated, with shutdown scheduled for 2027-04-01.

DeepSeek models and prices

ModelAPI IDInput (miss)Input (hit)OutputContextMax out
V4.1-Flashdeepseek-flash$0.30$0.006$1.201M384K
V4-Prodeepseek-v4-pro$1.32$0.044$3.961M384K

Selected current API models and historical aliases. Directory, charts, simulation and KPI use peak rates: V4.1-Flash $0.30/$1.20 and V4-Pro $1.32/$3.96 input/output. Peak is 01:00-04:00 and 06:00-10:00 UTC Monday-Friday, excluding Chinese public holidays; all other hours, weekends and Chinese public holidays are off-peak. Peak cached input is $0.006 on Flash and $0.044 on Pro. Automatic caching is best-effort. The fully cached simulation assumes every input token hits an existing cache and excludes warm-up misses. Both models publish 1M context and 384K maximum output. Concurrency is 2,500 on Flash and 500 on Pro. Capabilities marked not documented refer only to the reviewed API sources, not a claim of provider-wide absence.

What each API supports

CapabilityOpenAIDeepSeek
Vision (image in)YesV4.1-Flash only; not V4-Pro
Video inputNot documentedNot documented
Audio inputRealtime 2.1Not documented
PDF inputPDF text and page imagesNot documented
Image generationGPT Image 2.5Not documented
Video generationVideos API shut down 2026-09-24Not documented
Text to speechRealtime 2.1 MiniNot documented
Embeddingstext-embedding-3-smallNot documented
Web search$10/1KNot documented
Tool / function callingYesYes
Structured JSONSchema enforcedJSON output; validate the result
Reasoning modeEffort levelsThinking mode
Code fill-in-the-middleNot documentedNon-thinking only; 4K max output (Beta)
Prompt cachingGPT-6: 90–95% off reads; 1.25x writesAutomatic; Flash 98%, Pro about 97% off
Batch APIYes, 50% offNot documented
Long-context surchargeGPT-6 above 272K: 2x input/cache/write, 1.5x outputNone
Free tierNot documentedNot documented
Max context1.05M1M
Max output128K384K
OpenAI SDK compatibleNativePlus Anthropic API
Data sovereigntyRegional (1.1x)Not documented

Sources

Every figure on this page was read from the provider's own pricing documentation on the verification date shown above.

  • OpenAIhttps://developers.openai.com/api/docs/pricing
  • DeepSeekhttps://api-docs.deepseek.com/quick_start/pricing/