Open-weights chat model from DeepSeek. One API key reaches all 2 providers, with automatic failover.
No card required. Start with 1 million free tokens.
About DeepSeek OCR 2
DeepSeek OCR 2 is an open-weights chat model published by DeepSeek, with a 8,192-token context window. Through TrustedRouter it runs on 2 providers, with options in the US, from $0.032 per million input tokens. One provider offers zero data retention, and Privatemode also runs it in a confidential enclave.
- Model ID
deepseek/deepseek-ocr-2- Publisher
- DeepSeek
- Modes
- chat
- Billing
- Credits
Set it up with your agent
Paste this into Claude Code, Cursor or any coding agent.
Use DeepSeek OCR 2 through TrustedRouter in this project.
1. Read https://trustedrouter.com/llms.txt
2. Point the OpenAI-compatible client at
https://api.trustedrouter.com/v1 and read the key from
TRUSTEDROUTER_API_KEY.
3. Set the model to deepseek/deepseek-ocr-2.
4. Run the tests, then show me the diff before committing.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.trustedrouter.com/v1",
api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="deepseek/deepseek-ocr-2",
messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(response.choices[0].message.content)
curl https://api.trustedrouter.com/v1/chat/completions \
-H "Authorization: Bearer $TRUSTEDROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-ocr-2",
"messages": [{"role": "user", "content": "What is the capital of France?"}]
}'
Providers
Your key goes to the cheapest healthy provider and fails over on its own. Open a row for retention, location and weight format, or see how we check privacy claims and the live speed leaderboard.
| Provider | Input | Cached | Output | Cost per 1M in + out | Details |
|---|---|---|---|---|---|
|
|
$0.0316 | — | $0.0316 | $0.063 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked here. Novita's privacy policy says personal information is not used for model training; customer-content processing is governed by customer agreements. Location Operator country: US Headquarters / registered office: San Francisco, California, United States. Company location source (reviewed 2026-09-27). Inference: Shared inference API; processing countries unconfirmed, no fixed-region commitment. No exhaustive inference-country list verified for the shared model API. Novita publishes worldwide GPU rental regions, but that separate product does not establish shared serverless model placement. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-10-28. Weight format Unknown Price and speed Input $0.03165/1M · Cached input Not published · Output $0.03165/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.945 | $0.0982 | $1.56 | $2.50 | |
|
Retention Confidential compute with end-to-end encryption and zero data retention. Requests and responses are encrypted between TrustedRouter's enclave and release-pinned Privatemode workloads after attestation verification. Verification failures reject the request; there is no plaintext fallback. Privatemode explicitly states that prompts and responses are not stored after a request completes and are not used for training. Transient inference state may remain in a salt-isolated, in-memory prompt cache inside confidential workers until eviction. Operational metadata is retained for up to 90 days; per-key token usage is retained permanently for billing. Cache-routing metadata is visible to the provider edge. ZDR describes prompt/output retention, not metadata. Location Operator country: DE Headquarters / registered office: Not verified. Inference: EU-hosted inference, provider-declared; country and individual worker location unspecified. Privatemode declares EU hosting for its inference service. This does not establish an individual worker's country. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-27. Weight format Unknown Price and speed Input $0.945174/1M · Cached input $0.098201/1M · Output $1.558923/1M TTFT: 1.01 s Speed: insufficient data Last sample: |
|||||
Append :nitro to the model ID, or send "provider": {"sort": "throughput"}, to route to the fastest provider instead.
Questions
What model ID should I use for DeepSeek OCR 2?
Use deepseek/deepseek-ocr-2 as the model field with the TrustedRouter OpenAI-compatible API. Credits routing and provider fallback happen behind that model ID.
Do you log my prompts or outputs?
No. Prompt and output content are intentionally excluded from the control plane and metadata systems. Optional content export requires explicit destination-level configuration.
Which providers serve DeepSeek OCR 2?
TrustedRouter currently lists Privatemode, and Novita AI for DeepSeek OCR 2. Provider availability and routing eligibility can change as catalog and health data update.
How much does DeepSeek OCR 2 cost through TrustedRouter?
The current lowest Credits input price is $0.03165/1M and the lowest Credits output price is $0.03165/1M. Prices are per one million tokens and come from the current route catalog.
How do I require zero data retention for DeepSeek OCR 2?
Set provider.min_privacy to zdr on the request. TrustedRouter considers only routes with a recorded zero-data-retention posture and fails closed if no eligible route remains.
DeepSeek OCR 2 vs other models
Start building with DeepSeek OCR 2.
No card required. Start with 1 million free tokens.
