Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash 1017 vs Gemini 3.1 Pro Preview

DeepSeek V4.1 Flash 1017 leads Gemini 3.1 Pro Preview on coding, 70.3 to 32.3 on the Vibe Coding Index, and DeepSeek V4.1 Flash 1017 costs 20.0x less per output token ($0.60 vs $12.00 per million). Updated October 22, 2026; 29 benchmarks have a result for both.

DeepSeek V4.1 Flash 1017DeepSeek
Coding
70.3
Overall
67.6
Output $/M
$0.60
23
Gemini 3.1 Pro PreviewGoogle
Coding
32.3
Overall
54.0
Output $/M
$12.00
6
vs boards won of 29 shared

DeepSeek V4.1 Flash 1017 or Gemini 3.1 Pro Preview: which to pick

Pick DeepSeek V4.1 Flash 1017 for coding: it scores 70.3 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview.

Pick Gemini 3.1 Pro Preview for work measured by SciCode or Humanity's Last Exam (Artificial Analysis run), where it leads.

Shared results
29
DeepSeek V4.1 Flash 1017 only
10
Gemini 3.1 Pro Preview only
104
Like-for-like categories
8 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, Gemini 3.1 Pro Preview 32.3 from 4 benchmarks.
Widest category
Knowledge, 31.0 points apart on average over 1 shared benchmark.
Widest single gap
Vibe Code Bench (Vals AI): DeepSeek V4.1 Flash 1017 87.7% against Gemini 3.1 Pro Preview 32.0%, 55.7 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash 1017 $0.60 against Gemini 3.1 Pro Preview $12.00 per million output tokens, 20.0x apart.
Context window
Both take 1.05M tokens.

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 1017BarsGemini 3.1 Pro PreviewTies
Coding71
Intelligence10
Agentic work40
Reasoning13
Math30
Knowledge01
Web design61
General10
All shared boards236
CodingLike-for-likeSix of these boards feed the Vibe Coding Index71
Coding benchmarks for DeepSeek V4.1 Flash 1017 and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 Flash 1017Gemini 3.1 Pro PreviewLeader
LiveBench coding96.0%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LMArena WebDev16641447DeepSeek V4.1 Flash 1017
AA Coding IndexNot measured68.8Only Gemini 3.1 Pro Preview measured
LiveCodeBench (Vals AI)Not measured88.5%Only Gemini 3.1 Pro Preview measured
SWE-bench Verified (Vals AI)Not measured78.8%Only Gemini 3.1 Pro Preview measured
Terminal-Bench 4 (Vals AI)31.8%2.5%DeepSeek V4.1 Flash 1017
Vibe Code Bench (Vals AI)87.7%32.0%DeepSeek V4.1 Flash 1017
Code migration (Vals AI)44.2%17.3%DeepSeek V4.1 Flash 1017
ProgramBench (Vals AI)Not measured0.0%Only Gemini 3.1 Pro Preview measured
IOI (Vals AI)Not measured51.8%Only Gemini 3.1 Pro Preview measured
Terminal-Bench 2.1 (Vals AI)Not measured70.8%Only Gemini 3.1 Pro Preview measured
Vibe Code Bench 1-100 (Vals AI)Not measured6.7%Only Gemini 3.1 Pro Preview measured
SciCode55.9%58.7%Gemini 3.1 Pro Preview
Terminal-Bench Hard (Artificial Analysis run)Not measured53.8%Only Gemini 3.1 Pro Preview measured
Terminal-BenchNot measured80.2%Only Gemini 3.1 Pro Preview measured
GSO-BenchNot measured22.6%Only Gemini 3.1 Pro Preview measured
WeirdMLNot measured72.1%Only Gemini 3.1 Pro Preview measured
MirrorCodeNot measured8.9%Only Gemini 3.1 Pro Preview measured
ALE-Bench1622.01160.6DeepSeek V4.1 Flash 1017
LMArena Text: codingNot measured1484Only Gemini 3.1 Pro Preview measured
LMArena Text: software and ITNot measured1487Only Gemini 3.1 Pro Preview measured
LMArena WebDev: React16671438DeepSeek V4.1 Flash 1017
LMArena WebDev: HTML16871490DeepSeek V4.1 Flash 1017
LMArena WebDev: from an imageNot measured1481Only Gemini 3.1 Pro Preview measured
SciCodeNot measured14.3%Only Gemini 3.1 Pro Preview measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for DeepSeek V4.1 Flash 1017 and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 Flash 1017Gemini 3.1 Pro PreviewLeader
AA Intelligence Index39.529.7DeepSeek V4.1 Flash 1017
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index40
Agentic work benchmarks for DeepSeek V4.1 Flash 1017 and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 Flash 1017Gemini 3.1 Pro PreviewLeader
AA Agentic IndexNot measured8.2Only Gemini 3.1 Pro Preview measured
Design Arena: agents building web appsNot measured1125Only Gemini 3.1 Pro Preview measured
Design Arena: agents building full-stack appsNot measured1068Only Gemini 3.1 Pro Preview measured
Design Arena: agents building mobile appsNot measured1094Only Gemini 3.1 Pro Preview measured
Design Arena: agents building Android appsNot measured1049Only Gemini 3.1 Pro Preview measured
Design Arena: agents building Godot gamesNot measured1236Only Gemini 3.1 Pro Preview measured
Design Arena: agents building gamesNot measured1113Only Gemini 3.1 Pro Preview measured
Design Arena: HTML slidesNot measured1103Only Gemini 3.1 Pro Preview measured
Design Arena: PowerPoint slidesNot measured1041Only Gemini 3.1 Pro Preview 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
SREBench (Vals AI)Not measured0.0%Only Gemini 3.1 Pro Preview measured
Finance Agent (Vals AI)57.0%43.0%DeepSeek V4.1 Flash 1017
Tax Agent Bench (Vals AI)44.4%9.3%DeepSeek V4.1 Flash 1017
Legal Research Bench (Vals AI)45.2%20.7%DeepSeek V4.1 Flash 1017
Harvey's Legal Agent Benchmark (Vals AI)14.2%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Excel Modeling Benchmark (Vals AI)61.8%52.6%DeepSeek V4.1 Flash 1017
BioMysteryBench (Vals AI)Not measured60.0%Only Gemini 3.1 Pro Preview measured
Terminal-Bench-Science (Vals AI)Not measured1.4%Only Gemini 3.1 Pro Preview measured
Vals Science IndexNot measured27.4%Only Gemini 3.1 Pro Preview measured
τ²-Bench TelecomNot measured95.6%Only Gemini 3.1 Pro Preview measured
APEX-AgentsNot measured35.1%Only Gemini 3.1 Pro Preview measured
METR time horizonsNot measured77.0%Only Gemini 3.1 Pro Preview measured
BALROGNot measured57.0%Only Gemini 3.1 Pro Preview measured
DeepResearch BenchNot measured47.8%Only Gemini 3.1 Pro Preview measured
PostTrainBenchNot measured22.0%Only Gemini 3.1 Pro Preview measured
Vending-Bench 2Not measured$911Only Gemini 3.1 Pro Preview measured
Neither model has a result on the other 12 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index13
Reasoning benchmarks for DeepSeek V4.1 Flash 1017 and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 Flash 1017Gemini 3.1 Pro PreviewLeader
GPQA DiamondNot measured95.5%Only Gemini 3.1 Pro Preview measured
LiveBench reasoning89.1%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
MysteryMechanism (Vals AI)Not measured20.7%Only Gemini 3.1 Pro Preview measured
MMMU Pro (Vals AI)Not measured88.2%Only Gemini 3.1 Pro Preview measured
GPQA Diamond (Artificial Analysis run)Not measured94.1%Only Gemini 3.1 Pro Preview measured
Humanity's Last Exam (Artificial Analysis run)43.3%47.0%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)93.2%94.4%Gemini 3.1 Pro Preview
ARC-AGINot measured98.0%Only Gemini 3.1 Pro Preview measured
ARC-AGI-2Not measured77.1%Only Gemini 3.1 Pro Preview measured
SimpleBenchNot measured79.6%Only Gemini 3.1 Pro Preview measured
Chess puzzles46.0%51.0%Gemini 3.1 Pro Preview
Mystery game puzzles49.0%34.0%DeepSeek V4.1 Flash 1017
EBR-benchNot measured14.3%Only Gemini 3.1 Pro Preview measured
LMArena Text: hard promptsNot measured1485Only Gemini 3.1 Pro Preview measured
LMArena Text: expertNot measured1483Only Gemini 3.1 Pro Preview measured
LMArena Text: hard prompts in EnglishNot measured1480Only Gemini 3.1 Pro Preview measured
LMArena Vision: diagramsNot measured1311Only Gemini 3.1 Pro Preview measured
LMArena Vision: homeworkNot measured1316Only Gemini 3.1 Pro Preview measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for DeepSeek V4.1 Flash 1017 and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 Flash 1017Gemini 3.1 Pro PreviewLeader
AIMENot measured98.1%Only Gemini 3.1 Pro Preview measured
OTIS Mock AIME99.4%95.6%DeepSeek V4.1 Flash 1017
FrontierMath, tiers 1 to 371.2%59.6%DeepSeek V4.1 Flash 1017
FrontierMath, tier 446.3%26.8%DeepSeek V4.1 Flash 1017
ProofBenchNot measured26.0%Only Gemini 3.1 Pro Preview measured
LMArena Text: mathNot measured1486Only Gemini 3.1 Pro Preview measured
LMArena Text: mathematical workNot measured1478Only Gemini 3.1 Pro Preview measured
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
Knowledge benchmarks for DeepSeek V4.1 Flash 1017 and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 Flash 1017Gemini 3.1 Pro PreviewLeader
MMLU ProNot measured91.0%Only Gemini 3.1 Pro Preview measured
LegalBench (Vals AI)Not measured87.4%Only Gemini 3.1 Pro Preview measured
CaseLaw (Vals AI)Not measured64.8%Only Gemini 3.1 Pro Preview measured
CorpFin (Vals AI)Not measured64.5%Only Gemini 3.1 Pro Preview measured
TaxEval (Vals AI)Not measured72.9%Only Gemini 3.1 Pro Preview measured
MortgageTax (Vals AI)Not measured69.4%Only Gemini 3.1 Pro Preview measured
MedQA (Vals AI)Not measured96.4%Only Gemini 3.1 Pro Preview measured
MedCode (Vals AI)Not measured59.1%Only Gemini 3.1 Pro Preview measured
SimpleQA Verified42.5%73.5%Gemini 3.1 Pro Preview
LMArena Text: scienceNot measured1497Only Gemini 3.1 Pro Preview measured
LMArena Text: medicine and healthcareNot measured1486Only Gemini 3.1 Pro Preview measured
LMArena Text: legal and governmentNot measured1487Only Gemini 3.1 Pro Preview measured
LMArena Text: business and financeNot measured1459Only Gemini 3.1 Pro Preview measured
FACTS Benchmark SuiteNot measured67.4%Only Gemini 3.1 Pro Preview measured
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index61
Web design benchmarks for DeepSeek V4.1 Flash 1017 and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 Flash 1017Gemini 3.1 Pro PreviewLeader
Design Arena: websites13111233DeepSeek V4.1 Flash 1017
Design Arena: UI components13031224DeepSeek V4.1 Flash 1017
Design Arena: game dev13571202DeepSeek V4.1 Flash 1017
Design Arena: data viz13301209DeepSeek V4.1 Flash 1017
Design Arena: 3D13581234DeepSeek V4.1 Flash 1017
Design Arena: all code categories13321231DeepSeek V4.1 Flash 1017
Design Arena: SVGNot measured1285Only Gemini 3.1 Pro Preview measured
Design Arena: ASCII art12421270Gemini 3.1 Pro Preview
LiveBench design83.4%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
General benchmarks for DeepSeek V4.1 Flash 1017 and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 Flash 1017Gemini 3.1 Pro PreviewLeader
Vals Index61.3%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
LiveBench data analysis79.5%Not measuredOnly DeepSeek V4.1 Flash 1017 measured
Public Benefits Bench (Vals AI)Not measured53.8%Only Gemini 3.1 Pro Preview measured
SAGE (Vals AI)Not measured48.7%Only Gemini 3.1 Pro Preview measured
MedScribe (Vals AI)Not measured76.1%Only Gemini 3.1 Pro Preview measured
Vals Multimodal IndexNot measured56.1%Only Gemini 3.1 Pro Preview measured
IFBenchNot measured77.1%Only Gemini 3.1 Pro Preview measured
Long context reasoning (AA-LCR)82.7%82.0%DeepSeek V4.1 Flash 1017
DTBenchNot measured97.1%Only Gemini 3.1 Pro Preview measured
LMCANot measured53.8%Only Gemini 3.1 Pro Preview measured
CL-benchNot measured20.8%Only Gemini 3.1 Pro Preview measured
Furniture assemblyNot measured26.7%Only Gemini 3.1 Pro Preview measured
ExploitBenchNot measured26.1%Only Gemini 3.1 Pro Preview measured
CL-bench LifeNot measured16.9%Only Gemini 3.1 Pro Preview measured
LMArena TextNot measured1480Only Gemini 3.1 Pro Preview measured
LMArena Text: instruction followingNot measured1466Only Gemini 3.1 Pro Preview measured
LMArena Text: creative writingNot measured1482Only Gemini 3.1 Pro Preview measured
LMArena VisionNot measured1296Only Gemini 3.1 Pro Preview measured
LMArena Text: EnglishNot measured1478Only Gemini 3.1 Pro Preview measured
LMArena Text: non-EnglishNot measured1476Only Gemini 3.1 Pro Preview measured
LMArena Text: ChineseNot measured1527Only Gemini 3.1 Pro Preview measured
LMArena Text: GermanNot measured1490Only Gemini 3.1 Pro Preview measured
LMArena Text: JapaneseNot measured1491Only Gemini 3.1 Pro Preview measured
LMArena Text: KoreanNot measured1455Only Gemini 3.1 Pro Preview measured
LMArena Text: FrenchNot measured1487Only Gemini 3.1 Pro Preview measured
LMArena Text: SpanishNot measured1481Only Gemini 3.1 Pro Preview measured
LMArena Text: RussianNot measured1497Only Gemini 3.1 Pro Preview measured
LMArena Text: PolishNot measured1498Only Gemini 3.1 Pro Preview measured
LMArena Text: multi-turnNot measured1487Only Gemini 3.1 Pro Preview measured
LMArena Text: longer queriesNot measured1482Only Gemini 3.1 Pro Preview measured
LMArena Text: writing and languageNot measured1481Only Gemini 3.1 Pro Preview measured
LMArena Text: entertainment and mediaNot measured1465Only Gemini 3.1 Pro Preview measured
LMArena Vision: EnglishNot measured1287Only Gemini 3.1 Pro Preview measured
LMArena Vision: ChineseNot measured1364Only Gemini 3.1 Pro Preview measured
LMArena Vision: reading textNot measured1304Only Gemini 3.1 Pro Preview measured
LMArena Vision: humorNot measured1322Only Gemini 3.1 Pro Preview measured
LMArena Vision: captioningNot measured1345Only Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing thingsNot measured1330Only Gemini 3.1 Pro Preview measured
LMArena Vision: creative writingNot measured1324Only Gemini 3.1 Pro Preview measured
LMArena DocumentNot measured1444Only Gemini 3.1 Pro Preview measured
Neither model has a result on the other 6 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 Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 Flash 1017Gemini 3.1 Pro PreviewLeader
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
Gemini 3.1 Pro Preview$0.0080Fits 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
Gemini 3.1 Pro Preview$0.136Fits 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
Gemini 3.1 Pro Preview$0.520Fits 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 Gemini 3.1 Pro Preview
SpecificationDeepSeek V4.1 Flash 1017Google Gemini 3.1 Pro Preview
MakerDeepSeekGoogle
WeightsOpen weightsNo public weights listed
ReleasedOctober 17, 2026February 19, 2026
Context window1.05M1.05M
Input $/Mtok$0.15$2.00
Output $/Mtok$0.60$12.00
Coding index70.332.3
Independent measurements behind it44
Cost per solved taskNot computable$0.99
SourceOpenRouter listingOpenRouter listing

