DeepSeek API vs OpenAI API: which should you ship on?
updated · #6 vs #3 in LLM APIs & models · prices checked
which one should you use?
shipping something people rely on and want the smarter model for the money, clear rate limits and no surprises? the OpenAI API, and it ranks ahead on our board. want cheap mid-range tokens, half price off-peak, open weights and an endpoint Claude Code can talk to? the DeepSeek API.
OpenAI API ranks higher on our board: #3 vs #6 of 10 LLM APIs, 8.5/10 vs 8.0/10.
#6 of 10 in LLM APIs
DeepSeek API
numptr says8.0/10
frontier-ish brains at bargain-bin prices: 30 cents per million tokens in, half that off-peak, with a million tokens of context. set an alarm for the cheap hours, mind.
- best for
- cheap agent and coding workloads on a tight token budget
- why 8.0
- deepseek-flash is $0.30 / $1.20 per M tokens at peak and half that off-peak, with a 1M context. no free tier stated.
#3 of 10 in LLM APIs
OpenAI API
numptr says8.5/10
biggest ecosystem in town. Luna's cheap as chips.
- best for
- general-purpose and multimodal apps
- why 8.5
- wide GPT-6 range. free tier unknown.
who wins for which job
general-purpose apps that need a model from cheap to frontier
OpenAI API
best for: general-purpose and multimodal apps.
cheap agent and coding loops on a tight token budget
DeepSeek API
best for: cheap agent and coding workloads on a tight token budget.
overall, on our scores
OpenAI API
#3 of 10 LLM APIs, 8.5/10. DeepSeek API: #6, 8.0/10.
the differences, side by side
rank
DeepSeek API#6 of 10 in LLM APIs
OpenAI API#3 of 10 in LLM APIs
numptr score
DeepSeek API8.0/10
OpenAI API8.5/10
best for
DeepSeek APIcheap agent and coding workloads on a tight token budget
OpenAI APIgeneral-purpose and multimodal apps
free tier
DeepSeek APIunknown: no free tier stated (the pricing page mentions a granted balance)
OpenAI APIunknown: no free API tier listed on the API pricing page
paid plans
DeepSeek APIdeepseek-flash $0.30/$1.20 per M tokens at peak, $0.15/$0.60 off-peak; deepseek-v4-pro $1.32/$3.96 peak, $0.66/$1.98 off-peak; Search and Fetch APIs $0.75 per 1,000 requests; file parsing and OCR API $0.225 per 1,000 pages; text to speech $0.45 per 10,000 characters (limited-time 50% off: $0.225); speech to text $0.116 per audio hour (limited-time 50% off: $0.058)
OpenAI APIGPT-6.1 Sol $2/$10 per M tokens; GPT-6.1 Terra $1/$5; GPT-6 Luna $0.10/$0.50; GPT-6 Astra $10/$50; GPT-Image-2.6 Flare and Sunburst $5 text in / $8 image in / $30 image out per M tokens; GPT-6 Cyber $20/$100 (limited availability, Daybreak Red; $40/$150 above 272K input); GPT-6.2 Astra $8/$40 (cached $0.40); GPT-6.2 Sol $2/$10 (cached $0.10); GPT-Live-1.1 voice $0.05/min active, $0.02/min standby
price checked
DeepSeek API2026-11-30 at api-docs.deepseek.com/quick_start/pricing
OpenAI API2026-11-30 at developers.openai.com/api/docs/pricing
# straight from our rankings data. prices from each vendor's own page.
pick neither if
quick answer: DeepSeek API vs OpenAI API, for people shipping an app: the OpenAI API is #3 on our LLM APIs & models board (8.5/10) and the DeepSeek API is #6 (8.0/10). OpenAI wins because it covers every rung of the ladder: GPT-6 Luna is actually cheaper per token than DeepSeek ($0.10 in, $0.50 out per million), GPT-6.1 Terra and GPT-6.2 Sol score far higher on Artificial Analysis's tests, and its rate limits and data rules are spelled out. DeepSeek wins on a narrower patch: deepseek-flash is a smarter model than Luna at $0.30 / $1.20, half that off-peak, with a 1M context, an Anthropic-format endpoint and MIT open weights if you ever want to host it yourself. as of nov 29, 2026.
this is about the APIs you call from your own code. for the free chat app, see ChatGPT vs DeepSeek; for DeepSeek against the other cheap open-weights API, see Kimi API vs DeepSeek API.
the short version
| OpenAI API | DeepSeek API | |
|---|---|---|
| our rank | #3, 8.5/10 | #6, 8.0/10 |
| best at | general-purpose and multimodal apps | cheap agent and coding workloads on a tight token budget |
| cheapest model | GPT-6 Luna: $0.10 / $0.50 per M tokens | deepseek-flash: $0.30 / $1.20 peak, $0.15 / $0.60 off-peak |
| middle model | GPT-6.1 Terra: $1 / $5 | deepseek-v4-pro: $1.32 / $3.96 peak, $0.66 / $1.98 off-peak |
| flagship | GPT-6.2 Sol $2 / $10; GPT-6.2 Astra $8 / $40 | none above v4-pro |
| cached input | $0.01 on Luna, $0.10 on GPT-6.2 Sol | $0.006 peak, $0.003 off-peak on flash |
| long prompts | dearer past 272K input tokens (GPT-6.2 Sol $4 / $15) | 1M context, up to 384K out, one price listed |
| discounts | batch at half price; 30-40% off for slower background jobs on some models | half price off-peak, weekends included |
| rate limits | tiers that rise as you spend: 5,000 requests a minute after a $5 top-up, 15,000 at $500 | 2,500 requests in flight on flash, 500 on v4-pro, per account; more on request, free |
| api formats | OpenAI's own: Responses API, batch API, an Agents SDK | OpenAI and Anthropic formats, Responses API too |
| your data | not used for training unless you opt in | processed and stored in China, per its privacy policy |
ranks and scores come straight from our LLM APIs & models board, and nobody pays to move up it. prices per million tokens, input / output, from each vendor's own pricing page tonight.
why the OpenAI API ranks ahead
more brains for the money where it counts. on Artificial Analysis's intelligence index tonight, GPT-6.2 Sol scores 57 and GPT-6.1 Terra 51. DeepSeek's best showing is V4.1 Flash on 32, and DeepSeek V4 Pro sits on 23. Artificial Analysis also logs what each model cost to run its tests: about $0.96 a task for Terra against $0.60 for DeepSeek's flash, so Terra gets you a much smarter model for not much more per job.
the cheap end's cheaper than you'd think. GPT-6 Luna is $0.10 in and $0.50 out per million tokens, cached input a penny. that undercuts deepseek-flash even at DeepSeek's off-peak price. it's the weaker model (28 on Artificial Analysis's index against flash's 32), but for classifying, tagging and short replies it's hard to beat on cost, and on its low setting it's the quickest model per task on Artificial Analysis's board.
rate limits you can plan around. OpenAI's usage tiers go up automatically as you buy credits: $5 of credit gets you 5,000 requests and 1M tokens a minute on Astra, Sol and Terra (2M on Luna), $100 gets you 10,000 and 4M, and $500 gets you 15,000 and 40M. responses carry headers telling you what you've got left, and you can set hard spend limits per project.
a grown-up data policy. OpenAI says API data isn't used to train its models unless you opt in. abuse monitoring logs are kept for up to 30 days by default, with zero data retention for approved customers.
the catch: the good stuff isn't cheap. GPT-6.2 Sol is $2 / $10 and Astra $8 / $40, and prompts past 272K input tokens are billed at the long-context rate (Sol goes to $4 / $15). there's no free allowance on the pricing page. the money-savers are batch (half price) and, on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna, background requests at 30% off for a 2-hour window or 40% off for 8 hours.
where the DeepSeek API makes more sense
the middle of the market, cheap. deepseek-flash is the smarter model of the two budget picks (32 vs Luna's 28 on Artificial Analysis), for $0.30 / $1.20 per million tokens at peak. if Luna's too dim for your job and Terra's $1 / $5 feels steep, that's DeepSeek's gap.
off-peak is most of the week. DeepSeek only charges peak rates 01:00-04:00 and 06:00-10:00 UTC, monday to friday (8-11 PM and 1-5 AM US eastern right now). every other hour, weekends and Chinese public holidays included, is half price: flash drops to $0.15 / $0.60, and cache hits to $0.003. schedule your evals, backfills and overnight agent runs for then.
long prompts don't cost extra. both models take a 1M context with up to 384K tokens out, and DeepSeek's page lists one price for the lot. no long-context surcharge listed, unlike OpenAI past 272K.
drop-in for your agent tools. DeepSeek serves an OpenAI-format and an Anthropic-format endpoint, plus the Responses API, with JSON output and tool calls on both models. its docs have setup guides for Claude Code, Codex, OpenCode, OpenClaw and Hermes, so swapping it in is a base URL and a model name.
open weights, no lock-in. the model behind deepseek-flash, DeepSeek-V4.1-Flash-1017, is on Hugging Face under the MIT licence. if the API ever stops suiting you, you can host the same model yourself.
the catch: it ranks below OpenAI for good reasons. DeepSeek's privacy policy says the data it collects is processed and stored in the people's republic of China, which rules it out for plenty of client work. there's no free tier stated (the pricing page mentions a granted balance, used first). concurrency is capped at 2,500 requests in flight on flash and 500 on v4-pro per account, after which you get a 429 (it says more is free on request). deepseek-v4-pro doesn't take images. and DeepSeek says prices can change, so check the page before you bake numbers into a budget.
what a real job costs
say an agent run uses 10M input tokens and 2M output, no caching:
the table: what a real job costs
| model | cost |
|---|---|
| GPT-6 Luna | $2.00 |
| deepseek-flash, off-peak | $2.70 |
| deepseek-flash, peak | $5.40 |
| GPT-6.1 Terra | $20.00 |
| deepseek-v4-pro, peak | $21.12 |
| GPT-6.2 Sol | $40.00 |
our sums from tonight's list prices. caching changes the picture a lot on both sides (agent loops resend the same context over and over), and batch halves OpenAI's line.
which should you pick?
- an app people pay for, where quality and a clear data policy matter: OpenAI API, GPT-6.1 Terra or GPT-6.2 Sol
- the cheapest tokens for simple, high-volume jobs: OpenAI API, GPT-6 Luna
- a middling model for a busy agent loop, as cheap as possible: DeepSeek API, deepseek-flash, off-peak where you can
- a cheap backend for Claude Code or OpenCode: DeepSeek API, via its Anthropic-format endpoint
- open weights you could self-host later: DeepSeek API, or the Kimi API (#5) for a stronger open model. see Kimi API vs DeepSeek API
- the best model for coding agents and tool use: Claude API (#1). see Claude API vs OpenAI API
- a free tier to start on: Gemini API (#2). see Gemini API vs OpenAI API
- both on one key: OpenRouter (#4). see OpenAI API vs OpenRouter
- OpenAI's prices in full: OpenAI API pricing
the rest of the field
the table: the rest of the field
| rank | tool | best for | free tier | paid from | numptr score |
|---|---|---|---|---|---|
| #3 | OpenAI API | general-purpose and multimodal apps | unknown: no free API tier listed on the API pricing page | GPT-6.1 Sol $2/$10 per M tokens | 8.5/10 |
| #6 | DeepSeek API | cheap agent and coding workloads on a tight token budget | unknown: no free tier stated (the pricing page mentions a granted balance) | deepseek-flash $0.30/$1.20 per M tokens at peak, $0.15/$0.60 off-peak | 8.0/10 |
| #1 | Anthropic Claude API | coding agents, tool use | small amount of free credits for new API users | Sonnet 5.5 $2/$10 per M tokens | 9.0/10 |
| #2 | Google Gemini API | long-context and agentic tasks on a budget | free tier on Flash models, Gemini 4 Hydrogen and Gemini Decision 1 (Argon, Carbon, Neon and Genie 4 not on the free tier) | Gemini 4 Argon $2/$10 per M tokens through nov 30, 2026, then $4/$20 | 9.0/10 |
| #5 | Kimi API | the strongest open-weights model, at mid-range token prices | no free tier: a $1 minimum top-up unlocks K3.1 Pro (a $5 voucher once you've topped up $5 in total) | Kimi K3.1 Pro $2/$10 per M tokens | 8.0/10 |
| #4 | OpenRouter | prototyping across providers | 25+ free models, 50 requests a day, rising to 1,000 a day once you've bought $10 of credits | pay-as-you-go at model list prices, 5.5% fee on credit purchases | 8.5/10 |
faq
is the DeepSeek API cheaper than the OpenAI API?
it depends which models you compare. deepseek-flash ($0.30 / $1.20 at peak, half off-peak) is far cheaper than GPT-6.1 Terra ($1 / $5) or GPT-6.2 Sol ($2 / $10), but GPT-6 Luna ($0.10 / $0.50) is cheaper per token than deepseek-flash, even off-peak. Luna is the weaker model of the two.
is DeepSeek as good as OpenAI?
not at the top end. on Artificial Analysis's intelligence index tonight, GPT-6.2 Sol scores 57 and GPT-6.1 Terra 51, against 32 for DeepSeek V4.1 Flash. on our board the OpenAI API is #3 (8.5/10) and DeepSeek #6 (8.0/10).
is the DeepSeek API compatible with the OpenAI API?
yes. DeepSeek's base URL takes OpenAI-format requests (and the Responses API), and a second endpoint takes Anthropic-format requests, so most code needs only a new base URL, key and model name.
what are the DeepSeek API rate limits?
DeepSeek caps concurrent requests per account: 2,500 in flight on deepseek-flash and 500 on deepseek-v4-pro, then it returns HTTP 429. it says higher limits are free on request. OpenAI instead uses spend-based tiers with requests and tokens per minute.
does DeepSeek train on my API data?
its privacy policy says it may use personal data to train and improve its models, offers a right to opt out, and processes and stores the data it collects in China. OpenAI says API data isn't used for training unless you opt in.
sources
checked 2026-11-29, ~12:42-1:05 AM ET; DeepSeek docs and Artificial Analysis rendered in headless chrome, OpenAI docs as markdown, licence via the Hugging Face API
- OpenAI API pricing (per 1M tokens, short context: gpt-6.2-astra $8 / $40, cached $0.40; gpt-6.2-sol $2 / $10, cached $0.10; gpt-6.1-terra $1 / $5; gpt-6-luna $0.10 / $0.50, cached $0.01; long context gpt-6.2-sol $4 / $15; "short context: ≤272K input tokens. long context: >272K input tokens."; batch at half the standard rate; background requests 30% below Standard for the 2-hour window and 40% for 8 hours on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna): https://developers.openai.com/api/docs/pricing
- OpenAI rate limits (usage tiers build at $5, Launch at $100, grow at $500 in credit purchases, monthly usage limits $500 / $5,000 / $200,000; build 5,000 RPM and 1M TPM on Astra, Sol, Terra, 2M TPM on Luna; Launch 10,000 RPM, 4M TPM; grow 15,000 RPM, 40M TPM; rate-limit headers; hard spend limits return 429): https://developers.openai.com/api/docs/guides/rate-limits
- OpenAI data controls ("data sent to the OpenAI API is not used to train or improve OpenAI models (unless you explicitly opt in"; abuse monitoring logs retained up to 30 days by default; Zero Data Retention for approved customers): https://developers.openai.com/api/docs/guides/your-data
- DeepSeek models & pricing (deepseek-flash = DeepSeek-V4.1-Flash-1017, deepseek-v4-pro = DeepSeek-V4-pro-0813; OpenAI-format and Anthropic-format base URLs; 1M context, max output 384K; JSON output, tool calls, Responses API, Anthropic API on both; vision on flash only; flash $0.30 / $1.20 peak, $0.15 / $0.60 off-peak, cache hit $0.006 / $0.003; v4-pro $1.32 / $3.96 peak, $0.66 / $1.98 off-peak; off-peak half; peak 01:00-04:00 and 06:00-10:00 UTC mon-fri excluding Chinese public holidays; concurrency 2,500 / 500; granted balance used first; prices may vary; agent integration guides for Claude Code, Codex, OpenCode, OpenClaw, Hermes): https://api-docs.deepseek.com/quick_start/pricing/
- DeepSeek rate limit & isolation (concurrency limit per account 2,500 on deepseek-flash, 500 on deepseek-v4-pro; HTTP 429 above it; capacity expansion "no additional cost"): https://api-docs.deepseek.com/quick_start/rate_limit
- DeepSeek privacy policy (last update feb 10, 2026; uses personal data "to train and improve our technology"; right to opt out of training; "we directly collect, process and store your personal data in people's republic of China"): https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html
- DeepSeek-V4.1-Flash-1017 on Hugging Face (license: mit): https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017
- Artificial Analysis leaderboard (intelligence index and cost per task, max settings: GPT-6.2 Astra 62, $4.00; GPT-6.2 Sol 57, $1.01; GPT-6.1 Terra 51, $0.96; DeepSeek V4.1 Flash 1017 32, $0.60; GPT-6 Luna 28, $0.15; DeepSeek V4 Pro 0813 23, $1.77; GPT-6 Luna (low) lowest time per task): https://artificialanalysis.ai/leaderboards/models
- ranks, scores, verdicts and free tiers: numptr data/tools.json (LLM APIs & models board)