DeepSeek

DeepSeek V4 Flash 0731

Chat
Not available
Get started

Re-post-trained GA release of DeepSeek V4 Flash optimized for fast, economical coding, reasoning, and agent workflows.

Context
1Mtokens
Max output
384Ktokens
Released
2026-07-31

Pricing

$ / 1M tokens
Input
$0.14/M
Output
$0.28/M
Cache Read
$0.028/M
Cache Write
$0.14/M

Capabilities

5 listed
  • Chat
  • Tool Use
  • Reasoning
  • Coding
  • Analysis

Code examples

POST /v1/chat/completions
python
from openai import OpenAI

client = OpenAI(
    api_key="your_api_key",
    base_url="https://api.modelstack.cc/v1",
)

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

Related models

Frequently asked questions

How is DeepSeek V4 Flash 0731 billed on ModelStack?expand_more
ModelStack bills based on actual request usage. Input, output, cache, and any other applicable rates follow the live pricing table on this page. Final request costs are available in the console.
What are the context window and maximum output for DeepSeek V4 Flash 0731?expand_more
DeepSeek V4 Flash 0731 has a 1M context window and supports up to 384K of output.
How can I call DeepSeek V4 Flash 0731 through ModelStack?expand_more
Use the model ID `deepseek-v4-flash-0731` with any OpenAI-compatible SDK pointed at the ModelStack API — see the code examples above for Python, Node.js, and cURL.
Which capabilities does DeepSeek V4 Flash 0731 support?expand_more
DeepSeek V4 Flash 0731 supports: Chat, Tool Use, Reasoning, Coding, Analysis.