[ deepseek ]

DeepSeek V4 Flash 0731

Billed at the provider's list price, with no markup. Pay per token in USDF, with no subscription and no minimum. Streaming and the OpenAI-compatible request format are supported.

DeepSeekdeepseek-v4-flash-0731AvailabletextContext window: 1,048,576 tokens

Input

$0.06

$ / 1M tokens

Output

$0.18

$ / 1M tokens

Cached input

$0.015

$ / 1M tokens

Context window

1,048,576

tokens

Private: $0.44 input / $1.32 output per 1M tokens on attested hardware. Private inference

Model ID
deepseek-v4-flash-0731
Modality
text
Unit
USD per 1M tokens
Status
Available
Endpoints
/v1/chat/completions
Context window
1,048,576 tokens
Max output
384,000 tokens
Pricing basis
List price
Routes enabled
1 of 2
Price sheet
2026-10-10.1

Routes

ProviderEnabledUpstream inputUpstream output
deepinfraYes$0.06$0.18
redpill (private)No$0.44$1.32

Make your first request

Use any OpenAI-compatible SDK. Change the base URL, keep everything else. Responses include a receipt with the exact cost.

No account: send the same request to /x402/v1/chat/completions without credentials and the gateway answers 402 with the quote. Pay per request.

curl https://api.usdf.fi/v1/chat/completions \
  -H "Authorization: Bearer $USDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-v4-flash-0731", "messages": [{"role": "user", "content": "Hello"}]}'