DeepSeek retires deepseek-chat and deepseek-reasoner on July 24, 2026: your V4 migration checklist

deepseek-chat and deepseek-reasoner retire on July 24, 2026; migrate to deepseek-v4-flash or deepseek-v4-pro and set the thinking parameter.

Read time
12 min
Word count
2K
Sections
11
FAQs
8
Share
Glowing compute module swapped into a dark server rack, symbolizing an API model migration
Migrating DeepSeek API calls from legacy model names to V4 before the July 24, 2026 cutoff.
On this page · 11 sections
  1. What actually changes on July 24, 2026
  2. The two-line rename, and the reasoning trap inside it
  3. The real API change: thinking mode is now a parameter
  4. What the switch does to your bill
  5. Is V4-Flash enough, or do you need V4-Pro?
  6. Migration checklist you can ship this week
  7. India-specific considerations
  8. Common migration mistakes
  9. FAQ
  10. How eCorpIT can help
  11. References

Summary. At 15:59 UTC on July 24, 2026, DeepSeek permanently retires the two model names most production code still uses: deepseek-chat and deepseek-reasoner. After that moment, any request naming them returns an error, with no grace period. Both names have routed to deepseek-v4-flash since the V4 preview shipped on April 24, 2026, so the fix is to name the model you actually want: deepseek-v4-flash (output at $0.28 per 1M tokens) or deepseek-v4-pro (output at $0.87 per 1M tokens), both with a 1M-token context window and a 384K maximum output. The trap is that deepseek-reasoner maps to Flash, not Pro, so a blind swap silently downgrades any workload that relied on it for hard reasoning. This guide gives the exact model mapping, the new thinking-mode parameter, the current prices, and a migration checklist you can ship this week.

If you run DeepSeek anywhere in production, this is a five-day problem, not a someday problem. DeepSeek published the deprecation date in its change log on April 24, 2026, and repeated it on the V4 release notes and the pricing page. The cutoff is fixed. The work to stay online is small, but it touches model names, request parameters, and cost assumptions at the same time, which is exactly the combination that breaks quietly.

What actually changes on July 24, 2026

DeepSeek shipped the DeepSeek-V4 preview on April 24, 2026 and added two explicit model names to the API: deepseek-v4-pro and deepseek-v4-flash. The base URL did not change. According to DeepSeek's pricing page, the legacy names were kept alive only as compatibility aliases: deepseek-chat points to the non-thinking mode of deepseek-v4-flash, and deepseek-reasoner points to the thinking mode of the same Flash model.

That compatibility window closes on July 24, 2026 at 15:59 UTC. DeepSeek's V4 release note states it plainly: deepseek-chat and deepseek-reasoner "will be fully retired and inaccessible" after that time. There is no automatic forward to V4-Pro, no fallback, and no soft-fail. A call that still names a retired model gets an error back, and any service that does not catch and re-route it will start throwing user-facing failures.

Three facts decide how much work you have. First, if your code already names deepseek-v4-flash or deepseek-v4-pro, you are done, because those names are stable. Second, if your code still names deepseek-chat or deepseek-reasoner, you must change the string before the cutoff. Third, if you depended on deepseek-reasoner for its reasoning quality, renaming to deepseek-v4-flash keeps you on Flash-tier reasoning, and only naming deepseek-v4-pro moves you up.

The two-line rename, and the reasoning trap inside it

For most callers the migration is a single field. Keep your base_url, keep your API key, and change the model string. The mapping below is the whole change for a non-thinking chat workload.

Legacy model name Auto-routes to (until July 24, 2026) What to set explicitly after
deepseek-chat deepseek-v4-flash, non-thinking mode deepseek-v4-flash with thinking disabled
deepseek-reasoner deepseek-v4-flash, thinking mode deepseek-v4-flash (same tier) or deepseek-v4-pro (higher tier)

The second row is where teams lose quality without noticing. deepseek-reasoner was the name you reached for when you wanted chain-of-thought reasoning, and many teams assume the "reasoner" lineage was DeepSeek's strongest model. Under V4 that alias resolves to Flash thinking mode, which is the 284B-parameter model with 13B active parameters, not the 1.6T-parameter Pro model. If a straight rename to deepseek-v4-flash is good enough, keep it and enjoy the lower bill. If that workload was carrying real reasoning load, evaluate deepseek-v4-pro before you decide, because the alias was never a promise of the top tier. Teams already thinking in terms of routing by cost and difficulty will recognise this pattern from our LLM hybrid-routing and API-spend framework.

