DeepSeek V4.1 Flash 1017 is the dated October 17, 2026 snapshot of DeepSeek V4.1 Flash, served upstream by DeepSeek under the deepseek-flash API model name. It pins a fixed checkpoint so workflows that need reproducible behaviour do not shift under a silent model update, while the deepseek/deepseek-v4.1-flash alias keeps tracking the latest rollout. Capabilities and pricing match the base model: a sparse mixture-of-experts model with native multimodal visual understanding (text and images in, text out), a 1M-token context window with up to 384K output tokens, thinking and non-thinking modes with selectable reasoning effort, JSON and structured output, and tool calls across the Chat Completions, Responses and Anthropic-compatible APIs.
| Input / 1M tokens · Off-peak | $0.075 |
|---|---|
| Output / 1M tokens · Off-peak | $0.300 |
| Cache read / 1M · Off-peak | $0.0030 |
| Peak hours | 01:00–04:00, 06:00–10:00 ×2 (UTC) |
| Input / 1M tokens · ×2 | $0.150 |
| Output / 1M tokens · ×2 | $0.600 |
| Cache read / 1M · ×2 | $0.0060 |
| Currency | USD |
1.6M input × $0.07/M + 400K output × $0.3/M
Prompt caching assumes half of the input tokens are read from cache at $0.003/M.
Estimate based on list price
| Scenario | Input / output tokens | Per request | Per 1,000 requests |
|---|---|---|---|
| Chat reply | 200 / 300 | $0.0001 | $0.105 |
| Summarize a long doc | 30K / 1K | $0.0025 | $2.55 |
| Code review | 8K / 2K | $0.0012 | $1.20 |
Estimate only — actual token counts depend on the provider's tokenizer.
Compare monthly costs across models in the LLM cost calculator
Use an OpenAI-compatible SDK or send an HTTP request. Get API key
export ORCAROUTER_API_KEY=…https://api.orcarouter.ai/v1Native endpoints: Anthropic SDK https://api.orcarouter.ai
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key=os.environ["ORCAROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="deepseek/deepseek-v4.1-flash-1017",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content){
"id": "chatcmpl-…",
"object": "chat.completion",
"created": 1763280000,
"model": "deepseek/deepseek-v4.1-flash-1017",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 9,
"completion_tokens": 10,
"total_tokens": 19
}
}choices[0].message.content — the model's answer.finish_reason — "stop" means the answer is complete; "length" means it was cut off at max_tokens.usage — the input and output tokens this call is billed for.An HTTP 200 with finish_reason "stop" means the call succeeded.
| Parameter | What it does |
|---|---|
max_tokens | Upper limit on the number of tokens the model generates. |
temperature | Sampling randomness: lower is more focused, higher is more varied. |
tools | Functions the model may call, described as JSON Schema. |
response_format | Force JSON output, optionally matching a JSON Schema. |
reasoning_effort | How much the model reasons before answering: low, medium or high. |
max_completion_tokens | Upper limit on generated tokens, reasoning tokens included. |
top_p | Nucleus sampling: only consider tokens within this cumulative probability. |
stop | Sequences where the model stops generating. |
tool_choice | Whether the model must, may or must not call a tool. |
parallel_tool_calls | Allow several tool calls in one turn. |
structured_outputs | The model can follow a strict JSON Schema given in response_format. |
reasoning | Configure the model's reasoning: effort, token budget, or off. |
include_reasoning | Return the model's reasoning text along with the answer. |
seed | Ask for repeatable sampling for the same input. |
frequency_penalty | Penalize tokens by how often they have appeared, reducing repetition. |
presence_penalty | Penalize tokens that have appeared at all, encouraging new topics. |
repetition_penalty | Discourage repeating tokens from the input or earlier output. |
top_k | Only consider the k most likely tokens at each step. |
min_p | Drop tokens less likely than this fraction of the top token's probability. |
logit_bias | Raise or lower the likelihood of specific tokens. |
logprobs | Return the log probability of each output token. |
top_logprobs | How many likely alternatives to return for each token (needs logprobs). |
What developers are saying this week
Embed this badge
Model card as data
GET /api/public/models/deepseek/deepseek-v4.1-flash-1017Open @misc{orcarouter_deepseek_v4_1_flash_1017,
title = {DeepSeek V4.1 Flash 1017 API},
author = {DeepSeek},
year = {2026},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/deepseek/deepseek-v4.1-flash-1017}
}DeepSeek. (2026). DeepSeek V4.1 Flash 1017 API. OrcaRouter. https://www.orcarouter.ai/models/deepseek/deepseek-v4.1-flash-1017