Models / DeepSeek

DeepSeek V4 Flash API pricing

0423

$0.0279 in, $0.0558 out per million tokens, 90% under DeepSeek's list price on input and 95% on output.

deepseek-v4-flashmanaged routeOpenAI SDK

Price · per million tokens, USD

TokensDeepSeek list priceUplinkSwitchSaving
Input$0.30$0.0279-90%
Cached input$0.006$0.0056-7%
Output$1.20$0.0558-95%
List price: DeepSeek's published rate, read October 2026. Same price on every host.
Real-model check: Fingerprint changed Oct 17

DeepSeek V4 Flash specs

Context window
1,048,576 tokens
Max output
393,216 tokens
Input
text
Released
April 24, 2026

DeepSeek V4 Flash API · base URL and key

Python · OpenAI SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="deepseek-v4-flash",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
TypeScript · OpenAI SDK
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'deepseek-v4-flash',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
curl
curl https://api.uplinkswitch.com/v1/chat/completions \
  -H "authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"Hello"}]}'

What would it cost? · paste a prompt, priced before you send it

Input is counted at about 4 characters per token.

Cheapest first. A real request is billed on the provider's own token count. Same estimate as JSON: POST https://api.uplinkswitch.com/v1/estimate, no key needed.

DeepSeek V4 Flash questions

How much does the DeepSeek V4 Flash API cost?
$0.0279 per million input tokens and $0.0558 per million output tokens, with cached input at $0.0056. DeepSeek's list price is $0.30 and $1.20, so this is 90% under DeepSeek's list price on input and 95% on output.
Is DeepSeek V4 Flash free?
It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0001.
What is the DeepSeek V4 Flash context window?
DeepSeek V4 Flash has a 1,048,576-token context window, with up to 393,216 output tokens per request. It takes text input.
What is the DeepSeek V4 Flash model id?
deepseek-v4-flash. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.