The real API change: thinking mode is now a parameter

Under the legacy names, reasoning was a separate model: you picked deepseek-reasoner to get chain-of-thought and deepseek-chat to skip it. V4 unifies both into one model with a toggle, so the mode moves out of the model name and into the request body. This is the part of the migration that is easy to miss, because renaming the model is not enough if your old code encoded "reasoning" purely by model choice.

DeepSeek's thinking-mode guide documents the switch. In the OpenAI-compatible format, you pass {"thinking": {"type": "enabled"}} or {"thinking": {"type": "disabled"}}, and the toggle defaults to enabled. With the OpenAI SDK, the flag travels inside extra_body:


            from openai import OpenAI

client = OpenAI(api_key="<DeepSeek API Key>", base_url="https://api.deepseek.com")

response = client.chat.completions.create(
    model="deepseek-v4-pro",
    messages=[{"role": "user", "content": "Explain the migration in one paragraph."}],
    reasoning_effort="high",
    extra_body={"thinking": {"type": "enabled"}},
)

reasoning = response.choices[0].message.reasoning_content
answer = response.choices[0].message.content
          

Two behaviours will surprise anyone porting old code. Thinking mode ignores temperature, top_p, presence_penalty, and frequency_penalty; DeepSeek keeps them accepted for compatibility but they have no effect, so a "temperature=0" habit no longer does what you think. And the chain-of-thought comes back in a separate reasoning_content field alongside content. For plain chat turns you can drop reasoning_content from later context, but for tool-calling turns you must pass it back on every following request, or the API returns a 400 error. Effort is tunable too, through reasoning_effort set to high or max, where low and medium are treated as high.

What the switch does to your bill

DeepSeek bills per 1M tokens and prices cache-hit input, cache-miss input, and output separately. The table below is the full current price and capability sheet for both V4 models, taken from DeepSeek's pricing page as of July 2026.

Attribute deepseek-v4-flash deepseek-v4-pro
Input, 1M tokens (cache hit) $0.0028 $0.003625
Input, 1M tokens (cache miss) $0.14 $0.435
Output, 1M tokens $0.28 $0.87
Context window 1M tokens 1M tokens
Maximum output 384K tokens 384K tokens
Total / active parameters 284B / 13B 1.6T / 49B
Concurrency limit 2500 500

The prices are low even against a market that has fallen fast in 2026, and they are the reason so many teams route bulk work here in the first place; the same cost logic drives the wider shift covered in our note on Chinese open models and enterprise AI cost. Two numbers change your monthly estimate the most: output tokens and whether your prompts hit the cache. To make the Flash-versus-Pro gap concrete, the table below converts the per-token output prices into monthly output cost at three volumes. It is arithmetic on the listed prices, not a quote.

Monthly output tokens deepseek-v4-flash deepseek-v4-pro
10M $2.80 $8.70
100M $28.00 $87.00
1B $280.00 $870.00

Pro costs roughly 3.1 times Flash on output and about 3.1 times on cache-miss input. That ratio, not the absolute price, is the decision: if Flash clears your quality bar, Pro is money spent for reasoning you did not need. A token counter helps you estimate before you commit, and our LLM token counter guide walks through sizing a workload. For teams comparing DeepSeek against United States frontier vendors on unit economics, the pattern sits alongside our analysis of GPT-5.6 inference cost for enterprise AI.

Is V4-Flash enough, or do you need V4-Pro?

DeepSeek positions the two models by size and job. Per the V4 release notes, V4-Pro carries 1.6T total parameters with 49B active and is aimed at agentic coding, reasoning, and broad world knowledge, while V4-Flash carries 284B total with 13B active and is the fast, cheap option whose reasoning "closely approaches" Pro. DeepSeek says Pro leads open-source models on agentic coding benchmarks and trails only Gemini-3.1-Pro on world knowledge among the models it compared.

Treat vendor benchmark claims as marketing until you re-run them on your own tasks. Independent write-ups of V4 report V4-Pro near the top of coding leaderboards, with DataCamp and model directories such as OpenRouter covering the released specs and scores, but the numbers move a lot between harnesses, and a self-reported score is not an independent one. The practical test is cheaper than the debate: take the ten hardest real prompts your product actually sends, run them through Flash and Pro at equal effort, and compare outputs and latency. If Flash holds, you save roughly two-thirds. This is the same build-your-own-eval discipline we use when comparing coding models, as in our Grok 4.5 enterprise coding-agent evaluation.

