Text model

DeepSeek V4 Flash 0731

deepseek-v4-flash-0731

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

Prices per channel

ChannelInput, per 1MOutput, per 1MCache, per 1M
Auto · default
deepseek-v4-flash-0731
$0.0259$0.0777$0.0026
Channel 7
deepseek-v4-flash-0731:c7
$0.0259$0.0777$0.0026
Channel 8
deepseek-v4-flash-0731:c8
$0.0437$0.1311$0.0044

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

Specifications

Context window
1,000,000 tokens
Max output tokens
65,536 tokens
Image input
yes
Reasoning
no
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-flash-0731", "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-flash-0731",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)

Questions and answers

How much does deepseek-v4-flash-0731 cost?

Input is $0.0259 per 1M tokens, output $0.0777 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-flash-0731?

Up to 1,000,000 input tokens and up to 65,536 output tokens.

How do I call deepseek-v4-flash-0731?

Set the base URL to https://demo-en.alexshkarupa.com/v1 and use "deepseek-v4-flash-0731" 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-flash-0731:c7. 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.0026 per 1M tokens instead of $0.0259.

Does deepseek-v4-flash-0731 understand images?

Yes, images can be sent along with text.

Other models

Start using deepseek-v4-flash-0731 in minutes

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

Get an API key