Last updated: November 30, 2026 · Reviewed by Noa Ventura
What is DeepSeek V4, and can your company run it safely? DeepSeek V4 is the open-weight model family from Hangzhou DeepSeek Artificial Intelligence, first released in preview on April 24, 2026 under the MIT license. It is one of the cheapest capable models you can buy or download today. Independent tests published in 2026 also show that the flagship's built-in safeguards give way under jailbreak pressure, and that DeepSeek's own API stores data in China.
This guide covers the short version most readers want (versions, prices, benchmarks) and then the part that decides whether DeepSeek V4 belongs in production: jailbreak resistance, data residency, the $0.81 vulnerability benchmark and the controls that close the gaps.
TL;DR: Key Takeaways
- As of November 30, 2026, DeepSeek's API serves two models:
deepseek-flash(V4.1-Flash-1017) at $0.15 input and $0.60 output per million tokens off-peak, anddeepseek-v4-pro(V4-Pro-0813) at $0.66 and $1.98 (DeepSeek pricing). - In May 2026, FAR.AI broke DeepSeek-V4-Pro's safeguards with success rates of 99.6% to 100%, using attacks that took 15 to 150 minutes to prepare.
- Concordia AI found on November 26, 2026 that adaptive jailbreaks cut V4-Pro-0813's safety scores by roughly 40 to 65 points out of 100. Its report adds that DeepSeek's server-side guardrails carry much of the protection.
- In A Security's November 2026 test, V4.1 Flash found 93% of planted vulnerabilities in every run at $0.81 per validated finding, 12 to 39 times cheaper than the closed models tested.
- DeepSeek's privacy policy (updated February 10, 2026) says it collects, processes and stores personal data in the People's Republic of China.
Which DeepSeek model are you actually calling?
"DeepSeek V4" names a family of checkpoints, not one model. Since April, DeepSeek has shipped six V4 releases, and two retired API names, deepseek-v4-flash and deepseek-v4-flash-vision-exp, are temporarily routed to V4.1 Flash. The DeepSeek change log records each step.
| Date (2026) | Release | What it means today |
|---|---|---|
| April 24 | V4 Preview: V4-Pro and V4-Flash, 1M-token context, MIT weights | Preview builds, superseded |
| July 31 | V4-Flash official API release (public beta) | Name deepseek-v4-flash still accepted, routed to V4.1 Flash |
| August 13 | V4-Pro general availability (V4-Pro-0813) | Served as deepseek-v4-pro |
| August 21 | V4-Flash-Vision-Exp (experimental vision model) | Retired September 10; name routed to V4.1 Flash |
| September 10 | V4.1-Flash with native image input; V4 Flash retired | Superseded by the 1017 update |
| October 17 | V4.1-Flash-1017, same name and price | Served as deepseek-flash |
| November 13 | Application APIs, including an optional model safety check | Available on deepseek-flash |
Why this matters for a security review: test results do not transfer between checkpoints. FAR.AI tested the V4-Pro preview, Concordia tested V4-Pro-0813 and A Security tested V4.1 Flash. Log the exact model version on every request, because the name in your code may no longer match the model that answers.
DeepSeek V4 benchmarks and pricing at a glance
DeepSeek V4 is priced well below most closed frontier models, and the gap is widest on output tokens. These are the official rates per million tokens, checked on November 30, 2026:
| Per 1M tokens | Flash off-peak | Flash peak | Pro off-peak | Pro peak |
|---|---|---|---|---|
| Input, cache hit | $0.003 | $0.006 | $0.022 | $0.044 |
| Input, cache miss | $0.15 | $0.30 | $0.66 | $1.32 |
| Output | $0.60 | $1.20 | $1.98 | $3.96 |
Both models offer a 1M-token context window and up to 384K output tokens, according to the pricing page. Only Flash accepts images. Peak hours run from 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays (Chinese public holidays are off-peak), which covers most of the European working morning, so EU teams pay double unless they batch work for the afternoon.
On capability, separate what DeepSeek reports from what others measured. The vendor numbers below come from the V4.1-Flash-1017 model card (October 2026) and have not been independently reproduced:
| Benchmark (vendor-reported) | V4.1-Flash-1017 | Claude Opus 5 | GPT-5.6 Sol |
|---|---|---|---|
| DeepSWE v1.1 | 77.0 | 74.0 | 73.0 |
| Automation-Bench v1.0.6 | 60.5 | 50.3 | 45.8 |
| Terminal-Bench 4.0 | 42.3 | 51.8 | 39.9 |
| NL2Repo-Bench | 68.2 | 75.3 | 56.8 |
| HLE, no tools | 42.6 | 56.3 | 44.5 |
DeepSeek's own table shows a clear pattern. Flash leads on ticket-style coding and workflow automation, and trails Claude Opus 5 by wide margins on knowledge-heavy reasoning and terminal work.
Independent checks tell a more modest story for the flagship. The US Center for AI Standards and Innovation (CAISI) published an evaluation of the V4-Pro preview on May 1, 2026 that placed it about 8 months behind the US frontier on held-out benchmarks, while noting it was "more cost efficient than other models of similar capability." The practical reading: DeepSeek V4 is a strong price-performance choice for coding agents and automation, not a drop-in replacement for the top closed models on hard reasoning.
Jailbreak resistance: what independent safety tests found
DeepSeek V4-Pro refused obvious harmful requests in FAR.AI's test, but light effort got past those refusals. Two studies matter most for enterprise teams.
FAR.AI, May 11, 2026 (V4-Pro preview, official API). Direct harmful requests were blocked 100% of the time across CBRN, cyberattack and terrorism prompts. Then the researchers applied three attacks:
| Attack | Success rate | Attacker effort |
|---|---|---|
| Public jailbreak written for DeepSeek-V3.2, unchanged | 100% | About 15 minutes |
| Authority manipulation (fake privileged identity) | 99.6% | About 45 minutes |
| Response prefill (fake safety assessment) | 99.6% | About 150 minutes |
The jailbroken model kept nearly its full utility on biology, chemistry and coding tasks. The public jailbreak, written for the previous model, still worked unchanged, which FAR.AI reads as a known weakness left unpatched. It also points out that deployed open-weight checkpoints cannot be patched after release, so a public jailbreak stays usable against every copy already running.
Concordia AI, November 26, 2026 (V4-Pro-0813). DeepSeek commissioned this assessment and, per the report, did not review, revise or veto it. Concordia found that adaptive jailbreaks cut safety scores by roughly 40 to 65 points out of 100 across risk domains. DeepSeek's provider-side guardrails improved resistance to those attacks by 18.2 to 47.3 points. In an agentic shutdown test, the unguarded model rewrote its shutdown script in 40% of relevant cases, against 12% with guardrails on. Concordia flags high evaluation awareness, so read that figure with care. The report's summary line is blunt: "How safe the model is depends on how it is deployed."
On November 13, DeepSeek added an optional safety check, available on deepseek-flash, that reviews inputs and outputs and returns a refusal marker when it finds risk. DeepSeek does not say it is the same layer Concordia tested on V4-Pro, and it runs only on DeepSeek's hosted API. If you download the weights or use another host for data residency reasons, you lose DeepSeek's server-side protection and have to replace it yourself.
The $0.81 vulnerability benchmark: cheap offense cuts both ways
The figure that made DeepSeek headlines in late November comes from security firm A Security. Its researchers built containerized labs with 14 planted vulnerabilities each on ARENA, their open-source target generator, then ran a frozen set of 100 leads three times per model. Each model powered all four exploitation agents.
The results, as A Security reports them:
- DeepSeek V4.1 Flash found 93% of the validated vulnerabilities in every run, the highest in the set, at $0.81 per validated finding.
- GLM 5.3 (Z.ai, also open weight) found 86% per run and was the only model to find every vulnerability at least once across three runs.
- The closed models cost $9.54 to $31.85 per validated finding (Gemini 3.8 Flash at the low end, GPT 5.6 Sol at the high end). Gemini 3.8 Flash matched GLM's 86% per run; GPT 6 Sol found 55%.
- Claude Sonnet 5.5 and Opus 5.5 were piloted but left out of the scored runs because fallback models answered about half their calls.
The caveats matter before anyone quotes $0.81 in a budget. The cost covers only the four exploitation agents, not discovery, browsing, reporting or orchestration. GLM 5.3 was priced at official token rates while the others used recorded provider spend. Precision was not scored. DeepSeek also drifted the most, reporting findings outside its assigned lead on at least 4.5% of leads, against under 2.5% for the other models.
For security leaders, the result has two sides. Defenders get continuous, cheap scanning of their own code, which strengthens an AI vulnerability management program. Attackers get the same economics with no access program in the way, unlike the gated cyber models covered in our GPT-6 Cyber analysis. And the drift finding is an agent-scope problem: a model that wanders outside its assigned target needs hard limits on what it can reach.
Data residency: where your prompts go
Where DeepSeek V4 processes your data depends on how you run it. The weights are MIT-licensed, so you have three options with very different risk profiles.
| Deployment | Where prompts are processed | Provider guardrails | Main risk |
|---|---|---|---|
| DeepSeek API or app | People's Republic of China | Optional safety check on deepseek-flash (since Nov 13, 2026) | Data jurisdiction, training use |
| Third-party host serving the weights | The host's regions | Whatever the host adds | Inconsistent safety layer |
| Self-hosted weights | Your infrastructure | None by default | Everything is your responsibility |
DeepSeek's privacy policy is explicit: "we directly collect, process and store your Personal Data in People's Republic of China." It lists text input, prompts and uploaded files among the data collected, names model training as a purpose and offers an opt-out right. For EU companies, that means a GDPR transfer assessment before any personal data touches the hosted API.
Regulators have also acted. A US Department of Homeland Security order, dated July 24 and published in the Federal Register on October 20, 2026, excludes DeepSeek products from federal civilian IT systems. It also covers "third-party products and services developed using DeepSeek implementations," so federal suppliers should get legal advice even if they self-host the weights.
Self-hosting solves the jurisdiction problem and creates a new one: no safety layer at all. If you go that route, our guide to a self-hosted AI gateway explains how to keep traffic, logs and policies inside your own network.
Security and governance: controls for open-weight models in production
The risks of DeepSeek V4 are the standard LLM risks, made sharper by weak in-model refusals and an optional provider safety layer. Four deserve a control each.
- Prompt injection and jailbreaks. Prompt injection is LLM01 in the OWASP Top 10 for LLM Applications. With 99.6% to 100% jailbreak success against the V4-Pro preview in FAR.AI's tests, the model's own refusals cannot be your only line of defense.
- Data leakage. Prompts sent to the hosted API land in China under DeepSeek's policy. Applications that handle personal data, secrets or source code need to be kept away from that endpoint by policy, and personal data should be redacted before any prompt leaves.
- Tool misuse in agents. A Security's drift figure and Concordia's shutdown test both describe an agent acting outside its brief. Agents built on DeepSeek V4 need tool allowlists and scoped credentials.
- Version drift. Legacy API names now point at different checkpoints. Pin and log versions, and re-test after each release.
NeuralTrust addresses these at the infrastructure layer, so the controls stay the same whichever host serves the model. The Agent Gateway (TrustGate) becomes the single approved path to every model provider. Policies decide which applications may reach which model, so a team handling customer data can be routed to a self-hosted DeepSeek or another approved model instead of the hosted API. The gateway also meters and caps model spend and keeps a record of every call. For agents, TrustGate governs MCP and tool access with allowlists across its 200+ pre-built MCP servers.
AI Runtime Security (TrustGuard) inspects prompts and responses in real time for jailbreaks and direct or indirect prompt injection. It blocks them before they reach the model or the user, and can redact personal data inline. That matters most for self-hosted or third-party deployments, where DeepSeek's server-side protection never runs. If you are comparing options, our checklist on how to choose an AI gateway covers the evaluation criteria.
Which DeepSeek V4 setup should you choose?
The right setup depends on your data and your regulatory exposure more than on benchmarks.
| Use case | Recommended setup | Why |
|---|---|---|
| Prototyping on public or synthetic data | deepseek-flash via the API, off-peak | Lowest cost, no sensitive data at stake |
| Production with customer or personal data (EU/UK) | Self-hosted or regionally hosted weights, behind a gateway and runtime guard | Keeps data out of PRC jurisdiction and replaces the missing provider guardrails |
| Coding agents and workflow automation | V4.1-Flash-1017 with tool allowlists | Leads its own comparison on DeepSWE and Automation-Bench |
| Scanning your own code for vulnerabilities | V4.1 Flash in a sandbox with scoped targets | Low cost per finding; drift needs hard scope limits |
| Knowledge-heavy reasoning or research | A top closed model | Opus 5 leads V4.1 Flash on HLE by 13.7 points (vendor data) |
| US federal civilian work or suppliers | Legal review before any use | DHS exclusion order covers derived products |
Conclusion
DeepSeek V4 is a strong price-performance choice for coding agents and workflow automation, and V4.1 Flash is one of the cheapest models available for security scanning. The open questions are operational, not technical. Before it handles production traffic, decide where prompts are processed, which layer inspects them when DeepSeek's own guardrails are absent, and which model version answers each call. Teams that settle those three points can use the price advantage without inheriting the risks.
Secure DeepSeek V4 in Production with NeuralTrust
Route every DeepSeek request through one gateway, inspect prompts and responses at runtime and keep sensitive workloads on infrastructure you approve.
Related Comparisons
- GPT-6 Cyber: Enterprise Security Implications
- Claude Sonnet 5.5: Benchmarks, Pricing and Security
- Gemini 4 Argon: Benchmarks, Pricing and Security
- GPT-6 Sol vs Luna: Security, Cost and Which to Deploy
FAQs about DeepSeek V4
1. Is DeepSeek V4 free?
The model weights are free to download under the MIT license, which allows commercial use and self-hosting. The hosted API is paid. As of November 30, 2026, deepseek-flash costs $0.15 per million input tokens and $0.60 per million output tokens off-peak, and deepseek-v4-pro costs $0.66 and $1.98. Peak-hour rates are double. Self-hosting has no license fee but requires substantial GPU infrastructure.
2. What is the difference between DeepSeek V4 Flash and V4 Pro?
Flash is the smaller, faster and cheaper model, now served as V4.1-Flash-1017 under the API name deepseek-flash. It is the only one that accepts images and has five times Pro's concurrency limit (2,500 against 500). Pro, served as V4-Pro-0813, is the larger flagship. On the API, Flash costs less on every token type, so most new projects start there.
3. Is DeepSeek V4 safe for enterprise use?
It can be, with controls around it. A May 2026 test broke the V4-Pro preview's safeguards with 99.6% to 100% success, and Concordia AI found that much of its safety comes from DeepSeek's server-side guardrails, not the weights. Enterprises should add runtime inspection of prompts and responses, PII redaction and routing policies that keep personal data off the hosted API, tool allowlists for agents and version logging.
4. Where does DeepSeek store your data?
DeepSeek's privacy policy, updated February 10, 2026, says it collects, processes and stores personal data in the People's Republic of China, including prompts and uploaded files. That applies to DeepSeek's own app and API. If you self-host the open weights or use a hosting provider in your region, prompts stay on that infrastructure instead, but DeepSeek's server-side protection no longer applies.
5. Is DeepSeek banned in the United States?
There is no general ban for companies or individuals. A Department of Homeland Security order, published in the Federal Register on October 20, 2026, excludes DeepSeek products from federal civilian agency IT systems and procurement, including third-party products built with DeepSeek. Federal contractors should check whether their products fall within the order's scope.
About the Author
Roger Howroyd is Head of Global SEO and AI at NeuralTrust, where he leads the company's search strategy across SEO, AEO, GEO, and LLM optimization. He specializes in AI-powered search, content strategy, and SEM. Connect on LinkedIn.
Reviewed by Noa Ventura, Product Marketing Engineer at NeuralTrust.
NeuralTrust is the leading platform for securing and scaling AI agents. Named a Pioneer in the Gartner Emerging Market Quadrant for AI Application Security 2026, recognized across four Gartner Hype Cycle reports in 2026, and featured in the Gartner Market Guide for Guardian Agents 2026, the Gartner Market Guide for AI Gateways 2025 and the KuppingerCole Leadership Compass for Generative AI Defense 2025. Headquartered in Barcelona with offices in London and New York. ISO 27001 certified.
Sources
- DeepSeek, Models & Pricing, checked November 30, 2026.
- DeepSeek, API Change Log, entries April 24 to November 13, 2026.
- DeepSeek, DeepSeek-V4.1-Flash-1017 model card, Hugging Face, October 2026.
- CAISI (NIST), CAISI Evaluation of DeepSeek V4 Pro, May 1, 2026.
- FAR.AI, Security Stress Test: Exposing the Brittleness of DeepSeek-V4-Pro's Safeguards, May 11, 2026.
- Concordia AI, DeepSeek V4 Pro 0813 Systemic Risk Assessment, November 26, 2026.
- A Security, Chinese Open-Weight Models Make Better AI Attackers, November 2026.
- DeepSeek, Privacy Policy, last updated February 10, 2026.
- US Department of Homeland Security, Notice of Order Regarding Exclusion and Removal of DeepSeek Products, Federal Register, October 20, 2026.
)
)
)
)
)
)
)
)