The strategic backdrop matters for a stability decision. DeepSeek built V4 to run on domestic silicon rather than restricted United States chips. As Wei Sun, principal analyst at Counterpoint Research, told CNN, running V4 on Huawei and Cambricon hardware "allows AI systems to be built and deployed without relying solely on Nvidia, which is why V4 could ultimately have an even bigger impact than R1." The market reaction was calmer than the R1 shock of 2025. Ivan Su, senior equity analyst at Morningstar, told CNN: "V4 is simply a follow-through on that same trend, and trends don't make headlines the way shocks do." For a buyer, a boring, well-funded release on independent supply chains is a good sign for API longevity.

Migration checklist you can ship this week

Work through these in order. Each step is small, and the whole thing is a half-day for a typical service.

  1. Grep every repository, notebook, and environment config for the strings deepseek-chat and deepseek-reasoner. Include prompt templates, evaluation scripts, and infrastructure as code, not just application code.
  1. Decide the target per call site. Default chat and high-volume paths go to deepseek-v4-flash. Reasoning-heavy or agentic paths get evaluated against deepseek-v4-pro before you choose.
  1. Move the reasoning decision into the request body. Set extra_body={"thinking": {"type": "enabled"}} where you previously used deepseek-reasoner, and disable it where you used deepseek-chat. Add reasoning_effort if you want high or max.
  1. Fix parameter assumptions. Remove reliance on temperature, top_p, presence_penalty, and frequency_penalty in thinking mode, since they are ignored.
  1. Handle reasoning_content. Read it from responses, and for tool-calling loops pass it back on every subsequent request to avoid the 400 error.
  1. If you call DeepSeek through the Anthropic-format endpoint at https://api.deepseek.com/anthropic, use output_config.effort for effort control instead of reasoning_effort.
  1. Re-run your evaluation set on the explicit V4 model before the cutoff, and add an alert that fails loudly on an unknown-model error so a missed call site cannot fail silently.

India-specific considerations

For teams in India, two points sit on top of the technical migration. DeepSeek bills in United States dollars, so an Indian team carries currency risk on top of usage: the same 100M output tokens that cost $28 on Flash convert at the prevailing rupee rate, and a weaker rupee raises the effective bill even when token usage is flat. Budget in dollars, and hedge if the spend is material.

The larger question is data governance. DeepSeek's API is operated from China, so sending customer data to it is a cross-border transfer, and India's Digital Personal Data Protection Act, 2023 turns that into a compliance decision rather than a purely technical one. Before you route personal data to any overseas model, map what leaves the country and why, and design for consent and data-minimisation from the start. Our DPDP engineering playbook for Indian startups covers the controls that make this defensible, and the broader adoption pattern appears in our look at Chinese AI models and United States enterprise token share.

Common migration mistakes

The failures cluster in four places. Renaming deepseek-reasoner to deepseek-v4-flash and assuming you kept top-tier reasoning is the most expensive, because the quality drop is invisible until output degrades. Leaving temperature in a thinking-mode call and expecting deterministic output is the second, since the parameter is silently ignored. Dropping reasoning_content inside a tool-calling loop is the third, and it produces a hard 400 rather than a silent issue. The fourth is scope: teams patch the main service and forget a cron job, a data pipeline, or a staging config that still names a retired model and starts erroring the day after the cutoff.

FAQ

How eCorpIT can help

eCorpIT is a Gurugram software organisation with senior-led engineering teams that ship and maintain production AI systems. We help teams migrate LLM integrations without downtime: auditing every call site, moving reasoning into the right V4 tier, wiring up evaluations so a quality drop cannot slip through, and modelling the cost change before you commit. If your DeepSeek workload needs to clear the July 24, 2026 cutoff cleanly, or you want a second opinion on Flash versus Pro for your traffic, contact us and we will scope it with you.

