DeepSeek V4.1 Flash 1017

deepseek/deepseek-v4.1-flash-1017
ZDR
VisionToolsJSONReasoning
by DeepSeek · 2026-10-17

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.

Max output393K
Inputtext + image
Outputtext
p50 TTFT450 ms
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
Context window1Mtokens
INPUT$0.07/ 1M tokens
OUTPUT$0.30/ 1M tokens
p50 TTFT450 ms7d
p95 TTFT2.13 s7d

Pricing

Pricing
Input / 1M tokens · Off-peak$0.075
Output / 1M tokens · Off-peak$0.300
Cache read / 1M · Off-peak$0.0030
Peak hours01: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
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $0.240 · With prompt caching $0.182

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

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0001$0.105
Summarize a long doc30K / 1K$0.0025$2.55
Code review8K / 2K$0.0012$1.20

Token & cost estimator

Input tokens: 20Cost per request: $0.000151

Estimate only — actual token counts depend on the provider's tokenizer.

Compare monthly costs across models in the LLM cost calculator

Code samples

Use an OpenAI-compatible SDK or send an HTTP request. Get API key

API key
export ORCAROUTER_API_KEY=…
Base URL
https://api.orcarouter.ai/v1

Native 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)

Example response

{
  "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.

Supported parameters

ParameterWhat it does
max_tokensUpper limit on the number of tokens the model generates.
temperatureSampling randomness: lower is more focused, higher is more varied.
toolsFunctions the model may call, described as JSON Schema.
response_formatForce JSON output, optionally matching a JSON Schema.
reasoning_effortHow much the model reasons before answering: low, medium or high.

Full API reference

Use cases and examples

  • Long context — 1M-token context window: whole codebases, long reports or chat histories in one request.
  • Multimodal input — Takes text + image in one request.
  • Agents and tool use — Calls the functions you define, for agents and tool workflows.
  • Structured extraction — Returns JSON that follows your schema, for pulling fields out of text.
  • Reasoning — Works through a problem before answering: math, science and multi-step tasks.
  • Reproducible pipelines that must pin a fixed model checkpoint
  • Multimodal reasoning over text and images with a 1M-token context
  • Agentic tool use and structured (JSON) output at Flash-tier cost
  • Long-document and whole-repository understanding in a single pass

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
450 ms
#3 fastest of 151 models
Output speedHow many tokens per second the model streams once it starts answering.
252 tok/s
#29 fastest of 149 models
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
2.13 s
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
0.20%
Uptime (24h)Share of health checks in the last 24 hours that found the model answering.
100.00%

Benchmarks

32.6
AA IntelligenceArtificial Analysis Intelligence Index: one 0–100 score that combines its evaluations of reasoning, knowledge, math and coding.
Better than 71% of models compared
#44 of 153
Humanity's Last ExamHumanity's Last Exam: expert-written questions at the frontier of human knowledge, across dozens of subjects.
43.3#25 of 141
Long-Context RecallLong-Context Recall: answering questions that need facts found and combined across long documents.
82.7#18 of 136
SciCodeSciCode: writing code that solves research-level problems in physics, chemistry, biology and math.
55.9#24 of 141
terminalbench_v4_0Terminal-Bench: finishing real tasks in a command-line environment, such as building, debugging and configuring software.
33.8#17 of 60
Source: artificialanalysis.ai

Community buzz

What developers are saying this week

Hacker News2 mentions · 7dup 1 vs the previous week

Compare models

DeepSeek V4.1 Flash 1017DeepSeek V4 ProDeepSeek V4.1 FlashDeepSeek V4.1 Flash 0910
Input $/M$0.07$0.66$0.15$0.15
Output $/M$0.30$1.98$0.60$0.60
Context1.0M1.0M1.0M1.0M
Quality8/108/108/108/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

How is this different from deepseek/deepseek-v4.1-flash?
This is the dated October 17, 2026 snapshot — a fixed checkpoint for reproducible behaviour. The deepseek/deepseek-v4.1-flash alias keeps moving to the latest rollout. Capabilities and pricing are the same; pick the snapshot when a workflow must not change under you.
What inputs does it accept?
Text and images, with text output. It serves a 1M-token context window with up to 384K output tokens.
What capabilities does it support?
Thinking and non-thinking modes with selectable reasoning effort, JSON and structured output (response_format), and tool calls with parallel tool calls — across the Chat Completions, Responses and Anthropic-compatible APIs.
What is the upstream model name?
DeepSeek serves V4.1 Flash under the API model name deepseek-flash; this snapshot corresponds to the October 17, 2026 checkpoint (Hugging Face deepseek-ai/DeepSeek-V4.1-Flash-1017).

Embed this badge

DeepSeek: DeepSeek V4.1 Flash 1017•$0.07/M in•450ms p50•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/deepseek/deepseek-v4.1-flash-1017" target="_blank"> <img src="https://www.orcarouter.ai/embed/deepseek/deepseek-v4.1-flash-1017.svg" alt="DeepSeek: DeepSeek V4.1 Flash 1017 on OrcaRouter" /> </a>
Markdown [![DeepSeek: DeepSeek V4.1 Flash 1017](https://www.orcarouter.ai/embed/deepseek/deepseek-v4.1-flash-1017.svg)](https://www.orcarouter.ai/models/deepseek/deepseek-v4.1-flash-1017)

Model card as data

GET /api/public/models/deepseek/deepseek-v4.1-flash-1017Open
Machine-readable:/llms.txt/llms-full.txt