Open-weights chat model from DeepSeek. One API key reaches all 23 providers, with automatic failover.
Up to 1 million free tokens. No card required.
About DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731 is an open-weights chat model published by DeepSeek, with a 1,048,576-token context window. Through TrustedRouter it runs on 23 providers, with options in the US and EU, from $0.042 per million input tokens. Six providers offer zero data retention, and Chutes also runs it in a confidential enclave.
- Model ID
deepseek/deepseek-v4-flash-0731- 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 Flash 0731 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-flash-0731.
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-flash-0731",
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-flash-0731",
"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.0422 | $0.01 | $0.0950 | $0.14 | |
|
Retention Verification: no verified privacy claim. Neurometric states that TrustedRouter requests run with upstream trace logging disabled: prompts and completions are not written to observability or object storage, and only aggregate request counts and token totals are retained. This is classified as no-store, not contractual ZDR or confidential compute. Location Operator country: US Headquarters / registered office: Not verified. Inference: AWS us-west-2, provider-submitted hosting declaration; not a per-request receipt. Neurometric supplied AWS us-west-2 in its marketplace application. New models and exhaustive failover locations need separate confirmation. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-27. Weight format Unknown Price and speed Input $0.0422/1M · Cached input $0.01/1M · Output $0.09495/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.0475 | $0.01 | $0.0950 | $0.14 | |
|
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.047475/1M · Cached input $0.01/1M · Output $0.09495/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.0738 | $0.0148 | $0.148 | $0.22 | |
|
Retention Verification: no verified privacy claim. Relace's public API documentation does not publish contractual zero retention, confidential compute, or end-to-end encryption for hosted open-model requests. This route is Standard. 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.07385/1M · Cached input $0.01477/1M · Output $0.1477/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.0633 | $0.0158 | $0.190 | $0.25 | |
|
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.0633/1M · Cached input $0.015825/1M · Output $0.1899/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.0950 | $0.0211 | $0.190 | $0.28 | |
|
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 Unknown Price and speed Input $0.09495/1M · Cached input $0.0211/1M · Output $0.1899/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.137 | $0.0295 | $0.274 | $0.41 | |
|
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.13715/1M · Cached input $0.02954/1M · Output $0.2743/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.137 | $0.0316 | $0.274 | $0.41 | |
|
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.13715/1M · Cached input $0.03165/1M · Output $0.2743/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.137 | $0.0295 | $0.274 | $0.41 | |
|
Retention Verification: no verified privacy claim. Mixed model-specific posture. TrustedRouter cannot independently verify a complete chain from a live Venice endpoint through immutable source and hardware measurements to committed model weights. Venice is therefore not tracked as confidential or E2EE. Exact routes marked Private in Venice's live catalog qualify only as policy-backed ZDR through endpoint-specific records; Anonymized routes do not. 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.02954/1M · Output $0.2743/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.137 | $0.0528 | $0.285 | $0.42 | |
|
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.05275/1M · Output $0.28485/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.146 | $0.0295 | $0.290 | $0.44 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked here. Alibaba Cloud Model Studio model availability and pricing are linked for users who need to review API data handling and regional deployment scope. Location Operator country: CN 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.14559/1M · Cached input $0.02954/1M · Output $0.290125/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.148 | — | $0.295 | $0.44 | |
|
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.1477/1M · Cached input Not published · Output $0.2954/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.264 | $0.0633 | $0.316 | $0.58 | |
|
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.26375/1M · Cached input $0.0633/1M · Output $0.3165/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.137 | $0.0285 | $0.522 | $0.66 | |
|
Retention Zero data retention. Inceptron documents zero retention by default: API prompts and outputs are processed transiently and discarded after processing. Location Operator country: SE 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.028485/1M · Output $0.522225/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.196 | $0.0980 | $0.531 | $0.73 | |
|
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.196019/1M · Cached input $0.09801/1M · Output $0.531298/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.232 | $0.0148 | $0.696 | $0.93 | |
|
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.2321/1M · Cached input $0.01477/1M · Output $0.6963/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.253 | — | $0.842 | $1.10 | |
|
Retention Verification: privacy unknown. No contractual zero-retention, confidential-compute, or E2EE claim is tracked for TrustedRouter's Mancer account. This route is Standard. 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.252694/1M · Cached input Not published · Output $0.842312/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.483 | $0.0967 | $0.967 | $1.45 | |
|
Retention Verification: privacy unknown. Scaleway routes are discovered from its authenticated Model as a Service catalog and priced from Scaleway's first-party EUR price feed with a bounded FX reserve. No contractual ZDR, confidential-compute, or E2EE claim is tracked for this account, so these routes are Standard. Location Operator country: FR Headquarters / registered office: Not verified. Inference: Serverless: currently Paris, France, provider-declared; future expansion within Europe possible. Scaleway's FAQ places its current Serverless inference fleet in Paris. Dedicated deployments are a separate product. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-27. Weight format Unknown Price and speed Input $0.48329/1M · Cached input $0.096659/1M · Output $0.966579/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.371 | $0.0127 | $1.11 | $1.49 | |
|
Retention Verification: privacy unknown. NextBit's global API can use third-party infrastructure outside the EEA. Its DPA permits exceptional legal retention for up to 30 days, so this route remains Standard. Use NextBit (EU) for Spain-only processing and zero content retention. No confidential-compute or E2EE claim is made. Location Operator country: ES Headquarters / registered office: Not verified. Inference: Global inference; countries unspecified. Not an EU-only route. NextBit's global API may run inference on third-party infrastructure outside the EEA. Region pinning through TR: Use provider.only=[nextbit-eu] for the separate EU route, not nextbit. Reviewed 2026-10-14. Weight format Unknown Price and speed Input $0.37136/1M · Cached input $0.01266/1M · Output $1.11408/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.464 | $0.0295 | $1.39 | $1.86 | |
|
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.4642/1M · Cached input $0.02954/1M · Output $1.3926/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.464 | $0.0148 | $1.39 | $1.86 | |
|
Retention Verification: privacy unknown. Direct BytePlus ModelArk inference. Availability and standard token prices are refreshed from BytePlus's native catalog and pricing documentation. Video availability requires a verified native adapter. 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.4642/1M · Cached input $0.01477/1M · Output $1.3926/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.464 | $0.0464 | $1.39 | $1.86 | |
|
Retention Confidential compute with end-to-end encryption and zero data retention. TrustedRouter encrypts each request to an attested Chutes workload and verifies Intel TDX plus NVIDIA GPU attestation inside the TrustedRouter enclave before sending content. Verification fails closed. Chutes also documents no prompt/output storage or training. 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.4642/1M · Cached input $0.04642/1M · Output $1.3926/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.464 | $0.0295 | $1.39 | $1.86 | |
|
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.4642/1M · Cached input $0.02954/1M · Output $1.3926/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.464 | $0.0148 | $1.39 | $1.86 | |
|
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.4642/1M · Cached input $0.01477/1M · Output $1.3926/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 Flash 0731?
Use deepseek/deepseek-v4-flash-0731 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 Flash 0731?
TrustedRouter currently lists Chutes, Baseten, Telnyx, Inceptron, Sail Research, Featherless AI, DeepInfra, SiliconFlow, Venice, Alibaba Cloud Model Studio, StreamLake, Neurometric AI, Relace, NextBit, Mancer, IO Intelligence, Scaleway, Lyceum, BytePlus ModelArk, Weights & Biases, Novita AI, Atlas Cloud, and Engy for DeepSeek V4 Flash 0731. Provider availability and routing eligibility can change as catalog and health data update.
How much does DeepSeek V4 Flash 0731 cost through TrustedRouter?
The current lowest Credits input price is $0.0422/1M and the lowest Credits output price is $0.09495/1M. Prices are per one million tokens and come from the current route catalog.
How do I require zero data retention for DeepSeek V4 Flash 0731?
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 Flash 0731 vs other models
Start building with DeepSeek V4 Flash 0731.
Up to 1 million free tokens. No card required.
