DeepSeek vs OpenAI API Pricing (Nov 2026): Live Comparison
DeepSeek vs OpenAI API pricing, side by side: DeepSeek V4.1 Flash 1017 costs $0.3 in and $1.2 out per million tokens; GPT-6.2 Astra Pro costs $8 and $40. Live prices, real job costs and the cheapest model from each.
Prices in US dollars per 1 million tokens, from OpenRouter's live list. Last checked Mon, 23 Nov 2026 10:01 UTC.
Newest models, side by side
| Model | Input / 1M | Output / 1M | Cached input / 1M | Context |
|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | $0.3 | $1.2 | $0.006 | 1M |
| DeepSeek V4.1 Flash | $0.05 | $0.199 | $0.001 | 1M |
| DeepSeek V4 Flash Vision Exp | $0.216 | $0.647 | $0.007 | 1M |
| GPT-6.2 Astra Pro | $8 | $40 | $0.4 | 1.1M |
| GPT-6.2 Astra | $8 | $40 | $0.4 | 1.1M |
| GPT-6.2 Sol Pro | $2 | $10 | $0.1 | 1.1M |
The same jobs on both
Newest and cheapest model from each lab, priced on the same work.
| Job | DeepSeek V4.1 Flash 1017 | GPT-6.2 Astra Pro | DeepSeek V4.1 Flash | gpt-oss-20b |
|---|---|---|---|---|
| One chatbot reply 1,500 tokens in, 400 out | $0.00093 | $0.03 | $0.00015 | $0.000097 |
| Summarise a 30-page report 20,000 tokens in, 1,000 out | $0.0072 | $0.20 | $0.0012 | $0.00073 |
| 1,000 customer-support replies 2,000 tokens in and 400 out, 1,000 times | $1.08 | $32.00 | $0.18 | $0.11 |
| A chat app with 1,000 replies a day for a month 30,000 replies of 1,500 in and 400 out | $27.90 | $840 | $4.63 | $2.91 |
On 1,000 support replies, GPT-6.2 Astra Pro costs 30 times as much as DeepSeek V4.1 Flash 1017.
Pricing rules that change the answer
- DeepSeekPeak and off-peak: buying direct from DeepSeek, off-peak prices are half the peak prices. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday (UK time in winter; add an hour in summer). Weekends are off-peak all day.
- DeepSeekDirect prices for deepseek-flash: $0.15 per million input tokens off-peak ($0.30 peak), $0.60 per million output off-peak ($1.20 peak), and $0.003 for cached input off-peak.
- OpenAIBatch: the Batch API costs 50% less and returns results within 24 hours.
- OpenAIPrompt caching is automatic. On GPT-5.6 and later, cache writes cost 1.25× the input price (30-minute cache) or 2.5× (12-hour cache), and reads cost 0.1×, or 0.05× on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol and GPT-6.1 Terra.
Checked against each provider's pricing docs on 22 November 2026. Full detail: DeepSeek API pricing and OpenAI API pricing.
Compare every model's price
This page covers one slice. The LLM API pricing table lists all 360 models side by side, refreshed every 30 minutes, with a filter to find any model fast.
New to LLM APIs?
Start with what an LLM API is, then how tokens work and how to get an API key. When you're ready to write code, see how to use an LLM API in Python, and to keep bills down read prompt caching explained and how to cut LLM API costs. Want it free? See the free LLM API guide.
Questions
Is DeepSeek or OpenAI cheaper?
For 1,000 support replies (2,000 tokens in and 400 out each), the newest models cost $1.08 on DeepSeek V4.1 Flash 1017 and $32.00 on GPT-6.2 Astra Pro, so DeepSeek V4.1 Flash 1017 is cheaper. Comparing each lab's cheapest model, gpt-oss-20b wins.
What is the cheapest DeepSeek model and the cheapest OpenAI model?
DeepSeek V4.1 Flash at $0.05 in and $0.199 out, and gpt-oss-20b at $0.03 in and $0.13 out, per million tokens.
Which has the bigger context window, DeepSeek or OpenAI?
The largest on OpenRouter today: DeepSeek V4.1 Flash 1017 with 1M tokens, and GPT-6.2 Astra Pro with 1.1M tokens.
Is the cheaper model always the better deal?
No. A cheaper model that needs two tries, or writes longer answers, can cost more per finished task. Test both on a few real requests and compare the total cost, not just the price per token.
Get this in your inbox at 7am
One free email each morning with the AI repos, models and stories that are picking up speed, including new free models. Your own time zone, no spam.