Open-weights chat model from DeepSeek. One API key reaches all 20 providers, with automatic failover.
Up to 1 million free tokens. No card required.
About DeepSeek V4.1 Flash
DeepSeek V4.1 Flash is an open-weights chat model published by DeepSeek, with a 1,048,576-token context window. It scores 125 on AI IQ, ranked #31. Through TrustedRouter it runs on 20 providers, with options in the US and EU, from $0.011 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- Publisher
- DeepSeek
- Modes
- chat, decide
- 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 through TrustedRouter in this project.
1. Read https://trustedrouter.com/llms.txt
2. Point the OpenAI-compatible client at
https://api-aws.trustedrouter.com/v1 and read the key from
TRUSTEDROUTER_API_KEY.
3. Set the model to deepseek/deepseek-v4.1-flash.
4. Run the tests, then show me the diff before committing.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api-aws.trustedrouter.com/v1",
api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="deepseek/deepseek-v4.1-flash",
messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(response.choices[0].message.content)
curl https://api-aws.trustedrouter.com/v1/chat/completions \
-H "Authorization: Bearer $TRUSTEDROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4.1-flash",
"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 |
|||||
|
|
$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: insufficient data Speed: insufficient data |
|||||
|
|
$0.158 | $0.01 | $0.633 | $0.79 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked here. SiliconFlow's privacy policy source is linked for retention and interaction-data terms. Location Operator country: SG Headquarters / registered office: Singapore (international API operator). Company location source (reviewed 2026-09-27). Inference: Inference countries unconfirmed; no verified country-specific residency commitment. TrustedRouter uses api.siliconflow.com. Neither its hostname nor the provider's Singapore legal jurisdiction establishes the DeepSeek V4.1 Flash GPU location. No exhaustive route-specific country list verified. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-26. Weight format Unknown Price and speed Input $0.15825/1M · Cached input $0.01/1M · Output $0.633/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.137 | $0.01 | $0.686 | $0.82 | |
|
Retention Verification: no verified privacy claim. W&B Serverless Inference runs on CoreWeave infrastructure. W&B does not publish a zero-retention, confidential-compute, or end-to-end-encryption commitment for this service, so these routes use the Standard privacy tier. TrustedRouter does not enable W&B Weave tracing for provider calls. 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.68575/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$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 Unknown Price and speed Input $0.211/1M · Cached input $0.01/1M · Output $0.633/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.200 | $0.0127 | $0.686 | $0.89 | |
|
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.20045/1M · Cached input $0.01266/1M · Output $0.68575/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.0106 | $0.01 | $1.27 | $1.28 | |
|
Retention Zero data retention. Verification: provider E2EE not verified. Coral Bricks AI Inc. operates its own serving software on leased US infrastructure. TrustedRouter's account owner confirmed the organization-wide No content + no metadata setting on October 14, 2026. Zero data retention applies to new requests through TrustedRouter-funded routes, not every CoralBricks account. Operational counters and billing records remain; the setting does not purge previously retained data. No training on customer content. No confidential-compute or E2EE claim. TrustedRouter disables paid cache retention; free engine prefix caching remains active. Custom retained-cache TTLs are not supported. Inference is not declared 100% renewable. Location Operator country: US Headquarters / registered office: Not verified. Inference: United States (provider-declared); specific datacenter region is not exposed. Provider-declared US inference and data storage on leased infrastructure; no downstream inference operators. Region pinning through TR: Select provider.only=[coralbricks] with allow_fallbacks=false; no finer regional pin is available. Reviewed 2026-10-14. Weight format Unknown Price and speed Input $0.01055/1M · Cached input $0.01/1M · Output $1.266/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.232 | $0.01 | $1.27 | $1.50 | |
|
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.2321/1M · Cached input $0.01/1M · Output $1.266/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.274 | $0.01 | $1.23 | $1.51 | |
|
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.2743/1M · Cached input $0.01/1M · Output $1.23435/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.306 | $0.01 | $1.27 | $1.57 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked here. Crusoe's Managed Inference docs and pricing/catalog pages are linked for model and API data-handling review. 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.30595/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 Verification: privacy unknown. Atlas Cloud publishes a platform zero-retention policy, while its aggregated model routes can involve downstream providers. TrustedRouter keeps the public route tier conservative pending downstream-path contractual verification. 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: insufficient data Speed: insufficient data |
|||||
|
|
$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 |
|||||
|
|
$0.316 | — | $1.27 | $1.58 | |
|
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 Unknown Price and speed Input $0.3165/1M · Cached input Not published · 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 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: Not verified 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. Novita's 2026-11-21 notice said MiniMax requests (2026-05-28 to 2026-11-11) were forwarded to MiniMax's own API, so no US processing is assumed. 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-11-21. 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: insufficient data Speed: insufficient data |
|||||
|
|
$0.316 | $0.01 | $1.27 | $1.58 | |
|
Retention Verification: privacy unknown. TokenHub's Singapore API uses global resource scheduling, not a Singapore-only inference guarantee. Only canaried chat routes with matching regional USD prices are enabled. No verified contractual ZDR, confidential-compute, or upstream E2EE claim is tracked. Location Operator country: Not verified Headquarters / registered office: Not verified. Inference: Global, dynamically scheduled inference; no fixed-country residency commitment. The Singapore TokenHub ingress uses global resource scheduling. Ingress location is not GPU residency. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-29. 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. Tracked as provider ZDR. Together documents that inference inputs and outputs are not stored by default; temporary prompt caching may be used for performance, and sharing content for training is opt-in. 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.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-09-27. Per-request precision is not verified. Pinned quantization config declares FP8 with FP4 expert weights. BF16 default dtype does not describe the quantized weights. KV cache: unspecified. Price and speed Input $0.633/1M · Cached input $0.01055/1M · Output $1.52975/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.518 | — | $2.07 | $2.59 | |
|
Retention Zero data retention. Regolo states that inference prompts and outputs are processed in memory and discarded, with no reuse for training. This is a provider policy, not verified confidential compute or provider-side E2EE. Location Operator country: IT 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.51781/1M · Cached input Not published · Output $2.07124/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.865 | $0.433 | $3.54 | $4.40 | |
|
Retention Verification: privacy unknown. In its September 28, 2026 marketplace submission, io.net states that inference prompts and completions are processed only in memory, are not stored or logged, and are not used for training. Content-free operational metadata is retained for billing, capacity planning and abuse prevention. This is a provider declaration: the reviewed public privacy policy does not establish inference-specific zero-retention terms, and the applicable DPA has not been reviewed. Routes remain Standard pending that evidence. Confidential compute is offered on request, but this integration has no verified confidential-compute or provider-side E2EE guarantee. Location Operator country: US Headquarters / registered office: West Hollywood, California, United States (operating address). Company location source (reviewed 2026-09-28). Inference: United States and Canada, provider-declared; no US-only or fixed-country guarantee on this route. io.net declares US and Canadian serving locations and data residency in its September 28, 2026 marketplace submission. This is provider-wide information, not an independently verified per-model or per-request location. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-28. API documentation (not a location guarantee) Weight format Unknown Price and speed Input $0.865311/1M · Cached input $0.432656/1M · Output $3.537837/1M TTFT: insufficient data Speed: insufficient data |
|||||
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?
Use deepseek/deepseek-v4.1-flash 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?
TrustedRouter currently lists Tinfoil, Together, Wafer, Baseten, Telnyx, Regolo, CoralBricks, Featherless AI, Crusoe, DeepInfra, SiliconFlow, Makora, Pearl Research Labs, Arcee AI, IO Intelligence, Weights & Biases, Novita AI, Atlas Cloud, Engy, and Tencent Cloud TokenHub for DeepSeek V4.1 Flash. Provider availability and routing eligibility can change as catalog and health data update.
How much does DeepSeek V4.1 Flash cost through TrustedRouter?
The current lowest Credits input price is $0.01055/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?
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 vs other models
Start building with DeepSeek V4.1 Flash.
Up to 1 million free tokens. No card required.
