DeepSeek API Privacy & Zero Data Retention
Run DeepSeek V4 Pro and V4 Flash through an attested OpenAI-compatible gateway. No prompt or output logging, with enforceable ZDR route filters.DeepSeek V4 Pro and V4 Flash through an attested gateway.
Up to 1 million free tokens. No card required.
Looking for uncensored or abliterated DeepSeek? Try uncensored DeepSeek for cyberdefense through Maple's dedicated Confidential route. It is a separate checkpoint from stock DeepSeek, with an explicit provider selection and a ready-to-copy API example.
DeepSeek V4 on attested infrastructure. With Confidential privacy, your prompts never reach the model vendor.
Is the DeepSeek API private? TrustedRouter never logs prompt or output content. Set provider.min_privacy to confidential to run DeepSeek on an eligible third-party confidential-compute host. If no eligible route is available, TrustedRouter returns an error and keeps your privacy requirement in force.
Zero data retention (ZDR) limits routing to providers with an explicit zero-retention policy. Confidential adds verified provider compute and end-to-end encryption. You can check each route’s privacy tier in the DeepSeek catalog.
Keep your OpenAI SDK. Set the TrustedRouter base URL and API key, then choose a DeepSeek model and privacy level for your request.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.trustedrouter.com/v1",
api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
r = client.chat.completions.create(
model="deepseek/deepseek-v4-flash-0731",
messages=[{"role": "user", "content": "Summarize this contract."}],
extra_body={"provider": {"min_privacy": "confidential"}},
)
Confidential skips the vendor
Confidential requests run only on third-party confidential-compute hosts, never on DeepSeek's own API. Standard routing can include it. EU-focused routing is available through the EU gateway.
Attestation you can run
Inspect the gateway source and published image digest, then follow the verification steps to check the deployed gateway. Details at /security.
No prompt or output logs
TrustedRouter never logs prompt or output content. Ordinary synchronous and streaming inference does not retain it. The opt-in Batch API temporarily retains enclave-encrypted artifacts for up to 30 days. Zero-Data-Retention routing requires an explicit provider ZDR posture. Confidential routing adds verified provider compute and end-to-end encryption. See zero data retention.
Make downstream retention a hard routing rule.
To require ZDR for a real-time DeepSeek request, set provider.min_privacy to "zdr". TrustedRouter will consider only providers with a recorded zero-retention policy.
For verified provider compute and end-to-end encryption alongside explicit ZDR, choose confidential. Both settings enforce the privacy level you select: if no eligible DeepSeek endpoint is available, the request fails rather than lowering that requirement.
{
"model": "deepseek/deepseek-v4-flash",
"provider": {"min_privacy": "zdr"},
"messages": [
{"role": "user", "content": "Summarize this contract."}
]
}
Run the attestation check yourself.
Check the gateway attestation to verify the software handling your request. The selected provider’s retention policy tells you how that provider handles content. For a compliance review, pair this evidence with the DPA, subprocessor list, and SOC 2 readiness documentation.
Use the live model catalog for current DeepSeek model IDs, try one in the playground, compare current latency on the live leaderboard, and inspect stable history in the monthly benchmark reports.
Put these guides into practice
Choose a route, check its privacy requirements, and test it with your own workload.
- DeepSeek API privacy
- OpenRouter alternatives
- Choose an LLM router
- Set up an agent
- Model origin and US providers
- Uncensored DeepSeek for cyberdefense
- How to evaluate a private DeepSeek API
- How to choose an LLM API for agents
Sign up today and start with up to 1 million free tokens. No card required. Eligible new email or social signups receive starter credit for their first workspace; token volume depends on model pricing and input/output usage. Wallet-only signups and additional workspaces do not receive this grant.
DeepSeek routes, prices, and privacy.
Catalog facts come from the routes currently configured in TrustedRouter. The totals below cover the entire TrustedRouter catalog; the model table and related providers focus on DeepSeek. Performance uses the same cached metadata snapshot as the public leaderboard. Prompts and outputs are not part of these measurements.
| Model | Providers | Context | Input | Output | Privacy | Measured route |
|---|---|---|---|---|---|---|
DeepSeek: DeepSeek V4.1 Flashdeepseek/deepseek-v4.1-flash |
33 routes | 1,048,576 | $0.01055/1M to $0.865311/1M | $0.1266/1M to $3.537837/1M | Confidential + ZDR | measured together · 100.00% available · n=1154 |
DeepSeek V4.1 Flash 1017 Uncensoreddeepseek/deepseek-v4-1-flash-1017-uncensored |
2 routes | 1,000,000 | $0.34815/1M | $1.3926/1M | varies | 596 ms TTFT venice · 99.53% available · n=427 |
DeepSeek: DeepSeek V4 Pro 0423deepseek/deepseek-v4-pro |
19 routes | 1,048,576 | $0.2954/1M to $2.532/1M | $1.266/1M to $5.064/1M | ZDR 5 cited scores | 1605 ms TTFT deepseek · 97.61% available · n=254 |
dealignai/DeepSeek-V4.1-Flash-1017-UNCENSOREDdealignai/deepseek-v4.1-flash-1017-uncensored |
3 routes | 1,048,576 | $0.26375/1M to $0.68575/1M | $1.12885/1M to $1.52975/1M | Confidential + ZDR | 5093 ms TTFT chutes · 82.35% available · n=224 |
DeepSeek: DeepSeek V4 Flash 0731deepseek/deepseek-v4-flash-0731 |
31 routes | 1,048,576 | $0.0422/1M to $0.48329/1M | $0.09495/1M to $1.3926/1M | Confidential + ZDR | measured chutes · 0.00% available · n=116 |
DeepSeek: DeepSeek V4.1 Flash 1017deepseek/deepseek-v4.1-flash-1017 |
35 routes | 1,048,576 | $0.03165/1M to $0.633/1M | $0.1266/1M to $1.52975/1M | Confidential + ZDR | measured chutes · 0.00% available · n=107 |
Provider summaries cover each provider's full catalog.
Browse every modelReview provider policiesOpen the full leaderboardSnapshot 2026-12-02T03:36:40.047Z
Questions
Is the DeepSeek API safe to use?
TrustedRouter lets you run DeepSeek through an attested gateway and enforce the privacy level your application requires. With Confidential privacy (provider.min_privacy "confidential"), prompts never reach the model vendor: a Confidential request routes only to third-party confidential-compute hosts, and fails rather than fall back to the vendor's own API. TrustedRouter never logs prompt or output content. Ordinary synchronous and streaming inference does not retain it. The opt-in Batch API temporarily retains enclave-encrypted artifacts for up to 30 days. Review the selected provider’s privacy posture alongside the gateway attestation.
Does using DeepSeek through TrustedRouter send data to China?
Standard routing can include DeepSeek’s own API. With Confidential privacy (provider.min_privacy "confidential"), prompts never reach the model vendor: a Confidential request routes only to third-party confidential-compute hosts, and fails rather than fall back to the vendor's own API. Confidential is a privacy requirement, not a geographic setting. For data-residency requirements, also review the selected provider’s inference location.
How do I require DeepSeek zero data retention?
Set provider.min_privacy to zdr on a DeepSeek request. The router then considers only endpoints with a recorded zero-data-retention posture and fails closed if none are eligible. TrustedRouter never logs prompt or output content. Ordinary synchronous and streaming inference does not retain it. The opt-in Batch API temporarily retains enclave-encrypted artifacts for up to 30 days. The ZDR filter adds the downstream provider requirement.
Which DeepSeek model ID should I use?
Read the live TrustedRouter model catalog and choose the current DeepSeek route for your workload. The API is OpenAI-compatible, so changing generations is a model-id change rather than an SDK migration. The live leaderboard shows current route behavior, while monthly benchmark reports preserve historical measurements.