Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash 1017 vs GPT-5.1-Codex

DeepSeek V4.1 Flash 1017 leads GPT-5.1-Codex on coding, 70.3 to 15.3 on the Vibe Coding Index, and DeepSeek V4.1 Flash 1017 costs 16.7x less per output token ($0.60 vs $10.00 per million). Updated October 22, 2026; 12 benchmarks have a result for both.

DeepSeek V4.1 Flash 1017DeepSeek
Coding
70.3
Overall
67.6
Output $/M
$0.60
12
GPT-5.1-CodexOpenAI
Coding
15.3
Overall
No data
Output $/M
$10.00
0
vs boards won of 12 shared

DeepSeek V4.1 Flash 1017 or GPT-5.1-Codex: which to pick

Pick DeepSeek V4.1 Flash 1017 for coding: it scores 70.3 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex.

GPT-5.1-Codex is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Shared results
12
DeepSeek V4.1 Flash 1017 only
27
GPT-5.1-Codex only
14
Like-for-like categories
5 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
DeepSeek V4.1 Flash 1017 70.3 from 4 benchmarks, GPT-5.1-Codex 15.3 from 2 benchmarks.
Widest category
Coding, 44.1 points apart on average over 4 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): DeepSeek V4.1 Flash 1017 87.7% against GPT-5.1-Codex 13.1%, 74.6 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash 1017 $0.60 against GPT-5.1-Codex $10.00 per million output tokens, 16.7x apart.
Context window
DeepSeek V4.1 Flash 1017 takes 1.05M tokens, GPT-5.1-Codex 400K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryDeepSeek V4.1 Flash 1017BarsGPT-5.1-CodexTies
Coding40
Intelligence10
Reasoning10
Web design50
General10
All shared boards120
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for DeepSeek V4.1 Flash 1017 and GPT-5.1-Codex
BenchmarkDeepSeek V4.1 Flash 1017GPT-5.1-CodexLeader
SWE-bench VerifiedNot measured66.0%Only GPT-5.1-Codex measured
LiveBench coding96.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena WebDev16641337DeepSeek V4.1 Flash 1017
LiveCodeBench (Vals AI)Not measured85.5%Only GPT-5.1-Codex measured
Terminal-Bench 4 (Vals AI)31.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Vibe Code Bench (Vals AI)87.7%13.1%DeepSeek V4.1 Flash 1017
Code migration (Vals AI)44.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveCodeBench (Artificial Analysis run)Not measured84.9%Only GPT-5.1-Codex measured
SciCode55.9%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured34.8%Only GPT-5.1-Codex measured
Terminal-BenchNot measured57.8%Only GPT-5.1-Codex measured
ALE-Bench1622.01244.9DeepSeek V4.1 Flash 1017
LMArena WebDev: React1667Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena WebDev: HTML16871346DeepSeek V4.1 Flash 1017
Neither model has a result on the other 25 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for DeepSeek V4.1 Flash 1017 and GPT-5.1-Codex
BenchmarkDeepSeek V4.1 Flash 1017GPT-5.1-CodexLeader
AA Intelligence Index39.523.7DeepSeek V4.1 Flash 1017
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
Agentic work benchmarks for DeepSeek V4.1 Flash 1017 and GPT-5.1-Codex
BenchmarkDeepSeek V4.1 Flash 1017GPT-5.1-CodexLeader
Design Arena: agents building web appsNot measured1018Only GPT-5.1-Codex measured
Design Arena: agents building full-stack appsNot measured1086Only GPT-5.1-Codex measured
Design Arena: agents building mobile appsNot measured1191Only GPT-5.1-Codex measured
Design Arena: spreadsheets1245Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench research79.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench browser76.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench long agentic50.9%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Finance Agent (Vals AI)57.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Tax Agent Bench (Vals AI)44.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Legal Research Bench (Vals AI)45.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Harvey's Legal Agent Benchmark (Vals AI)14.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Excel Modeling Benchmark (Vals AI)61.8%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
τ²-Bench TelecomNot measured83.0%Only GPT-5.1-Codex measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index10
Reasoning benchmarks for DeepSeek V4.1 Flash 1017 and GPT-5.1-Codex
BenchmarkDeepSeek V4.1 Flash 1017GPT-5.1-CodexLeader
LiveBench reasoning89.1%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GPQA Diamond (Artificial Analysis run)Not measured86.0%Only GPT-5.1-Codex measured
Humanity's Last Exam (Artificial Analysis run)43.3%25.7%DeepSeek V4.1 Flash 1017
GPQA Diamond (Epoch AI run)93.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Chess puzzles46.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Mystery game puzzles49.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 16 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Math benchmarks for DeepSeek V4.1 Flash 1017 and GPT-5.1-Codex
BenchmarkDeepSeek V4.1 Flash 1017GPT-5.1-CodexLeader
AA Math IndexNot measured95.7Only GPT-5.1-Codex measured
AIME 2025 (Artificial Analysis run)Not measured95.7%Only GPT-5.1-Codex measured
OTIS Mock AIME99.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
FrontierMath, tiers 1 to 371.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
FrontierMath, tier 446.3%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 8 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Knowledge benchmarks for DeepSeek V4.1 Flash 1017 and GPT-5.1-Codex
BenchmarkDeepSeek V4.1 Flash 1017GPT-5.1-CodexLeader
MMLU Pro (Artificial Analysis run)Not measured86.0%Only GPT-5.1-Codex measured
SimpleQA Verified42.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 16 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index50
Web design benchmarks for DeepSeek V4.1 Flash 1017 and GPT-5.1-Codex
BenchmarkDeepSeek V4.1 Flash 1017GPT-5.1-CodexLeader
Design Arena: websites13111161DeepSeek V4.1 Flash 1017
Design Arena: UI components13031234DeepSeek V4.1 Flash 1017
Design Arena: game dev13571137DeepSeek V4.1 Flash 1017
Design Arena: data viz13301213DeepSeek V4.1 Flash 1017
Design Arena: 3D1358Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Design Arena: all code categories13321152DeepSeek V4.1 Flash 1017
Design Arena: ASCII art1242Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench design83.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
General benchmarks for DeepSeek V4.1 Flash 1017 and GPT-5.1-Codex
BenchmarkDeepSeek V4.1 Flash 1017GPT-5.1-CodexLeader
Vals Index61.3%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench data analysis79.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
IFBenchNot measured70.0%Only GPT-5.1-Codex measured
Long context reasoning (AA-LCR)82.7%69.3%DeepSeek V4.1 Flash 1017
Neither model has a result on the other 42 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for DeepSeek V4.1 Flash 1017 and GPT-5.1-Codex
BenchmarkDeepSeek V4.1 Flash 1017GPT-5.1-CodexLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

