SysArt
Book a briefing
SysArt

Private LLMs and RAG

DeepSeek API: Pricing, Models, Data and GDPR for Enterprises

DeepSeek API explained: models, endpoints and pricing as of November 2026, how to get a key, where your data goes, GDPR transfer rules and self-hosting.

Last reviewed by SysArt AI Architecture Team11 min readHow we review

In short

The DeepSeek API is a pay-as-you-go service for DeepSeek's language models, with OpenAI- and Anthropic-compatible endpoints. As of 29 November 2026 it offers deepseek-flash and deepseek-v4-pro. DeepSeek's policy says it stores personal data in China, so European organisations need GDPR transfer safeguards, or can run the MIT-licensed weights on infrastructure they control.

Key takeaways

  • As of 29 November 2026 the DeepSeek API serves two models, deepseek-flash (DeepSeek-V4.1-Flash-1017) and deepseek-v4-pro (DeepSeek-V4-Pro-0813), each with a one-million-token context, through OpenAI- and Anthropic-compatible endpoints.
  • Pricing is per million tokens with separate rates for cached input, uncached input and output. Off-peak rates are half of peak rates, and the peak windows cover the European morning on weekdays.
  • The contracting entity is Hangzhou DeepSeek Artificial Intelligence Co., Ltd. Its Open Platform terms apply Chinese law, make you the controller for your end users' data and do not mention a data processing agreement.
  • DeepSeek's privacy policy says personal data is stored in the People's Republic of China and may be used to train models unless you opt out. The Commission has adopted no adequacy decision for China, so GDPR Chapter V safeguards are needed.
  • The weights of both API models are published under the MIT licence, so the same models can run on your own GPUs or with a host you choose, at the price of capacity planning and operations.
Humpback whale swimming beneath the surface of deep blue water

What is the DeepSeek API?

The DeepSeek API is the hosted developer service for DeepSeek’s language models. You send prompts over HTTPS, pay per token from a prepaid balance and receive completions. The provider is Hangzhou DeepSeek Artificial Intelligence Co., Ltd., a Chinese company.

The service is separate from the DeepSeek chat app and from DeepSeek’s coding agent, which we cover in our article on the DeepSeek Harness. It is also separate from the open model weights that DeepSeek publishes for anyone to run.

Developers manage keys, balance and usage on the DeepSeek Platform at platform.deepseek.com. The API documentation lives at api-docs.deepseek.com.

Which models and endpoints does the DeepSeek API offer?

As of 29 November 2026 the API offers two models, deepseek-flash and deepseek-v4-pro, through endpoints that follow the OpenAI and Anthropic API formats.

  • deepseek-flash is served by DeepSeek-V4.1-Flash-1017. It accepts images as well as text.
  • deepseek-v4-pro is served by DeepSeek-V4-Pro-0813. It is text-only.

The documentation lists a context length of one million tokens and a maximum output of up to 384,000 tokens for both. Both support JSON output and tool calls, and both run in thinking mode by default, in which the model reasons before it answers. A reasoning_effort parameter sets the effort level or turns thinking off.

The base URL is https://api.deepseek.com for the OpenAI format, including Chat Completions and the Responses API, and https://api.deepseek.com/anthropic for the Anthropic Messages format. On the Anthropic endpoint, model names starting with claude-opus map to deepseek-v4-pro and other claude names map to deepseek-flash. Those names are aliases: you receive a DeepSeek model, not one of Anthropic’s Claude models. Several Anthropic fields are ignored, so test before you switch a tool over.

Two points matter for anyone searching for the “DeepSeek V4 API”:

  • Names move. The change log shows that V4 Flash was retired on 10 September 2026. The old names deepseek-v4-flash and deepseek-v4-flash-vision-exp are temporarily routed to V4.1 Flash. On 17 October 2026 the model behind deepseek-flash changed again without a change of name.
  • Limits are per account. DeepSeek limits concurrency, not requests per minute: 2,500 concurrent requests for deepseek-flash and 500 for deepseek-v4-pro. Requests above the limit receive an HTTP 429 error.

DeepSeek opened its search API on 17 October 2026 and a full suite of application APIs on 13 November 2026, including file input, URL reading, optical character recognition and speech services. Each sends more of your content to DeepSeek, so decide on them one by one.

