OpenAI compatible API · Attested · Public status

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.

Verify gateway
Onebase URL to migrate
100sof models and routes
0prompt or output logs. Always.
DeepSeek API privacy

DeepSeek V4 on attested infrastructure: your prompts never reach the model vendor.

The worry behind "is the DeepSeek API safe" is specific. api.deepseek.com runs on the vendor's own infrastructure, several US states have restricted it on government devices, and a January 2025 incident exposed plaintext chat logs. The V4 weights themselves are MIT-licensed. The risk lives in where the endpoint runs.

TrustedRouter serves deepseek-v4-pro and deepseek-v4-flash through non-Chinese hosting providers inside a hardware-attested confidential-compute gateway. 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 and TEE tiers are available per route. Migration is one line: change base_url, keep your OpenAI SDK.

See DeepSeek pricing Check the attestation

Same SDK, new base_urlPython
from openai import OpenAI

client = OpenAI(
    base_url="https://api.trustedrouter.com/v1",
    api_key=TR_KEY,
)

r = client.chat.completions.create(
    model="deepseek-v4-pro",  # or deepseek-v4-flash
    messages=[{"role": "user", "content": "Summarize this contract."}],
)
Hosting

Served outside China

DeepSeek V4 routes run on non-Chinese hosting providers on attested infrastructure. Prompts do not go to the model vendor. EU-focused routing is available through the EU gateway.

Proof

Attestation you can run

The gateway source is open and the image digest is published. One curl with a nonce returns a JWT signed by the CPU vendor's root key, bound to the live TLS session. Details at /security.

Retention

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 routes add contractual guarantees; TEE routes keep prompts sealed even from the hosting provider. See zero data retention.

DeepSeek zero data retention

Make downstream retention a hard routing rule.

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. For ordinary real-time DeepSeek requests, set provider.min_privacy to zdr to consider only providers with a recorded zero-data-retention posture.

The filter fails closed. If no eligible DeepSeek endpoint is available, the router returns an error instead of silently sending the request to a weaker privacy tier.

Require ZDRJSON
{
  "model": "deepseek/deepseek-v4-flash",
  "provider": {"min_privacy": "zdr"},
  "messages": [
    {"role": "user", "content": "Summarize this contract."}
  ]
}
api.deepseek.comTrustedRouter
Model accessDeepSeek V4, first-partydeepseek-v4-pro and deepseek-v4-flash, plus 220+ routes across 30+ providers
PricingVendor list prices, hard to beatThin markup over provider list prices; see /pricing
Where prompts goThe vendor's own infrastructureNon-Chinese hosting providers inside an attested gateway
Retention proofPrivacy policy and termsHardware attestation, checkable live, bound to the TLS session
Outage handlingSingle providerAutomatic fallback across providers
Verify, don't trust

Run the attestation check yourself.

Other US hosts also serve DeepSeek outside China with zero-retention policies, and that is a real improvement over first-party routing. They still ask you to take the policy on faith. TrustedRouter's gateway proves it: run curl "https://api.trustedrouter.com/attestation?nonce=$NONCE" and check the returned JWT against the published image digest. Your compliance team gets evidence, plus the DPA, subprocessor list, and SOC 2 readiness documentation to assess it with.

Hosting is the control point for Chinese open-weights generally. In our testing, the same GLM weights answered 60 of 60 sensitive questions through TrustedRouter's enclave versus 30 of 60 via the vendor-hosted API; the filtering is host-applied, not in the weights. One anonymized proof point: a document-processing company scaled from zero to over a billion tokens per week through the attested gateway within three weeks of onboarding. 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.

Live catalog evidence

Current routes, prices, privacy, and measured performance.

Catalog facts come from the routes currently configured in TrustedRouter. Performance uses the same cached metadata snapshot as the public leaderboard. Prompts and outputs are not part of these measurements.

558public models
92providers
1730configured routes
279ZDR routes
46provider E2EE routes
4173recent availability samples
Model Providers Context Input Output Privacy Measured route
DeepSeek: DeepSeek V4 Flash 0731deepseek/deepseek-v4-flash-0731
+19
32 routes
1,048,576 $0.047475/1M to $2.11/1M $0.09495/1M to $10.55/1M ZDR 1930 ms TTFT deepseek · 152 tok/s · 95.71% available · n=939
DeepSeek V4 Pro 0813deepseek/deepseek-v4-pro-0813
3 routes
1,024,000 $0.6963/1M to $1.3926/1M $2.0889/1M to $4.1778/1M ZDR 1714 ms TTFT baseten · 75 tok/s · 100.00% available · n=77
DeepSeek: DeepSeek V4 Flash 0423deepseek/deepseek-v4-flash
+15
29 routes
1,024,000 $0.07174/1M to $0.4642/1M $0.17724/1M to $1.3926/1M E2EE 5 cited scores 1929 ms TTFT tinfoil · 78 tok/s · 95.24% available · n=52
DeepSeek: DeepSeek V4 Pro 0423deepseek/deepseek-v4-pro
+12
26 routes
1,024,000 $0.91785/1M to $2.532/1M $1.8357/1M to $5.064/1M ZDR 5 cited scores 3433 ms TTFT arcee · 100.00% available · n=33
DeepSeek: DeepSeek V3.2deepseek/deepseek-v3.2
+7
18 routes
163,840 $0.26375/1M to $1.508756/1M $0.4009/1M to $2.538647/1M E2EE 3 cited scores 8083 ms TTFT chutes · 100.00% available · n=17
DeepSeek: DeepSeek V4 Flash Vision Expdeepseek/deepseek-v4-flash-vision-exp
+2
11 routes
1,048,576 $0.13715/1M to $0.4642/1M $0.2954/1M to $1.3926/1M varies 1268 ms TTFT deepseek · 100.00% available · n=6
DeepSeekPolicy varies 6 models 1930 ms p50 · n=499
DeepInfraPolicy varies 98 models 1117 ms p50 · n=70
Fireworks AIPolicy varies 18 models 1263 ms p50 · n=256
GMI CloudPolicy varies 72 models 3080 ms p50 · n=37
Novita AIPolicy varies 117 models 2340 ms p50 · n=30
SiliconFlowPolicy varies 31 models 2058 ms p50 · n=30
VenicePolicy varies 57 models 1728 ms p50 · n=23
BasetenZDR 16 models 1633 ms p50 · n=490

Browse every modelReview provider policiesOpen the full leaderboardSnapshot 2026-09-07T09:16:50.445Z

Questions

Is the DeepSeek API safe to use?

It depends on which endpoint you call. api.deepseek.com is the vendor's own service, and several US states have restricted it on government devices. TrustedRouter serves the same MIT-licensed V4 weights through non-Chinese hosting providers inside a hardware-attested gateway. Prompts do not go to the model vendor. 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. You can verify the attestation live at any time instead of relying on a policy.

Does using DeepSeek through TrustedRouter send data to China?

No. DeepSeek V4 routes are served by non-Chinese hosting providers on attested infrastructure, so prompts never reach the model vendor. Zero-Data-Retention routes add a contractual guarantee that providers keep nothing, and TEE routes keep the prompt sealed even from the hosting provider. Each route's privacy tier is listed on the models page, and the attestation backing the claim is checkable live.

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.

Workspace access

Sign in

Choose a sign in method to access your TrustedRouter workspace.

By signing in you agree to the terms of service and privacy policy.