DeepSeek V4.1 Flash 1017$0.0004Fits in one request
GPT-5.1-Codex$0.0063Fits in one request

DeepSeek V4.1 Flash 1017 costs less

Repository review

50K input + 3K output tokens

DeepSeek V4.1 Flash 1017$0.0093Fits in one request
GPT-5.1-Codex$0.092Fits in one request

DeepSeek V4.1 Flash 1017 costs less

Agent loop

200K input + 10K output tokens

DeepSeek V4.1 Flash 1017$0.036Fits in one request
GPT-5.1-Codex$0.350Fits in one request

DeepSeek V4.1 Flash 1017 costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of DeepSeek V4.1 Flash 1017 and GPT-5.1-Codex
SpecificationDeepSeek V4.1 Flash 1017OpenAI GPT-5.1-Codex
MakerDeepSeekOpenAI
WeightsOpen weightsNo public weights listed
ReleasedOctober 17, 2026November 13, 2025
Context window1.05M400K
Input $/Mtok$0.15$1.25
Output $/Mtok$0.60$10.00
Coding index70.315.3
Independent measurements behind it42
Cost per solved taskNot computable$0.892
SourceOpenRouter listingOpenRouter listing

Questions

Is DeepSeek V4.1 Flash 1017 better than GPT-5.1-Codex for coding?

Pick DeepSeek V4.1 Flash 1017 for coding: it scores 70.3 on the Vibe Coding Index against 15.3 for GPT-5.1-Codex. GPT-5.1-Codex is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Which is cheaper, DeepSeek V4.1 Flash 1017 or GPT-5.1-Codex?

DeepSeek V4.1 Flash 1017 costs $0.15 per million input tokens and $0.60 per million output tokens; GPT-5.1-Codex costs $1.25 and $10.00. Cost per solved task is known for GPT-5.1-Codex only.

Which has the bigger context window, DeepSeek V4.1 Flash 1017 or GPT-5.1-Codex?

DeepSeek V4.1 Flash 1017, with 1.05M tokens against 400K.

How many benchmarks is the DeepSeek V4.1 Flash 1017 vs GPT-5.1-Codex comparison based on?

12 benchmarks have a result for both models as of October 22, 2026. DeepSeek V4.1 Flash 1017's coding index rests on 4 independent benchmarks and GPT-5.1-Codex's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/deepseek-v4-1-flash-1017-vs-gpt-5-1-codex" title="DeepSeek V4.1 Flash 1017 vs GPT-5.1-Codex, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/deepseek-v4-1-flash-1017-vs-gpt-5-1-codex">LLMBenchmark.ai, DeepSeek V4.1 Flash 1017 vs GPT-5.1-Codex</a></p>