How much does the DeepSeek API cost?

DeepSeek charges per million tokens, with separate rates for cached input, uncached input and output, and off-peak rates at half the peak rates. The prices below are the peak rates on the official pricing page as of 29 November 2026.

  • deepseek-flash: $0.006 for cached input, $0.30 for uncached input and $1.20 for output.
  • deepseek-v4-pro: $0.044 for cached input, $1.32 for uncached input and $3.96 for output.

Cached input means prompt tokens that match a prefix DeepSeek has already processed, which it bills at a much lower rate. The API response reports cache hits and misses, so you can measure the effect.

Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, excluding Chinese public holidays. In Central European Time that is 02:00 to 05:00 and 07:00 to 11:00, so a European working morning is billed at peak rates. Batch jobs scheduled for the afternoon, evening or weekend pay half.

A worked example: 10 million uncached input tokens and 2 million output tokens cost $5.40 on deepseek-flash at peak rates and $21.12 on deepseek-v4-pro.

Other terms worth knowing:

  • Free use. The pricing page lists no free tier. It says only that a granted balance, where an account has one, is used before the topped-up balance.
  • Tools. Stand-alone Search and Fetch calls cost $0.75 per 1,000 successful requests. Since 18 November 2026, searches that a model triggers during a call are not billed separately; their results count as input tokens.
  • Prepayment. The terms describe a prepaid service. Refunds are reviewed case by case, and DeepSeek may change prices.

How do you get a DeepSeek API key, and what do the terms require?

You create an account on the DeepSeek Platform, top up a balance and generate a key on its API keys page. Accepting the Open Platform Terms of Service is part of that step, so read them before a team member signs up with a company email address.

The current terms were released on 22 April 2026 and took effect on 29 April 2026. The points a procurement or legal reviewer will look for:

  • Keys. Keep them secret and never place them in browser or other client-side code. You bear the fees and losses from a shared or leaked key.
  • Your users. If you build a product on the API, you are the controller for your end users’ data. You must tell them how you process it, have a lawful basis and answer their requests.
  • Service level. The service is provided as is and as available, with no uptime commitment. DeepSeek’s total liability is capped at the fees you consumed in the previous twelve months.
  • Law and venue. The law of the People’s Republic of China governs, and disputes go to a court where the company has its registered office.
  • Export control. You carry the duty to comply with export and sanctions law, and inputs must not include material that needs an export licence.

The terms refer to customers delegating personal information processing to DeepSeek, but they do not mention a data processing agreement, the contract the GDPR requires between a controller and a processor.

Where does DeepSeek API data go, and is it used for training?

DeepSeek’s privacy policy says it collects, processes and stores personal data in the People’s Republic of China. The policy also allows personal data to be used to train and improve its models, with a right to opt out.

The details below come from the policy last updated on 10 February 2026 and from the Open Platform terms.

  • Controller. Hangzhou DeepSeek Artificial Intelligence Co., Ltd. The policy names a privacy representative for the EU and the UK.
  • What is collected. Account data, user input such as prompts and uploaded files, device and network data including IP addresses, and usage logs.
  • Sharing. Service providers, companies in DeepSeek’s corporate group, and public authorities where the law requires it.
  • Training. Permitted, with an opt-out. The only route the policy describes is an email to DeepSeek’s privacy address.
  • Retention. Account and input data are kept for as long as the account exists.

The policy’s scope is narrower than it first appears. It says the data of end users of developers’ applications is not covered by it, and the Open Platform terms apply it to personal information you provide as the data subject. So the documents say least about the content a company sends on behalf of its own users.

For API customers, three gaps remain. The Open Platform terms do not say whether API inputs and outputs are used for training; they defer to the privacy policy. Neither document gives a specific retention period for API requests, beyond the policy’s general rule that input data is kept while the account exists. And the policy names no specific transfer mechanism: it says only that safeguards will be used where the law requires them. Ask DeepSeek to answer these points in writing before you rely on the service.

Is the DeepSeek API GDPR-compliant for European companies?

A service is not compliant by itself; your use of it must be. Sending personal data to the DeepSeek API is a transfer to a third country under Chapter V of the GDPR, and China has no adequacy decision. This section is not legal advice.

