On this page
DeepSeek’s privacy policy says it stores the data it collects in China and may use your inputs to train its models, with an opt-out by email. Its API terms add no zero-retention promise. For private prompts, run DeepSeek V4.1 Flash on a host that doesn’t keep them: DeepInfra ($0.14 / $0.42), Fireworks, OpenRouter with zero retention, or Off Grid AI Boost from $4.99 a month.
Where your DeepSeek API prompts go
DeepSeek publishes two documents that matter here.
The privacy policy. DeepSeek’s privacy policy covers its apps, websites and software. It says:
- Where: “we directly collect, process and store your Personal Data in People’s Republic of China.”
- What: inputs it may collect include your “text input, voice input, prompt, uploaded files, photos, feedback, chat history”.
- Training: it uses inputs to “train and improve our technology, such as our machine learning models and algorithms.” It lists a right to opt out of training, by email to [email protected].
- How long: account data is kept “for as long as you have an account.”
- Who else: it may share data to comply with “applicable law, legal process or government requests.”
The API terms. The Open Platform Terms of Service govern the API. You keep your rights in your inputs, and DeepSeek assigns you the rights in the outputs. The terms don’t promise zero retention, don’t set a retention period for API inputs, and don’t exclude API traffic from training. They do say that where illegal activity is suspected, records will be kept and reported to the authorities.
DeepSeek’s model training disclosure says a small portion of its training data may be built from user input, which it encrypts and de-identifies first, and points to the privacy policy for the opt-out.
Put together: if you send a prompt to api.deepseek.com, plan as if it’s stored in China and may be used for training unless you’ve opted out.
If you build an app on the DeepSeek API
DeepSeek’s privacy policy doesn’t cover the personal data of your app’s own users. It says the developer running the app is the controller and should tell end users how their data is handled. So the privacy notice your users read is yours to write, and it should say where their prompts go.
How to use DeepSeek privately
Option 1: opt out at DeepSeek
Email [email protected] and ask DeepSeek not to use your data for training. This keeps the same API and price, but it doesn’t change where the data is stored, and the policy gives no API setting to confirm it.
Option 2: run the same model on a host that doesn’t keep prompts
DeepSeek V4.1 Flash is open weights, so other hosts serve it. Price per million tokens, input / output:
| Host | DeepSeek V4.1 Flash | Stores prompts? | Trains on them? |
|---|---|---|---|
| DeepSeek API | $0.30 / $1.20 peak, $0.15 / $0.60 off-peak | Yes, in China | May; opt out by email |
| DeepInfra | $0.14 / $0.42 ($0.098 / $0.294 for the 1017 build) | No | No |
| Fireworks AI | $0.30 / $1.20 | No, zero retention by default | Not stated |
| NanoGPT | $0.039 / $0.40 | Not by default; its providers follow their own policies | No |
| OpenRouter, lowest route | $0.051 / $0.567, plus 5.5% on credit | Not by OpenRouter; the provider varies unless ZDR is on | Provider varies; can be blocked |
| Together AI | $0.30 / $1.20 | Yes, by default | Off by default |
| Off Grid AI Boost | Flat plan, usage worth 2x the price | No | No |
DeepInfra is cheaper than DeepSeek’s own peak price and doesn’t keep your prompts, so for most people it’s the easy switch today. If you already use OpenRouter, turn on zero retention; this guide shows how.
Option 3: change one line of code
DeepSeek’s API is OpenAI-compatible, and so is DeepInfra’s, so switching is a new base URL, key and model name. For example, with DeepInfra’s OpenAI-compatible endpoint in Python:
from openai import OpenAI
client = OpenAI(
base_url="https://api.deepinfra.com/v1/openai",
api_key="YOUR_DEEPINFRA_KEY",
)
reply = client.chat.completions.create(
model="deepseek-ai/DeepSeek-V4.1-Flash",
messages=[{"role": "user", "content": "Review this contract clause"}],
max_tokens=1000,
)
print(reply.choices[0].message.content)
Copy the exact model ID from the host’s model page, since each host names it slightly differently. On Boost, the base URL and key come by email with your plan, so the same code uses BOOST_BASE_URL and your Boost key.
Option 4: keep it on your own machine
DeepSeek V4.1 Flash needs about 128 GB of memory even at its smallest, so most laptops can’t run it. Smaller open models run in the free Off Grid AI apps on your own phone or computer, and your prompt never leaves the device. The hardware details are in how to run DeepSeek V4.1 Flash.
What switching costs
Say your app sends 50M input and 10M output tokens a month, all at DeepSeek’s peak price:
- DeepSeek API: 50 × $0.30 + 10 × $1.20 = $27.00
- DeepInfra: 50 × $0.14 + 10 × $0.42 = $11.20
- Fireworks: 50 × $0.30 + 10 × $1.20 = $27.00
- Off Grid AI Boost Pro: $9.99, flat, with usage worth $19.99 counted at each model’s token rate
The private option is the same price or cheaper. DeepSeek’s own API wins if you can run everything off-peak with heavy caching: cache hits cost $0.006 per million at peak, and off-peak halves every price.
Symptom, check, fix
| Symptom | Check | Fix |
|---|---|---|
| Your client asks where prompts are stored | Your base URL is api.deepseek.com |
Move to a host with a no-storage policy, then update your privacy notice |
| You need DeepSeek not to train on your data | Have you emailed an opt-out? | Email [email protected], or move hosts |
| You use DeepSeek through OpenRouter | Is ZDR on in your privacy settings? | Turn on ZDR, or send "provider": {"zdr": true} |
| Your app’s users ask what happens to their data | DeepSeek’s policy doesn’t cover your end users | Write your own notice naming the host and its policy |
| The private host costs more | Compare peak, off-peak and cached prices | DeepInfra is cheaper than DeepSeek’s peak rate; NanoGPT is cheaper still |
A private DeepSeek on a flat bill
Off Grid AI Boost runs open models, DeepSeek V4.1 Flash and Qwen 3.8 among them. We don’t keep your prompts or train on them, and the serving code will be open source, so you can move to your own hardware.
- One OpenAI-compatible key for every model, so it’s the one-line switch above.
- First-cohort prices, half the regular price for as long as you stay: Starter $4.99, Pro $9.99, Max $49.99 a month (regular $9.99, $19.99, $99.99).
- Usage worth each plan’s full regular price every month, refilled monthly. Top up any time.
- A pre-order: you pay now, your API key arrives by email in January 2027, and your plan starts that day. If we miss January, you get all your money back.
Need it private this week? Use DeepInfra or Fireworks. Compare every policy in the best private LLM APIs, and every price on the open-model API prices page.
FAQ
Does the DeepSeek API store my data? DeepSeek’s privacy policy says it collects, processes and stores personal data in the People’s Republic of China, including prompts, uploaded files and chat history. Its Open Platform Terms, which cover the API, make no zero-retention or no-training promise for your inputs.
Does DeepSeek train on API prompts? DeepSeek’s privacy policy says it may use your inputs to train and improve its models, and lists a right to opt out by emailing [email protected]. Its API terms don’t exclude API traffic from training, so assume it can be used unless you opt out.
How do I opt out of DeepSeek training on my data? Email [email protected]. DeepSeek’s privacy policy lists the right to opt out of using your personal data for training and says requests go to that address. The policy doesn’t describe a training switch for the API.
Where can I use DeepSeek V4.1 Flash privately? DeepInfra says it doesn’t store or train on your data ($0.14 in, $0.42 out per million tokens). Fireworks has zero data retention by default ($0.30 / $1.20). On OpenRouter, turn on Zero Data Retention. Off Grid AI Boost doesn’t keep prompts, from $4.99 a month.
Is the DeepSeek API cheaper than private hosts? Not at peak. DeepSeek charges $0.30 in and $1.20 out per million tokens at peak and half that off-peak. DeepInfra charges $0.14 / $0.42 for the same model, and NanoGPT $0.039 / $0.40. DeepSeek can win off-peak with heavy caching.