Skip to main content
Models

DeepSeek V4.1 Flash 1017

Model Overview

Direct supply
ChatStreamingVisionToolsThinkingCache

DeepSeek V4.1 Flash (1017): a fast, low-cost model with a 1M-token context window. Supports thinking and non-thinking modes, tool calls, structured output and image input.

Input Modalities

Text, Image

Output Modalities

Text

Recommended for

Suited for streaming chat use cases that need vision, tool calling, and thinking, with cache support.

Capabilities

Chat

Multi-turn conversational completions

Streaming

Tokens are delivered incrementally as they are generated

Vision

Accepts image input alongside text

Tool Use

Can call functions/tools defined in the request

Thinking

Produces an extended internal reasoning trace before the final answer

Prompt Caching

Reuses previously processed prompt prefixes at a lower rate

Supported Modes

Chat

Model Pricing

15% off
Pay-as-you-go

Full Pricing Breakdown

Every billed dimension for DeepSeek V4.1 Flash 1017

Token Pricing

Cache Read$0.003$0.00255per 1M tokens
Input$0.15$0.128per 1M tokens
Output$0.60$0.51per 1M tokens
Thinking$0.51per 1M tokens

Indicative pricing — final cost is confirmed at request time.

Context & Limits

Context Window
1,048,576 tokens
Max Output
393,216 tokens

Response speed

Typical response time
6.5 s
Time to first token
3.9 s

Median of 932 successful requests over the last 7 days

API Code Example

OpenAI Compatible
import openai
 
client = openai.OpenAI(
base_url="https://api.modelsite.ai/v1",
api_key="sk-ms-...",
)
 
response = client.chat.completions.create(
model="deepseek-v4.1-flash-1017",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)