Article 44 allows a transfer only if the Chapter V conditions are met. Article 45 covers countries the European Commission has found adequate. Its list, checked on 29 November 2026, does not include China. Article 46 then requires appropriate safeguards, such as the Commission’s standard contractual clauses, together with enforceable rights and effective legal remedies for the people concerned. The European Data Protection Board’s Recommendations 01/2020 address the measures that supplement such transfer tools. In practice the exporter documents a transfer impact assessment: an analysis of the destination country’s law and practice and of any extra protection needed.

Other duties sit beside the transfer rules. Article 28 requires a binding contract with any processor. Article 32 requires security suited to the risk. Article 35 requires a data protection impact assessment where processing is likely to result in a high risk.

Two European authorities have acted on DeepSeek’s consumer chatbot. Neither case concerns the API, but both show how regulators read the transfer question.

  • Italy. On 30 January 2025 the Garante ordered an immediate limitation on the processing of Italian users’ data by Hangzhou DeepSeek Artificial Intelligence and Beijing DeepSeek Artificial Intelligence, and opened an investigation. The companies had said European law did not apply to them, and the authority found their reply wholly insufficient.
  • Germany. On 27 June 2025 the Berlin Commissioner for Data Protection reported the DeepSeek app to Apple and Google as illegal content under Article 16 of the Digital Services Act. The stated reason was a breach of Article 46(1): the company had not shown that users’ data is protected in China at a level equivalent to the EU’s.

Our guide to GDPR-compliant LLM deployment covers lawful basis, processor contracts and transfers in depth. The answer for your organisation depends on the data, the use case and your role, so involve your data protection officer and qualified counsel.

Can you run DeepSeek locally or on EU-hosted infrastructure instead?

Yes. DeepSeek publishes the weights of the models behind the API, and the model cards on Hugging Face state the MIT licence for both the repository and the weights. That permits commercial use, including hosting by you or by a provider you choose.

Self-hosting. The card for DeepSeek-V4-Pro-0813 gives server commands for vLLM and SGLang, two inference engines that expose an OpenAI-compatible endpoint. The DeepSeek-V4.1-Flash-1017 card points to the inference folder of its repository instead. Application code written for the DeepSeek API can then point at your own server. Our guide to self-hosting DeepSeek V4.1 covers the hardware, serving and governance in detail. Three practical notes:

  • These are large models. The V4-Pro card’s vLLM example targets a node with four GPUs, and the Flash card gives no hardware guidance. Our comparison of the best open-weight LLMs in 2026 sets out sizes and memory needs, and the LLM GPU sizing calculator gives a first estimate.
  • The model cards say the releases ship no standard chat template and point to DeepSeek’s own encoding scripts, although both V4.1-Flash repositories have since added a chat_template.jinja file. Check that your engine version supports the model.
  • The hosted extras, such as web search and file parsing, are API services. They do not come with the weights.

Third-party hosting. Because the licence allows it, other inference providers can serve the same weights, including from data centres in the EU. An EU location removes the transfer to China, but not the due diligence: check the provider’s contract, sub-processors, logging, retention and the exact model version and quantisation it runs. Routers that list many hosts per model add one more party; our article on OpenRouter for enterprises explains how to pin providers and regions.

DeepSeek API, EU-hosted inference or self-hosting: which route fits?

The official API fits public or synthetic data and experiments. A contracted EU host fits business data under a processor agreement. Self-hosting fits confidential or regulated workloads with steady volume. The table summarises the trade-offs.

QuestionOfficial DeepSeek APIThird-party EU hostSelf-hosted weights
Who runs the model?DeepSeek, in ChinaA provider you contractYou, or a partner on your infrastructure
Where do prompts go?DeepSeek; its policy names the People’s Republic of China as the place personal data is storedThe provider’s data centres; verify region and sub-processorsYour own network
GDPR transfer positionThird-country transfer with no adequacy decisionNo transfer to China; a processor contract is still neededNo external transfer; the GDPR still applies to your logs
Cost modelPer token, prepaid, peak and off-peak ratesPer token or reserved capacity, set by the providerGPUs, power and staff; no per-token fee
Model versionsDeepSeek changes what an alias servesThe provider’s choice; confirm version and quantisationYou pin the exact weights
Suitable dataPublic or synthetic dataBusiness data, subject to contractConfidential and regulated data

Which controls should you apply if you use the DeepSeek API?

