Text model

DeepSeek V4.1 Flash

deepseek-v4.1-flash

deepseek-v4.1-flash is available at deepseek-v4.1-flash. Below: prices per channel, specifications and request examples.

Prices per channel

ChannelInput, per 1MOutput, per 1MCache, per 1M
Auto · default
deepseek-v4.1-flash
$0.0146$0.0579$0.0015
Channel 5
deepseek-v4.1-flash:c5
$0.0446$0.1784$0.0009
Channel 7
deepseek-v4.1-flash:c7
$0.0114$0.0452$0.0012
Channel 8
deepseek-v4.1-flash:c8
$0.0298$0.1191$0.003
Channel 12
deepseek-v4.1-flash:c12
$0.0146$0.0579$0.0015

Prices per 1M tokens. You pay for what you use. Pick a channel with a suffix: deepseek-v4.1-flash:c5; without one you get the default channel.

Specifications

Context window
1,048,576 tokens
Max output tokens
393,216 tokens
Image input
yes
Reasoning
yes
Anthropic format (/v1/messages)
yes
Data in Russia
no

Request example

Create a key in the dashboard. Streaming works too: add "stream": true.

curl
curl https://demo-en.alexshkarupa.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Hello!"}]}'
Python
from openai import OpenAI

client = OpenAI(base_url="https://demo-en.alexshkarupa.com/v1", api_key="YOUR_KEY")
reply = client.chat.completions.create(
    model="deepseek-v4.1-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)

Questions and answers

How much does deepseek-v4.1-flash cost?

Input is $0.0146 per 1M tokens, output $0.0579 per 1M. You are charged for the tokens actually used, so a single request costs a fraction of a cent. Your balance and spending are in the dashboard.

What is the context window of deepseek-v4.1-flash?

Up to 1,048,576 input tokens and up to 393,216 output tokens.

How do I call deepseek-v4.1-flash?

Set the base URL to https://demo-en.alexshkarupa.com/v1 and use "deepseek-v4.1-flash" in the model field of any OpenAI-compatible client. curl and Python examples are on this page.

How do channels differ?

Channels are independent routes to the same model at different prices. Without a suffix a request takes the default channel; to pin a channel add its number: deepseek-v4.1-flash:c5. A pinned channel never fails over silently: if it is unavailable, the request returns an error.

Is cached input cheaper?

Repeated context is billed at the cache price — $0.0015 per 1M tokens instead of $0.0146.

Does deepseek-v4.1-flash understand images?

Yes, images can be sent along with text.

Does it support reasoning?

Yes, the model supports a reasoning mode; its depth is set by a request parameter.

Other models

Start using deepseek-v4.1-flash in minutes

Sign up by email, create a key in the dashboard, top up your balance without a contract.

Get an API key