Models / DeepSeek / DeepSeek V4.1 Flash 1017
DeepSeek

DeepSeek V4.1 Flash 1017

BYOKOpen weightsReleased 17 Oct 2026

A low-priced open-weights model from DeepSeek with a 1M-token context window, accepting text and images. Its intelligence index of 77.4 ranks 10th of 114 tested, well above the median.

A dated snapshot of DeepSeek V4.1 Flash. Snapshots are left out of the rankings and charts on the overview.

Read the full description ↓

Spec sheet

Family
DeepSeek
Released
17 Oct 20261 months ago
Weights
Open
Context window
1M tokens
Largest response
128k tokens
Accepts
text, image
Supports
tools, reasoning, structured output
Knowledge cutoff
May 2025
Intelligence index
77.4#10
Input price
$0.15 / 1M
Output price
$0.6 / 1M
Blended price (3:1)
$0.26 / 1M
Index points per $
294.9#6
Speed
124 tokens/sec#25
Popularity
#1 of 194by usage
Providers
7
Weights on
deepseek-ai/DeepSeek-V4.1-Flash-1017

Benchmarks

Score · rank among models tested

The tick on each bar marks the registry median; hover over a bar for the numbers. Sources and how the index is computed: methodology.

Providers and prices

$ per 1M tokens · from genai-prices
ProviderGatewayPydantic AI model stringInputCached inputOutputBlended
Doublewordgateway/doubleword:deepseek-ai/DeepSeek-V4.1-Flash $0.15$0.01$0.6$0.26
OpenRouterBYOKopenrouter:deepseek/deepseek-v4.1-flash $0.21$0.004$0.84$0.37
BasetenBYOK–$0.3$0.007$1.2$0.52
Cloudflare Workers AIBYOK–$0.3$0.006$1.2$0.52
MistralBYOKmistral:deepseek-v4-1-flash-1017 $0.3$0.007$1.2$0.52
NovitaBYOK–$0.3$0.006$1.2$0.52
Together AIBYOKtogether:deepseek-ai/DeepSeek-V4.1-Flash $0.3$0.006$1.2$0.52

The cheapest provider is highlighted. Blended price assumes three input tokens for each output token.

Example code

# /// script
# dependencies = ["pydantic-ai"]
# ///
import os

from pydantic_ai import Agent

os.environ['PYDANTIC_AI_GATEWAY_API_KEY'] = '...'

agent = Agent('gateway/doubleword:deepseek-ai/DeepSeek-V4.1-Flash', instructions='Be concise, reply with one sentence.')

result = agent.run_sync('Where does "hello world" come from?')
print(result.output)

Ask DeepSeek V4.1 Flash 1017 a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

Compare

DeepSeek V4.1 Flash 1017vsClaude Opus 5
Intelligence indexOur composite of the benchmarks below, 0-100
DeepSeek V4.1 Flash 101777.4
Claude Opus 577.1
GPQA DiamondGraduate-level science questions, multiple choice
DeepSeek V4.1 Flash 101793.2%
Claude Opus 593.9%
OTIS Mock AIMECompetition mathematics problems with exact answers
DeepSeek V4.1 Flash 101799.4%
Claude Opus 598.9%
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
DeepSeek V4.1 Flash 101771.2%
Claude Opus 585.6%
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
DeepSeek V4.1 Flash 101778.1%
Claude Opus 590.4%
SimpleQA VerifiedShort factual questions answered from memory, without search
DeepSeek V4.1 Flash 101742.5%
Claude Opus 559.9%
SciCodeScientific programming problems written by researchers
DeepSeek V4.1 Flash 101755.9%
Claude Opus 556.4%
WebDev ArenaRating from human votes on web apps the models built
DeepSeek V4.1 Flash 1017–
Claude Opus 51687
APEX-AgentsLong professional tasks (banking, consulting, law) passed on the first attempt
DeepSeek V4.1 Flash 101769.8%
Claude Opus 565.8%
LMArena textRating from blind human votes between pairs of chat responses
DeepSeek V4.1 Flash 1017–
Claude Opus 51506.2
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
DeepSeek V4.1 Flash 1017159.4
Claude Opus 5164.7
Input pricePer 1M tokens, lower is better
DeepSeek V4.1 Flash 1017$0.15
Claude Opus 5$5
Output pricePer 1M tokens, lower is better
DeepSeek V4.1 Flash 1017$0.6
Claude Opus 5$25
EfficiencyIndex points per blended $
DeepSeek V4.1 Flash 1017295
Claude Opus 58
SpeedOutput tokens per second
DeepSeek V4.1 Flash 1017124 t/s
Claude Opus 563 t/s
Context windowTokens
DeepSeek V4.1 Flash 10171M
Claude Opus 51M
Model stringFor Pydantic AI
DeepSeek V4.1 Flash 1017gateway/doubleword:deepseek-ai/DeepSeek-V4.1-Flash
Claude Opus 5gateway/anthropic:claude-opus-5

About DeepSeek V4.1 Flash 1017

Description written by an LLM from the data on this page

A low-priced open-weights model from DeepSeek with a 1M-token context window, accepting text and images. Its intelligence index of 77.4 ranks 10th of 114 tested, well above the median.

DeepSeek V4.1 Flash 1017 is an open-weights model released in October 2026. It accepts text and image input, supports tool calling, structured output and a reasoning mode, and offers a 1M-token context window with responses up to 128k tokens. Its main appeal for choosing a model is the combination of quality and price. Its intelligence index of 77.4 places it 10th of 114 models tested, and its blended price of $0.26 per million tokens is well under the registry median of $1.01.

The benchmark results are strong on reasoning and agentic tasks. It scores 78.1% on ARC-AGI-2, 21st of 68, and 69.8% on APEX-Agents, 10th of 60. Its results on GPQA Diamond, OTIS Mock AIME and SciCode are above the median but mostly in the lower half of the top third. Factual recall is the weak area: SimpleQA Verified at 42.5% sits just below the median, and FrontierMath results also trail the median.

It is available from seven providers, and it is built into the Pydantic AI Gateway. Its popularity ranks first of 194 in the registry.

Strengths

  • Intelligence index 77.4, 10th of 114, against a median of 59.5
  • Blended price $0.26 per million tokens, far below the $1.01 median
  • ARC-AGI-2 at 78.1%, 21st of 68, against a median of 61.3%
  • APEX-Agents at 69.8%, 10th of 60, against a median of 54.3%

Weaknesses

  • SimpleQA Verified at 42.5%, 46th of 76, just below the 46.5% median
  • FrontierMath at 71.2%, 32nd of 80, below the 64.6% median
  • Knowledge cutoff of May 2025 is well before its October 2026 release

Best for

Cost-sensitive agents that need strong reasoning, tool calling, long context and image input at low volume or high throughput.

One key, every model

Pydantic AI Gateway gives you the models marked with a single API key, spending limits and Logfire tracing. Bring your own key for the rest.

Start free  Read the docs