Route all traffic through one controlled path, keep personal and confidential data out, and manage keys, versions and spending centrally. These controls reduce risk; they do not replace the legal assessment above.

  • Use a gateway. Send requests through an enterprise AI gateway that holds the DeepSeek key, authenticates internal users, applies data rules and records usage. Block direct access to api.deepseek.com from other systems.
  • Classify the data. Allow only public or synthetic data by default. Filter prompts for personal data, secrets and client material before they leave your network.
  • Manage keys. Use one company account, a key per application, storage in a secret manager and regular rotation. Never embed a key in a client application.
  • Keep identifiers neutral. The optional user_id field helps DeepSeek separate caching and scheduling between your users. The documentation advises against putting private information in it, so send an opaque identifier.
  • Log on your side. Record who sent what, to which model and when. Apply your own retention period and access rules to those logs.
  • Test for version changes. Aliases such as deepseek-flash can point to a new model without notice in your code. Keep an evaluation set and re-run it when the change log reports an update.
  • Plan the exit. Because the endpoints follow common formats, keep the base URL and model name in configuration so a workload can move to an EU host or to your own servers.

How SysArt helps

SysArt helps European organisations decide which workloads may use a hosted model API and which should run on infrastructure they control. We design and implement private LLM deployments, including open-weight models such as DeepSeek’s on your own GPUs or in a dedicated EU environment, with a gateway, access control, logging and the governance evidence your data protection and security teams need.

Featured image by Oliver Tsappis on Unsplash.

Frequently asked questions

What is the DeepSeek API?

The DeepSeek API is the hosted developer service of Hangzhou DeepSeek Artificial Intelligence Co., Ltd. It gives programmatic access to DeepSeek's language models through endpoints that follow the OpenAI and Anthropic API formats, so existing SDKs work after a change of base URL and key. As of 29 November 2026 it offers two models, deepseek-flash and deepseek-v4-pro, billed per million tokens from a prepaid balance.

How much does the DeepSeek API cost?

As of 29 November 2026, deepseek-flash costs $0.30 per million uncached input tokens and $1.20 per million output tokens at peak hours, and deepseek-v4-pro costs $1.32 and $3.96. Cached input is far cheaper, and off-peak rates are half of peak rates. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays. DeepSeek says prices can change, so check the pricing page.

Is the DeepSeek API free?

No. As of 29 November 2026 the official pricing page lists no free tier. Usage is deducted from a prepaid balance, and the page only notes that a granted balance, where an account has one, is spent before the topped-up balance. Running the open weights yourself avoids per-token fees, but you pay for GPUs, power and operations instead, so compare both on your own workload.

How do I get a DeepSeek API key?

Create an account on platform.deepseek.com, top up a balance and generate a key on the API keys page. The Open Platform terms require you to keep the key secret, forbid exposing it in browser or other client-side code, and make you responsible for fees and losses if it leaks. In a company, issue keys from one managed account and store them in a secret manager.

Does DeepSeek train on API data?

The Open Platform terms do not say. They defer to DeepSeek's privacy policy, last updated on 10 February 2026, which allows personal data to be used to train and improve models and lists a right to opt out, exercised by email. Neither document states a specific retention period for API requests. Treat training use as possible unless DeepSeek confirms otherwise in writing for your account.

Is the DeepSeek API GDPR compliant?

No service is compliant by itself; your use of it has to be. DeepSeek's policy says personal data is stored in China, for which the European Commission has adopted no adequacy decision. Sending personal data therefore needs an Article 46 safeguard, such as standard contractual clauses, and an assessment of Chinese law and practice. This is not legal advice; ask your data protection officer before any personal data is sent.

Can I run DeepSeek locally instead of using the API?

Yes. DeepSeek publishes the weights of DeepSeek-V4.1-Flash-1017 and DeepSeek-V4-Pro-0813 on Hugging Face under the MIT licence, which permits commercial use. The V4-Pro model card gives server commands for vLLM and SGLang, both of which expose an OpenAI-compatible endpoint. These are large models that need multi-GPU servers, so size the hardware first and consider a smaller open-weight model if the workload allows.

Related insights

Plan your private AI with people who build it

Book a briefing. We look at your use case, data and constraints, and you leave with the deployment options and governance steps that fit.