DeepSeek V4.1 Flash 1017

deepseek-v4.1-flash-1017

DeepSeekChatby DeepSeek

October 17, 2026 snapshot of DeepSeek V4.1 Flash, a sparse mixture-of-experts model for fast, economical coding, reasoning, and agent workflows. Accepts text and image input.

Context
1Mtokens
Max output
384Ktokens
Released
2026-10-17

Pricing

$ / 1M tokens
Input
$0.15/M
Output
$0.60/M
Cache Read
$0.003/M
Cache Write
$0.15/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.1-flash-1017",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

Frequently asked questions

How is DeepSeek V4.1 Flash 1017 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.1 Flash 1017?expand_more
DeepSeek V4.1 Flash 1017 has a 1M context window and supports up to 384K of output.
How can I call DeepSeek V4.1 Flash 1017 through ModelStack?expand_more
Use the model ID `deepseek-v4.1-flash-1017` 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.1 Flash 1017 support?expand_more
DeepSeek V4.1 Flash 1017 supports: Chat, Tool Use, Reasoning, Coding, Analysis.

Related models