References

  1. DeepSeek API Docs, "Models & Pricing." https://api-docs.deepseek.com/quick_start/pricing
  1. DeepSeek API Docs, "Change Log." https://api-docs.deepseek.com/updates
  1. DeepSeek API Docs, "DeepSeek V4 Preview Release," April 24, 2026. https://api-docs.deepseek.com/news/news260424
  1. DeepSeek API Docs, "Thinking Mode." https://api-docs.deepseek.com/guides/thinking_mode
  1. CNN Business, "China's AI upstart DeepSeek drops new model. Will it make waves like last year?", April 24, 2026. https://www.cnn.com/2026/04/24/tech/chinas-ai-deepseek-v4-intl-hnk
  1. Hugging Face, "DeepSeek-V4 open weights collection." https://huggingface.co/collections/deepseek-ai/deepseek-v4
  1. OpenRouter, "DeepSeek V4 Flash - API pricing and benchmarks." https://openrouter.ai/deepseek/deepseek-v4-flash
  1. DataCamp, "DeepSeek V4: Features, Benchmarks, and Comparisons." https://www.datacamp.com/blog/deepseek-v4
  1. Enterprise DNA, "DeepSeek API: Migrate Before July 24 or Integrations Break." https://enterprisedna.co/resources/news/deepseek-api-migration-july-24-deadline-2026/
  1. Developers Digest, "DeepSeek Retires deepseek-chat and deepseek-reasoner on July 24: Your V4 Migration Guide." https://www.developersdigest.tech/blog/deepseek-chat-to-v4-migration-guide
  1. WaveSpeed, "DeepSeek V4 API Migration: Update Model Names Before July." https://wavespeed.ai/posts/blog-deepseek-v4-model-name-migration/

_Last updated: July 19, 2026._

Frequently asked

Quick answers.

01 When exactly do deepseek-chat and deepseek-reasoner stop working?
They are retired at 15:59 UTC on July 24, 2026. DeepSeek states both names become "fully retired and inaccessible" after that time in its V4 release notes and change log. There is no grace period, so any request naming a retired model after the cutoff returns an error rather than routing forward.
02 What do I replace the old model names with?
Replace both with an explicit V4 name. deepseek-chat becomes deepseek-v4-flash with thinking disabled, and deepseek-reasoner becomes deepseek-v4-flash with thinking enabled, or deepseek-v4-pro if you need the higher tier. The base URL and API key do not change, so only the model string and request body move.
03 Does deepseek-reasoner map to the strongest V4 model?
No. Under the compatibility aliases, deepseek-reasoner routes to the thinking mode of deepseek-v4-flash, the 284B-parameter model, not deepseek-v4-pro. If a workload relied on the reasoner alias for hard reasoning, a straight rename keeps you on Flash-tier quality. Evaluate deepseek-v4-pro explicitly before deciding.
04 How do I turn reasoning on or off now?
Reasoning is a request parameter in V4, not a separate model. In the OpenAI-compatible format, pass {"thinking": {"type": "enabled"}} or "disabled" inside extra_body, defaulting to enabled. Tune depth with reasoning_effort set to high or max. The Anthropic-format endpoint uses output_config.effort for the same control.
05 How much do the V4 models cost?
As of July 2026, deepseek-v4-flash is $0.14 per 1M cache-miss input tokens and $0.28 per 1M output tokens. deepseek-v4-pro is $0.435 per 1M cache-miss input and $0.87 per 1M output. Cache-hit input is far cheaper on both. Pro costs roughly 3.1 times Flash on both input and output.
06 What context window and output limit do the V4 models have?
Both deepseek-v4-flash and deepseek-v4-pro support a 1M-token context window, which DeepSeek made the default across its services with V4, and a maximum output of 384K tokens. Concurrency limits differ: Flash allows 2500 concurrent requests and Pro allows 500, per DeepSeek's pricing page.
07 Will my temperature and top_p settings still work?
Not in thinking mode. DeepSeek's guide states that thinking mode ignores temperature, top_p, presence_penalty, and frequency_penalty. The parameters are still accepted so old code does not crash, but they have no effect. Remove any logic that depends on them for deterministic or varied output when reasoning is enabled.
08 Is DeepSeek V4 safe to depend on for the long term?
That is a judgement, not a fact. V4 is an open-weight release running on domestic Huawei and Cambricon chips, which reduces supply-chain risk, and analysts at Counterpoint Research and Morningstar framed it as a steady, well-funded step rather than a one-off. Weigh that against data-governance and geopolitical factors for your own workload.

About the author

Manu Shukla

Founder & Director

Founder of eCorpIT. Hands-on engineer leading senior-only delivery for AI apps, custom software, and cloud systems for global clients.

Subscribe

One engineering note a week. No fluff, no spam.

Senior-architect playbooks on AI agents, mobile apps, cloud, security, data, and marketing — delivered every Wednesday.

Past the reading

Read enough. Let's build something.

A senior architect responds in 24 working hours with scope, indicative cost, and a timeline. NDA before any technical conversation.