Models / DeepSeek / DeepSeek V4.1 Flash
DeepSeek

DeepSeek V4.1 Flash

BYOKOpen weightsReleased 10 Sept 2026

Open-weights model from DeepSeek, priced far below the registry median, with a million-token context and strong math and abstract reasoning results. Weak on long professional agent tasks.

Read the full description ↓

Spec sheet

Family
DeepSeek
Released
10 Sept 20263 months ago
Weights
Open
Context window
1M tokens
Largest response
393k tokens
Accepts
text, image
Supports
tools, reasoning, structured output
Knowledge cutoff
May 2025
Intelligence index
62.8#43
Input price
$0.15 / 1M
Output price
$0.6 / 1M
Blended price (3:1)
$0.26 / 1M
Index points per $
239.2#11
Speed
123.5 tokens/sec#26
Popularity
#1 of 194by usage
Providers
5
Weights on
deepseek-ai/DeepSeek-V4.1-Flash

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
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 a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.

Compare

DeepSeek V4.1 FlashvsGPT-5.3-Codex
Intelligence index
205590$0.1$1$10GPT-5.3-Codex: 63 at $4.81 blendedDeepSeek V4.1 Flash: 62.8 at $0.26 blended
GPQA Diamond
5075100$0.1$1$10DeepSeek V4.1 Flash: 89.8% at $0.26 blended
OTIS Mock AIME
4070100$0.1$1$10DeepSeek V4.1 Flash: 98.3% at $0.26 blended
FrontierMath
1055100$0.1$1$10DeepSeek V4.1 Flash: 67.4% at $0.26 blended
ARC-AGI-2
050100$0.1$1$10DeepSeek V4.1 Flash: 72.9% at $0.26 blended
SimpleQA Verified
1055100$0.1$1$10DeepSeek V4.1 Flash: 42.9% at $0.26 blended
SWE-bench Verified
507090$0.1$1$10GPT-5.3-Codex: 74.8% at $4.81 blended
Terminal-Bench
04590$0.1$1$10GPT-5.3-Codex: 78.4% at $4.81 blended
SciCode
204570$0.1$1$10DeepSeek V4.1 Flash: 51.9% at $0.26 blended
WebDev Arena
122015251830$0.1$1$10GPT-5.3-Codex: 1369.9 at $4.81 blendedDeepSeek V4.1 Flash: 1614 at $0.26 blended
APEX-Agents
04590$0.1$1$10DeepSeek V4.1 Flash: 39.5% at $0.26 blended
LMArena text
128014101540$0.1$1$10DeepSeek V4.1 Flash: 1462.8 at $0.26 blended
Epoch Capabilities Index
120150180$0.1$1$10DeepSeek V4.1 Flash: 157 at $0.26 blended

Score against blended price per 1M tokens (log scale). DeepSeek V4.1 Flash   GPT-5.3-Codex   other models

Intelligence indexOur composite of the benchmarks below, 0-100
DeepSeek V4.1 Flash62.8
GPT-5.3-Codex63
GPQA DiamondGraduate-level science questions, multiple choice
DeepSeek V4.1 Flash89.8%
GPT-5.3-Codex–
OTIS Mock AIMECompetition mathematics problems with exact answers
DeepSeek V4.1 Flash98.3%
GPT-5.3-Codex–
FrontierMathOriginal research-level mathematics problems, tiers 1 to 3
DeepSeek V4.1 Flash67.4%
GPT-5.3-Codex–
ARC-AGI-2Abstract visual puzzles that test learning a new rule from a few examples
DeepSeek V4.1 Flash72.9%
GPT-5.3-Codex–
SimpleQA VerifiedShort factual questions answered from memory, without search
DeepSeek V4.1 Flash42.9%
GPT-5.3-Codex–
SWE-bench VerifiedReal GitHub issues resolved, run by Epoch with one fixed scaffold
DeepSeek V4.1 Flash–
GPT-5.3-Codex74.8%
Terminal-BenchTasks completed in a terminal; the best result of any agent using the model
DeepSeek V4.1 Flash–
GPT-5.3-Codex78.4%
SciCodeScientific programming problems written by researchers
DeepSeek V4.1 Flash51.9%
GPT-5.3-Codex–
WebDev ArenaRating from human votes on web apps the models built
DeepSeek V4.1 Flash1614
GPT-5.3-Codex1369.9
APEX-AgentsLong professional tasks (banking, consulting, law) passed on the first attempt
DeepSeek V4.1 Flash39.5%
GPT-5.3-Codex–
LMArena textRating from blind human votes between pairs of chat responses
DeepSeek V4.1 Flash1462.8
GPT-5.3-Codex–
Epoch Capabilities IndexEpoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index
DeepSeek V4.1 Flash157
GPT-5.3-Codex–
Input pricePer 1M tokens, lower is better
DeepSeek V4.1 Flash$0.15
GPT-5.3-Codex$1.75
Output pricePer 1M tokens, lower is better
DeepSeek V4.1 Flash$0.6
GPT-5.3-Codex$14
EfficiencyIndex points per blended $
DeepSeek V4.1 Flash239
GPT-5.3-Codex13
SpeedOutput tokens per second
DeepSeek V4.1 Flash123.5 t/s
GPT-5.3-Codex43.5 t/s
Context windowTokens
DeepSeek V4.1 Flash1M
GPT-5.3-Codex400k
Model stringFor Pydantic AI
DeepSeek V4.1 Flashgateway/doubleword:deepseek-ai/DeepSeek-V4.1-Flash
GPT-5.3-Codexgateway/openai:gpt-5.3-codex

About DeepSeek V4.1 Flash

Description written by an LLM from the data on this page

Open-weights model from DeepSeek, priced far below the registry median, with a million-token context and strong math and abstract reasoning results. Weak on long professional agent tasks.

DeepSeek V4.1 Flash is an open-weights model released in September 2026 that accepts text and image input. It has a context window of 1M tokens, can return up to 393k tokens in one response, and supports tool calling, reasoning mode and structured output. Its price is the main draw: $0.15 per million input tokens and $0.60 per million output tokens, a blended rate of $0.26 against a registry median of $1.01.

On benchmarks it is mostly above the registry median. It scores 98.3% on OTIS Mock AIME, 27th of 95, and 72.9% on ARC-AGI-2, 25th of 68. Its overall intelligence index of 62.8 places it 46th of 114, a little above median. It lags on APEX-Agents at 39.5%, 49th of 60, and on SimpleQA Verified at 42.9%, below the median of 46.5%.

Strengths

  • Blended price of $0.26 per million tokens, against a $1.01 median
  • 98.3% on OTIS Mock AIME, 27th of 95
  • 72.9% on ARC-AGI-2, 25th of 68
  • Intelligence per dollar ranks 11th of 194

Weaknesses

  • 39.5% on APEX-Agents, 49th of 60, well below the 54.3% median
  • 42.9% on SimpleQA Verified, 45th of 76, below the median
  • Intelligence index of 62.8 ranks 46th of 114, only slightly above median

Best for

Budget-conscious agents for math, reasoning and image-aware tasks; less suited to long professional workflows.

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