Comparison · DeepSeek and OpenAI

DeepSeek V4.1 Flash 1017 vs GPT-5.4 Mini

Listed API prices of DeepSeek V4.1 Flash 1017 and GPT-5.4 Mini turned into the cost of the same three standard tasks, with speed from our own test requests in the United States and what each provider’s API documentation says about features that break on a switch. Output quality and answer length are not compared.

Calculated impact cost per task and per month

For an L2 task (deep analysis over a 50,000-token document, 3 steps), DeepSeek V4.1 Flash 1017 costs $0.051 and GPT-5.4 Mini $0.133 at the prices listed in the United States on , so DeepSeek V4.1 Flash 1017 is 61.4 % less than GPT-5.4 Mini, counting visible output only, without cache discounts or hidden reasoning.

TaskDeepSeek V4.1 Flash 1017, per taskGPT-5.4 Mini, per taskDeepSeek V4.1 Flash 1017, per monthGPT-5.4 Mini, per monthDeepSeek V4.1 Flash 1017 vs GPT-5.4 Mini, per task
L1Micro-task (classification or strict JSON extraction)$0.0007per L1 task$0.0020per L1 task$10.07per month$29.57per month−65.9 %
L2Deep analysis over a 50,000-token document$0.051per L2 task$0.133per L2 task$748.98per month$1,938.15per month−61.4 %
L3Agentic coding loop, 15 steps$0.405per L3 task$1.03per L3 task$5,919.57per month$14,996.02per month−60.5 %

Calculated Per month: 20 tasks an hour around the clock, 730 hours.

Prices USD per 1M tokens

PriceDeepSeek V4.1 Flash 1017GPT-5.4 Mini
Input, per 1M tokens$0.300$0.750
Output, per 1M tokens$1.20$4.50
Price fromProvider's price list · source page PublishedProvider's price list · source page Published
Read · the United States · the United States
Context window1,048,576 tokens400,000 tokens

What can I use it for? six common tasks, our data checks

Quality on your task: not measured by Measured Lab yet.

TaskDeepSeek V4.1 Flash 1017GPT-5.4 Mini
Answer customer messagesFits on price and contextFits on price and context
Pull data from invoices and documents with strict JSON and page imagesNot confirmed: a strict JSON schema request was refused in our test call on 17 Oct 2026Fits on price and context
Summarize documents and meetingsFits on price and contextFits on price and context
Translate contentFits on price and contextFits on price and context
Chat assistant on your websiteFits on price and contextFits on price and context
Write and review code with tool callsFits on price and contextFits on price and context
Tasks it fits5 of 66 of 6

Checks of our data for six common tasks: a published price, a context window and answer length for the task and, where the task needs them, strict JSON output, page images and tool calls; prices, cost a month and terms for each model on its model card. Compare models for your own task in the model picker.

Speed in the US Observed our test requests

In our test requests from the United States, the median time to the first answer token was 772 ms for DeepSeek V4.1 Flash 1017 (Direct API · DeepSeek) and 663 ms for GPT-5.4 Mini (Direct API · OpenAI).

Model and routeTime to first answer token, medianOutput speed, medianAnswers
DeepSeek V4.1 Flash 1017Direct API · DeepSeek772 ms range 428 ms–1,253 ms156 tokens/s range 92.5 tokens/s–218 tokens/s115 answers on 23 dates
GPT-5.4 MiniDirect API · OpenAI663 ms range 319 ms–30,568 ms156 tokens/s range 47.6 tokens/s–265 tokens/s120 answers on 23 dates

The same short request to every model, sent from a measurement point in the United States; medians of successful answers on at least 2 different dates, latest on . How we measure

What breaks when you switch Published provider documentation

Moving from DeepSeek to OpenAI: every feature that DeepSeek’s documentation lists as supported is also listed as supported by OpenAI.

Moving from OpenAI to DeepSeek, 4 of the 5 features may not carry over, by each provider’s documentation:

  • Strict JSON schemas — OpenAI: yes; DeepSeek: partly. Code that parses answers without checks starts failing where a provider promises only valid JSON, not your schema.
  • Parallel tool calls — OpenAI: yes; DeepSeek: not stated. An agent built around several calls per turn gets one call per turn: more round trips, more input tokens, slower runs.
  • Streamed tool arguments — OpenAI: yes; DeepSeek: not stated. An interface that shows arguments as they are written sees nothing until the whole call is ready.
  • Cache covers tool definitions — OpenAI: yes; DeepSeek: not stated. Where the cache does not cover tool definitions, a long tool list is paid as fresh input on every request.
Feature of the APIDeepSeekOpenAI
Strict JSON schemasPartlyYes
Parallel tool callsNot statedYes
Streamed tool argumentsNot statedYes
Reasoning with toolsYesYes
Cache covers tool definitionsNot statedYes

What each provider’s own API documentation says, read ; “not stated” is not the same as “no”. Quotes and sources: what breaks when you switch AI APIs.

Price changes in the last 30 days

  • The listed price of DeepSeek V4.1 Flash 1017 changed on on OpenRouter: input $0.30 → $0.0060, output $1.20 → $0.50 per 1M tokens. Briefing

All model comparisons · How we check prices