Open-weights chat model from DeepSeek. One API key reaches all 19 providers, with automatic failover.
No card required. Start with 1 million free tokens.
About DeepSeek V4.1 Flash 1017
DeepSeek V4.1 Flash 1017 is an open-weights chat model published by DeepSeek, with a 1,048,576-token context window. It scores 128 on AI IQ, ranked #20. Through TrustedRouter it runs on 19 providers, with options in the US and EU, from $0.032 per million input tokens. Eight providers offer zero data retention, and Tinfoil also runs it in a confidential enclave.
- Model ID
deepseek/deepseek-v4.1-flash-1017- Publisher
- DeepSeek
- Modes
- chat
- Billing
- Credits or your own provider key
Set it up with your agent
Paste this into Claude Code, Cursor or any coding agent.
Use DeepSeek V4.1 Flash 1017 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-v4.1-flash-1017.
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-v4.1-flash-1017",
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-v4.1-flash-1017",
"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.01 | $0.127 | $0.16 | |
|
Retention Verification: no verified privacy claim. Engy's October 21 policy distinguishes its no-content-logging gateway from independent GPU workers. End-to-end ZDR requires provider.zdr=true or a verified account/key setting; TrustedRouter has not verified that setting for this route. Requests without it may reach independently operated workers. Integrity audits may retain output token IDs on qwen3.6-35b-a3b for 30 days. These routes are not strict ZDR, confidential inference or verified E2EE. Location Operator country: Not verified Headquarters / registered office: Not verified. Inference: Inference countries undisclosed; no verified country-specific residency commitment. Qwen3.8-27B and GLM 5.3 Flash are listed as Engy-operated ZDR models, but the reviewed catalog, docs and privacy policy do not disclose their GPU countries or a complete failover-location set. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-26. Weight format Unknown Price and speed Input $0.03165/1M · Cached input $0.01/1M · Output $0.1266/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
|
|
$0.0528 | $0.01 | $0.316 | $0.37 | |
|
Retention Verification: no verified privacy claim. Pearl Research states that it retains operational metadata for security and does not train on customer data. No public contractual zero-data-retention terms are linked, so TrustedRouter classifies these routes as Standard and excludes them from ZDR, confidential-compute, and E2EE routing. Location Operator country: IL Headquarters / registered office: Tel Aviv-Yafo, Israel. Company location source (reviewed 2026-09-27). Inference: Multi-region provider: US Central, Taiwan and Australia declared; model-specific inference location and exhaustive failover scope unconfirmed. Pearl supplied these serving regions in its marketplace application. This is provider-wide information, not a confirmed per-model or exhaustive failover list. GLM 5.3 Flash and DeepSeek V4.1 Flash do not declare regions in the reviewed native catalog. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-26. Native model catalog (authentication required) Weight format Unknown Price and speed Input $0.05275/1M · Cached input $0.01/1M · Output $0.3165/1M TTFT: 2.33 s Speed: insufficient data Last sample: |
|||||
|
|
$0.0950 | $0.01 | $0.316 | $0.41 | |
|
Retention Zero data retention. Sail's public DPA and security documentation provide default ZDR for inference: Sail and its subprocessors process prompts and outputs ephemerally in memory, without persistent storage or training absent written consent. Files API uploads and stateful Sailboxes are excluded. This is policy-backed ZDR, not verified confidential compute or E2EE. Location Operator country: Not verified Headquarters / registered office: Not verified. Inference: Global, dynamically placed; TrustedRouter does not enforce Sail's US-only option. Sail documents multi-region processing by default, including outside the United States. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-10-28. Weight format FP8 + FP4 experts (reference weights). Provider declaration, reviewed 2026-10-28. Per-request precision is not verified. Sail explicitly lists the reference 1017 checkpoint; its reviewed config combines FP8 weights and FP4 experts. Sail does not pin a serving revision in its public catalog. The checkpoint source is evidence of the declared reference format, not proof that a request ran those exact bytes. KV cache: unspecified. Price and speed Input $0.09495/1M · Cached input $0.01/1M · Output $0.3165/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
|
|
$0.137 | $0.01 | $0.528 | $0.66 | |
|
Retention Zero data retention. Wafer's authenticated model catalog reports that this exact route supports request-scoped ZDR via Wafer-ZDR: required. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.13715/1M · Cached input $0.01/1M · Output $0.5275/1M TTFT: 1.24 s Speed: insufficient data Last sample: |
|||||
|
|
$0.211 | $0.01 | $0.633 | $0.84 | |
|
Retention Verification: no verified privacy claim. Tracked as no-store, not strict ZDR. DeepInfra documents memory-only handling and no training for ordinary inference, but reserves the right to log a small portion of requests for debugging or security. Google- and Anthropic-backed routes also inherit those vendors' terms. Location Operator country: US Headquarters / registered office: Palo Alto, California, United States. Company location source (reviewed 2026-09-27). Inference: US infrastructure plus announced Canadian capacity; model-specific residency unconfirmed. DeepInfra describes US infrastructure and announced its first international data center in Toronto on July 8, 2026. This is a provider footprint, not an exhaustive or model-specific placement list. DeepSeek V4.1 Flash placement has not been confirmed; do not declare this route US-only. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-27. DeepInfra infrastructure statement Weight format FP8 (provider-declared). Provider declaration, reviewed 2026-10-28. Per-request precision is not verified. The provider's page labels this exact route FP8. It does not publish an immutable serving-weight revision or a complete mixed-precision breakdown; this is not a claim that every tensor is FP8. KV cache: unspecified. Price and speed Input $0.211/1M · Cached input $0.01/1M · Output $0.633/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.127 | $0.01 | $0.844 | $0.97 | |
|
Retention Verification: privacy unknown. Morph's public paid tier documents up to 30 days of content retention. Zero retention is reserved for enterprise contracts. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.1266/1M · Cached input $0.01/1M · Output $0.844/1M TTFT: 1.44 s Speed: insufficient data Last sample: |
|||||
|
|
$0.237 | — | $0.950 | $1.19 | |
|
Retention Zero data retention. Featherless's published privacy policy states that prompts and completions are neither collected nor stored. Account, payment and usage metadata, including token counts and sampler settings, may be retained. This is policy-backed ZDR, not verified confidential compute or E2EE. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format FP8 (provider-declared). Provider declaration, reviewed 2026-10-28. Per-request precision is not verified. The provider's page labels this exact route FP8. It does not publish an immutable serving-weight revision or a complete mixed-precision breakdown; this is not a claim that every tensor is FP8. KV cache: unspecified. Price and speed Input $0.237375/1M · Cached input Not published · Output $0.9495/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.253 | $0.01 | $1.01 | $1.27 | |
|
Retention Verification: privacy unknown. Boundless's October 27 terms prohibit persistent input/output storage after real-time processing, while retaining content-free request records for up to 90 days. The terms still disclaim third-party infrastructure practices; an equivalent downstream retention commitment is not verified. Routes remain outside strict ZDR, confidential compute and E2EE. Location Operator country: US Headquarters / registered office: Not verified. Inference: US, UK and/or EU infrastructure, provider-declared; no per-request residency commitment. October 27 terms, section 3.3, describe provider-wide infrastructure in the US, UK and/or EU; not an exact-model placement receipt. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-10-28. Weight format Unknown Price and speed Input $0.2532/1M · Cached input $0.01/1M · Output $1.0128/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
|
|
$0.158 | $0.01 | $1.27 | $1.42 | |
|
Retention Verification: privacy unknown. Makora's Developer Pro and pay-as-you-go tiers advertise ZDR, but permit encrypted on-host SSD caches with no fixed deletion deadline and retention of flagged content for safety investigations. Starter and Developer tiers retain content for 30 days. No training on any tier. These routes remain excluded from strict ZDR. Location Operator country: US Headquarters / registered office: Not verified. Inference: United States primary processing, provider-declared; international processing is permitted and exact-model residency is unverified. Privacy policy section 7 lists AWS and TensorWave inference compute in the US; section 10 also permits international processing. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-10-28. Weight format Unknown Price and speed Input $0.15825/1M · Cached input $0.01/1M · Output $1.266/1M TTFT: 0.84 s Speed: insufficient data Last sample: |
|||||
|
|
$0.316 | $0.01 | $1.27 | $1.58 | |
|
Retention Verification: privacy unknown. Arcee's July 24 privacy policy permits collection of inputs and outputs to provide and improve its services. No route-specific ZDR exception is verified for TrustedRouter's account. These routes remain Standard, not confidential compute or E2EE. Location Operator country: Not verified Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.3165/1M · Cached input $0.01/1M · Output $1.266/1M TTFT: 2.63 s Speed: insufficient data Last sample: |
|||||
|
|
$0.316 | $0.01 | $1.27 | $1.58 | |
|
Retention Zero data retention. Baseten states that it does not store synchronous Model API inputs or outputs by default. TrustedRouter uses the synchronous Model API path; Baseten documents separate temporary input storage for async inference. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.3165/1M · Cached input $0.01/1M · Output $1.266/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
|
|
$0.316 | $0.01 | $1.27 | $1.58 | |
|
Retention Verification: privacy unknown. Workers AI documents no input/output retention after ordinary stateless inference and no model training. Stateful features, customer-enabled logging/caching, and safety, security or legal exceptions may retain content. No exception-free commitment is verified for this account; these routes remain outside strict ZDR. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.3165/1M · Cached input $0.01/1M · Output $1.266/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.316 | $0.0316 | $1.27 | $1.58 | |
|
Retention Zero data retention. Verification: provider E2EE not verified. Confidential AI (Inexorable, Inc.) publishes zero prompt/completion retention and no training on customer data. Operational and billing metadata are retained. Inference is served in the US and El Salvador. Its newer release provides TLS-bound attestation and measured GPU boot checks. Our review of its serving policy and attested transport integration is not complete. TrustedRouter uses its HTTPS API; these routes are ZDR, not verified end-to-end confidential inference and are excluded from the e2e filter. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.3165/1M · Cached input $0.03165/1M · Output $1.266/1M TTFT: 1.40 s 149.7 tokens/s Last sample: |
|||||
|
|
$0.316 | — | $1.27 | $1.58 | |
|
Retention Zero data retention. Marked ZDR via TrustedRouter's arrangement — Nebius RETAINS inputs/outputs by default (for speculative decoding); zero retention is an opt-in control, which the deployed Nebius account has enabled. Nebius does not train on customer data. Location Operator country: NL Headquarters / registered office: Amsterdam, Netherlands. Company location source (reviewed 2026-10-28). Inference: Global, dynamically placed public inference; no fixed-country commitment. Token Factory public endpoints are Global; Finland storage of retained content does not identify the inference location. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-10-28. Weight format Unknown Price and speed Input $0.3165/1M · Cached input Not published · Output $1.266/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
|
|
$0.316 | $0.01 | $1.27 | $1.58 | |
|
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 FP8 (provider-declared). Provider declaration, reviewed 2026-10-28. Per-request precision is not verified. The provider's page labels this exact route FP8. It does not publish an immutable serving-weight revision or a complete mixed-precision breakdown; this is not a claim that every tensor is FP8. KV cache: unspecified. Price and speed Input $0.3165/1M · Cached input $0.01/1M · Output $1.266/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.316 | $0.01 | $1.27 | $1.58 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked. StreamLake's public privacy policy is linked for API data-handling review. Location Operator country: SG Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.3165/1M · Cached input $0.01/1M · Output $1.266/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.316 | $0.01 | $1.27 | $1.58 | |
|
Retention Zero data retention. Telnyx's published policy states zero data retention for Telnyx-hosted /v2/ai/openai/chat/completions and /v2/ai/openai/embeddings: content is processed in memory and discarded after the response; request metadata is retained. TrustedRouter currently publishes hosted chat routes and adapts Responses to chat completions. Stateful Responses, AI Assistants with conversation history, third-party models and /v2/ai/embeddings are outside this ZDR scope. OpenAI-compatible embeddings may run in any region. DPA 3.1 restricts training of models available to others, with exceptions for written opt-in or data de-identified under 3.5. This is policy-backed ZDR, not confidential compute or verified end-to-end attestation. Location Operator country: US Headquarters / registered office: Austin, Texas, United States. Company location source (reviewed 2026-09-27). Inference: Multi-region, dynamically routed among the model's available Telnyx regions; no fixed inference-region commitment on this TrustedRouter route. Provider-wide GPU region set. Model availability is narrower; see the catalog snapshot below. Germany in the storage-locality documentation does not establish Germany as the inference country. Region pinning through TR: Not supported by the current TrustedRouter integration: it uses api.telnyx.com without Telnyx's strict region controls. Do not send Telnyx-specific region/mode fields as a TrustedRouter pin. Reviewed 2026-09-26. Inference regions and strict pinning Weight format Unknown Price and speed Input $0.3165/1M · Cached input $0.01/1M · Output $1.266/1M TTFT: 0.99 s Speed: insufficient data Last sample: |
|||||
|
|
$0.528 | $0.132 | $1.58 | $2.11 | |
|
Retention Verification: privacy unknown. Lyceum's terms state that inference inputs and outputs are used only to generate results, are not stored beyond technical necessity, and are not used for training or analysis. No account-specific ZDR or verified confidential-compute guarantee is tracked; these routes remain Standard. German company jurisdiction is not a guarantee that every model executes in the EU. Location Operator country: DE Headquarters / registered office: Berlin, Germany; Zurich, Switzerland (registered offices). Company location source (reviewed 2026-10-28). Inference: Inference location not verified; no country-specific residency commitment. Lyceum documents model-specific serving locations; its German headquarters is not a fleet-wide EU residency guarantee. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-30. Weight format Unknown Price and speed Input $0.5275/1M · Cached input $0.131875/1M · Output $1.5825/1M TTFT: 3.02 s Speed: insufficient data Last sample: |
|||||
|
|
$0.633 | $0.0106 | $1.53 | $2.16 | |
|
Retention Confidential compute with end-to-end encryption and zero data retention. Tracked as a confidential inference provider with attested provider compute and no prompt/output logging claims. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format FP8 + FP4 experts. Published serving configuration, reviewed 2026-10-28. Per-request precision is not verified. The published configuration pins the 1017 checkpoint and fp8_ds_mla KV cache. The checkpoint uses FP8 block weights with FP4 experts, not uniform FP8. Source review is not proof of a particular request's deployed image or weight revision. KV cache: fp8_ds_mla. Price and speed Input $0.633/1M · Cached input $0.01055/1M · Output $1.52975/1M TTFT: 1.96 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 V4.1 Flash 1017?
Use deepseek/deepseek-v4.1-flash-1017 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 V4.1 Flash 1017?
TrustedRouter currently lists Tinfoil, Nebius Token Factory, Baseten, Telnyx, Sail Research, Confidential AI, Featherless AI, Wafer, DeepInfra, Novita AI, Morph, Cloudflare Workers AI, Pearl Research Labs, Engy, StreamLake, Arcee AI, Lyceum, Boundless, and Makora for DeepSeek V4.1 Flash 1017. Provider availability and routing eligibility can change as catalog and health data update.
How much does DeepSeek V4.1 Flash 1017 cost through TrustedRouter?
The current lowest Credits input price is $0.03165/1M and the lowest Credits output price is $0.1266/1M. Prices are per one million tokens and come from the current route catalog.
How do I require zero data retention for DeepSeek V4.1 Flash 1017?
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 V4.1 Flash 1017 vs other models
Start building with DeepSeek V4.1 Flash 1017.
No card required. Start with 1 million free tokens.
