Skip to main content

DeepSeek V4.1 Flash

Live
DeepSeek1M context · Text, Vision, Tools, ReasoningBenchmark price · $0.051 input / $0.567 output per 1M tokens
Use this model
Best discount now99.7%offYou pay 0.3% of reference.
Median discount80.0%offAcross 169 live offers.
Realized · 7 days93.3%avgRequest-weighted average.
Requests · 24h2,788,913169 offers from 54 sellers.
Current offers
168 of 344 offers
Availability
Providers
ProviderDiscountPriceLatencyUptimeCacheSold
Alibaba DashScope — China
99%
$0.00018 in
$0.00137 out
7.5s
98.4%
89.6%
$1,650
OneAPI
99%
$0.00014 in
$0.00274 out
18.4s
34.4%
46.3%
-
InferHub
97%
$0.00150 in
$0.00600 out
5.5s
30.6%
58.6%
$0.017
InferHub
98%
$0.00074 in
$0.00826 out
5.5s
30.6%
58.6%
$0.116
OpenRouter
99%
$0.00020 in
$0.0100 out
3.0s
97.4%
82.0%
$858
Dolphin
90%
$0.00510 in
$0.0567 out
111.5s
72.5%
54.8%
$47
Dolphin
90%
$0.00510 in
$0.0567 out
111.5s
72.5%
54.8%
$16
Dolphin
90%
$0.00510 in
$0.0567 out
111.5s
72.5%
54.8%
$19
Dolphin
90%
$0.00510 in
$0.0567 out
111.5s
72.5%
54.8%
$10
OneAPI
90%
$0.00510 in
$0.0567 out
18.4s
34.4%
46.3%
$15
Total
Cumulative offers
Sold
$2,884

Discount trend

Realized · 7 days
100.0%+0.0 pts vs last week
Best, twice dailyMedian 80.0%

Recent fills

16:2511,120 tokensInferHub99.4%
16:25103,625 tokensOpenRouter98.9%
16:2513,282 tokensDeepSeek direct55.1%
16:2564,790 tokensOpenRouter98.9%
16:25327,458 tokensOpenRouter99.0%
16:253,093 tokensDeepSeek direct54.3%
16:2516,236 tokensDeepSeek direct55.0%
16:253,008 tokensOpenRouter98.2%
16:25220,699 tokensOpenRouter99.1%
16:2520,147 tokensOpenRouter99.2%
16:251,537 tokensOpenRouter98.3%
16:2543,258 tokensOpenRouter98.6%
16:2553,726 tokensOpenRouter98.7%
16:25114,232 tokensOpenRouter98.8%
16:2531,306 tokensOpenRouter99.4%
16:2518,142 tokensAlibaba DashScope99.8%
16:253,354 tokensDeepSeek direct55.3%
16:2522,633 tokensOpenRouter99.0%
16:25109,149 tokensOpenRouter98.9%
16:2533,259 tokensOpenRouter98.9%
Times in UTCSettled on Base in USDC.

Performance by provider route · 24h

Measured on Surplus traffic
Alibaba DashScope — China51% of traffic
98.4% success
p50 10.11 s · p95 61.18 s · 134 tok/s
OpenRouter29% of traffic
97.4% success
p50 4.11 s · p95 45.32 s · 99 tok/s
DeepSeek direct11% of traffic
99.9% success
p50 3.04 s · p95 24.87 s · 99 tok/s
InferHub5% of traffic
30.6% success
p50 7.49 s · p95 33.57 s · 180 tok/s
Dolphin3% of traffic
72.5% success
p50 82.59 s · p95 203.21 s · 99 tok/s
Venice AI direct1% of traffic
99.6% success
p50 2.25 s · p95 33.57 s · 243 tok/s
OneAPI0% of traffic
34.4% success
p50 10.11 s · p95 33.57 s · 808 tok/s
OrcaRouter0% of traffic
99.4% success
p50 13.64 s · p95 45.32 s · 54 tok/s
NaraRouter0% of traffic
82.0% success
p50 2.25 s · p95 10.11 s · 243 tok/s
Mordiem0% of traffic
82.3% success
p50 3.04 s · p95 13.64 s · -
Ollama Cloud direct0% of traffic
29.1% success
p50 33.57 s · p95 111.50 s · 180 tok/s
Agent Zero0% of traffic
37.3% success
p50 2.25 s · p95 - · -
Use this model

Change your base URL.
Keep your code.

Any OpenAI-compatible client works. Add /min30 to the path to only buy at 30% off or better.

Read the quickstart ↗
Parameters this model acceptsPOST /v1/chat/completions
  • modelstringThis model’s id
  • messagesarrayThe conversation, as role and content pairs
  • streambooleanSend the answer as server-sent events
  • max_tokensintegerMost output tokens to generate
  • temperaturenumberSampling temperature
  • top_pnumberNucleus sampling
  • stopstring | arrayStop sequences
  • toolsarrayFunctions the model may call, in the OpenAI format
  • tool_choicestring | objectauto, required, none, or one named function
  • response_formatobjectJSON mode or a JSON schema for structured output
  • reasoning_effortstringHow hard to think, as a string such as "high"
  • reasoningobjectReasoning options as an object, such as {"effort": "high"}
  • include_reasoningbooleanStripped before the request reaches the provider
  • frequency_penaltynumberPenalises tokens by how often they appeared
  • presence_penaltynumberPenalises tokens that appeared at all
  • logprobsbooleanReturn token log probabilities
  • top_logprobsintegerHow many top tokens to return probabilities for
Context window 1M tokens · Max output 384K tokensOthers are passed through; most providers ignore what they don’t support. Parameter compatibility ↗
from openai import OpenAI

client = OpenAI(
    api_key="inf_your_key_here",
    base_url="$SURPLUS_BASE_URL"
)

response = client.chat.completions.create(
    model="deepseek-v4.1-flash",
    messages=[{"role": "user",
               "content": "Hello!"}]
)

SURPLUS_BASE_URL
https://api.surplusintelligence.ai/v1

Related models