Questions

Is DeepSeek V4.1 Flash 1017 better than Gemini 3.1 Pro Preview for coding?

Pick DeepSeek V4.1 Flash 1017 for coding: it scores 70.3 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview for work measured by SciCode or Humanity's Last Exam (Artificial Analysis run), where it leads.

Which is cheaper, DeepSeek V4.1 Flash 1017 or Gemini 3.1 Pro Preview?

DeepSeek V4.1 Flash 1017 costs $0.15 per million input tokens and $0.60 per million output tokens; Gemini 3.1 Pro Preview costs $2.00 and $12.00. Cost per solved task is known for Gemini 3.1 Pro Preview only.

Which has the bigger context window, DeepSeek V4.1 Flash 1017 or Gemini 3.1 Pro Preview?

Neither: both take 1.05M tokens.

How many benchmarks is the DeepSeek V4.1 Flash 1017 vs Gemini 3.1 Pro Preview comparison based on?

29 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 Gemini 3.1 Pro Preview's on 4. 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-gemini-3-1-pro-preview" title="DeepSeek V4.1 Flash 1017 vs Gemini 3.1 Pro Preview, 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-gemini-3-1-pro-preview">LLMBenchmark.ai, DeepSeek V4.1 Flash 1017 vs Gemini 3.1 Pro Preview</a></p>