Enter opens the highlighted result. Esc closes.

DeepSeek V4.1 Flash vs Gemini 3.1 Pro Preview

DeepSeek V4.1 Flash leads Gemini 3.1 Pro Preview on coding, 62.5 to 32.3 on the Vibe Coding Index, and DeepSeek V4.1 Flash costs 15.4x less per output token ($0.78 vs $12.00 per million). Updated October 21, 2026; 88 benchmarks have a result for both.

DeepSeek V4.1 FlashDeepSeek
Coding
62.5
Overall
62.4
Output $/M
$0.78
41
Gemini 3.1 Pro PreviewGoogle
Coding
32.3
Overall
54.0
Output $/M
$12.00
46
vs boards won of 88 shared, 1 tied

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

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

Pick Gemini 3.1 Pro Preview for work measured by IOI (Vals AI) or SciCode, where it leads.

Shared results
88
DeepSeek V4.1 Flash only
13
Gemini 3.1 Pro Preview only
45
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 62.5 from 5 benchmarks, Gemini 3.1 Pro Preview 32.3 from 4 benchmarks.
Widest category
Coding, 15.5 points apart on average over 15 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): DeepSeek V4.1 Flash 84.7% against Gemini 3.1 Pro Preview 32.0%, 52.7 points apart on a 0 to 100 scale.
Output price
DeepSeek V4.1 Flash $0.78 against Gemini 3.1 Pro Preview $12.00 per million output tokens, 15.4x 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 FlashBarsGemini 3.1 Pro PreviewTies
Coding123
Intelligence01
Agentic work81
Reasoning48
Math411 tie
Knowledge16
Web design62
General624
All shared boards41461 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index123
Coding benchmarks for DeepSeek V4.1 Flash and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 FlashGemini 3.1 Pro PreviewLeader
LiveBench coding90.2%Not measuredOnly DeepSeek V4.1 Flash measured
LMArena WebDev16181447DeepSeek V4.1 Flash
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)19.7%2.5%DeepSeek V4.1 Flash
Vibe Code Bench (Vals AI)84.7%32.0%DeepSeek V4.1 Flash
Code migration (Vals AI)45.6%17.3%DeepSeek V4.1 Flash
ProgramBench (Vals AI)0.5%0.0%DeepSeek V4.1 Flash
IOI (Vals AI)40.3%51.8%Gemini 3.1 Pro Preview
Terminal-Bench 2.1 (Vals AI)74.5%70.8%DeepSeek V4.1 Flash
SWE-bench Multimodal (Vals AI)46.5%Not measuredOnly DeepSeek V4.1 Flash measured
Vibe Code Bench 1-100 (Vals AI)16.4%6.7%DeepSeek V4.1 Flash
SkillsBench (Vals AI)69.8%Not measuredOnly DeepSeek V4.1 Flash measured
CyberBench (Vals AI)73.7%Not measuredOnly DeepSeek V4.1 Flash measured
SciCode51.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
FrontierCode43.9%Not measuredOnly DeepSeek V4.1 Flash 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-Bench1092.31160.6Gemini 3.1 Pro Preview
LMArena Text: coding15021484DeepSeek V4.1 Flash
LMArena Text: software and IT14961487DeepSeek V4.1 Flash
LMArena WebDev: React16281438DeepSeek V4.1 Flash
LMArena WebDev: HTML16121490DeepSeek V4.1 Flash
LMArena WebDev: from an image16061481DeepSeek V4.1 Flash
SciCodeNot measured14.3%Only Gemini 3.1 Pro Preview measured
Neither model has a result on the other 10 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for DeepSeek V4.1 Flash and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 FlashGemini 3.1 Pro PreviewLeader
AA Intelligence Index24.729.7Gemini 3.1 Pro Preview
Epoch Capabilities Index155.9Not measuredOnly DeepSeek V4.1 Flash measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index81
Agentic work benchmarks for DeepSeek V4.1 Flash and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 FlashGemini 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 measured1093Only Gemini 3.1 Pro Preview measured
Design Arena: agents building Android appsNot measured1048Only Gemini 3.1 Pro Preview measured
Design Arena: agents building Godot gamesNot measured1236Only Gemini 3.1 Pro Preview measured
Design Arena: agents building gamesNot measured1114Only Gemini 3.1 Pro Preview measured
Design Arena: HTML slidesNot measured1153Only Gemini 3.1 Pro Preview measured
Design Arena: PowerPoint slidesNot measured1066Only Gemini 3.1 Pro Preview measured
LiveBench research86.8%Not measuredOnly DeepSeek V4.1 Flash measured
LiveBench browser84.0%Not measuredOnly DeepSeek V4.1 Flash measured
LiveBench long agentic40.1%Not measuredOnly DeepSeek V4.1 Flash measured
SREBench (Vals AI)0.8%0.0%DeepSeek V4.1 Flash
Finance Agent (Vals AI)53.5%43.0%DeepSeek V4.1 Flash
Tax Agent Bench (Vals AI)26.6%9.3%DeepSeek V4.1 Flash
Legal Research Bench (Vals AI)41.4%20.7%DeepSeek V4.1 Flash
Excel Modeling Benchmark (Vals AI)57.2%52.6%DeepSeek V4.1 Flash
BioMysteryBench (Vals AI)67.8%60.0%DeepSeek V4.1 Flash
Terminal-Bench-Science (Vals AI)0.0%1.4%Gemini 3.1 Pro Preview
Vals Science Index29.6%27.4%DeepSeek V4.1 Flash
τ²-Bench TelecomNot measured95.6%Only Gemini 3.1 Pro Preview measured
APEX-Agents39.5%35.1%DeepSeek V4.1 Flash
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 14 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index48
Reasoning benchmarks for DeepSeek V4.1 Flash and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 FlashGemini 3.1 Pro PreviewLeader
GPQA DiamondNot measured95.5%Only Gemini 3.1 Pro Preview measured
LiveBench reasoning86.7%Not measuredOnly DeepSeek V4.1 Flash measured
MysteryMechanism (Vals AI)21.2%20.7%DeepSeek V4.1 Flash
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)39.2%47.0%Gemini 3.1 Pro Preview
GPQA Diamond (Epoch AI run)89.8%94.4%Gemini 3.1 Pro Preview
ARC-AGI94.5%98.0%Gemini 3.1 Pro Preview
ARC-AGI-272.9%77.1%Gemini 3.1 Pro Preview
SimpleBenchNot measured79.6%Only Gemini 3.1 Pro Preview measured
Chess puzzles48.0%51.0%Gemini 3.1 Pro Preview
Mystery game puzzles43.0%34.0%DeepSeek V4.1 Flash
EBR-benchNot measured14.3%Only Gemini 3.1 Pro Preview measured
LMArena Text: hard prompts14831485Gemini 3.1 Pro Preview
LMArena Text: expert15011483DeepSeek V4.1 Flash
LMArena Text: hard prompts in English14881480DeepSeek V4.1 Flash
LMArena Vision: diagrams12971311Gemini 3.1 Pro Preview
LMArena Vision: homework13071316Gemini 3.1 Pro Preview
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index41
Math benchmarks for DeepSeek V4.1 Flash and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 FlashGemini 3.1 Pro PreviewLeader
AIMENot measured98.1%Only Gemini 3.1 Pro Preview measured
OTIS Mock AIME98.3%95.6%DeepSeek V4.1 Flash
FrontierMath, tiers 1 to 367.4%59.6%DeepSeek V4.1 Flash
FrontierMath, tier 426.8%26.8%Tie
ProofBench54.0%26.0%DeepSeek V4.1 Flash
LMArena Text: math14781486Gemini 3.1 Pro Preview
LMArena Text: mathematical work14851478DeepSeek V4.1 Flash
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index16
Knowledge benchmarks for DeepSeek V4.1 Flash and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 FlashGemini 3.1 Pro PreviewLeader
MMLU ProNot measured91.0%Only Gemini 3.1 Pro Preview measured
LegalBench (Vals AI)83.3%87.4%Gemini 3.1 Pro Preview
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)41.2%59.1%Gemini 3.1 Pro Preview
SimpleQA Verified42.9%73.5%Gemini 3.1 Pro Preview
LMArena Text: science14691497Gemini 3.1 Pro Preview
LMArena Text: medicine and healthcare14841486Gemini 3.1 Pro Preview
LMArena Text: legal and government14431487Gemini 3.1 Pro Preview
LMArena Text: business and finance14611459DeepSeek V4.1 Flash
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 index62
Web design benchmarks for DeepSeek V4.1 Flash and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 FlashGemini 3.1 Pro PreviewLeader
Design Arena: websites13091234DeepSeek V4.1 Flash
Design Arena: UI components13151227DeepSeek V4.1 Flash
Design Arena: game dev13301203DeepSeek V4.1 Flash
Design Arena: data viz12901209DeepSeek V4.1 Flash
Design Arena: 3D13561234DeepSeek V4.1 Flash
Design Arena: all code categories13201231DeepSeek V4.1 Flash
Design Arena: SVG12441285Gemini 3.1 Pro Preview
Design Arena: ASCII art12651270Gemini 3.1 Pro Preview
LiveBench design79.2%Not measuredOnly DeepSeek V4.1 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index624
General benchmarks for DeepSeek V4.1 Flash and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 FlashGemini 3.1 Pro PreviewLeader
LiveBench data analysis79.3%Not measuredOnly DeepSeek V4.1 Flash measured
Public Benefits Bench (Vals AI)64.3%53.8%DeepSeek V4.1 Flash
SAGE (Vals AI)47.9%48.7%Gemini 3.1 Pro Preview
MedScribe (Vals AI)85.5%76.1%DeepSeek V4.1 Flash
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)84.0%82.0%DeepSeek V4.1 Flash
DTBench89.9%97.1%Gemini 3.1 Pro Preview
LMCA47.0%53.8%Gemini 3.1 Pro Preview
CL-benchNot measured20.8%Only Gemini 3.1 Pro Preview measured
Surface Evolver Bench46.3%Not measuredOnly DeepSeek V4.1 Flash measured
Furniture assembly34.2%26.7%DeepSeek V4.1 Flash
ExploitBenchNot measured26.1%Only Gemini 3.1 Pro Preview measured
CL-bench LifeNot measured16.9%Only Gemini 3.1 Pro Preview measured
LMArena Text14641480Gemini 3.1 Pro Preview
LMArena Text: instruction following14731466DeepSeek V4.1 Flash
LMArena Text: creative writing14371482Gemini 3.1 Pro Preview
LMArena Vision12781296Gemini 3.1 Pro Preview
LMArena Text: English14731478Gemini 3.1 Pro Preview
LMArena Text: non-English14491476Gemini 3.1 Pro Preview
LMArena Text: Chinese15011527Gemini 3.1 Pro Preview
LMArena Text: German14701490Gemini 3.1 Pro Preview
LMArena Text: Japanese14321491Gemini 3.1 Pro Preview
LMArena Text: Korean14361455Gemini 3.1 Pro Preview
LMArena Text: French14651487Gemini 3.1 Pro Preview
LMArena Text: Spanish14591481Gemini 3.1 Pro Preview
LMArena Text: Russian14671497Gemini 3.1 Pro Preview
LMArena Text: Polish14571498Gemini 3.1 Pro Preview
LMArena Text: multi-turn14611487Gemini 3.1 Pro Preview
LMArena Text: longer queries14731482Gemini 3.1 Pro Preview
LMArena Text: writing and language14501481Gemini 3.1 Pro Preview
LMArena Text: entertainment and media14451465Gemini 3.1 Pro Preview
LMArena Vision: English12881287DeepSeek V4.1 Flash
LMArena Vision: Chinese13271364Gemini 3.1 Pro Preview
LMArena Vision: reading text12821304Gemini 3.1 Pro Preview
LMArena Vision: humor12601322Gemini 3.1 Pro Preview
LMArena Vision: captioningNot measured1345Only Gemini 3.1 Pro Preview measured
LMArena Vision: recognizing thingsNot measured1330Only Gemini 3.1 Pro Preview measured
LMArena Vision: creative writing12751324Gemini 3.1 Pro Preview
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 and Gemini 3.1 Pro Preview
BenchmarkDeepSeek V4.1 FlashGemini 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$0.0006Fits in one request
Gemini 3.1 Pro Preview$0.0080Fits in one request

DeepSeek V4.1 Flash costs less

Repository review

50K input + 3K output tokens

DeepSeek V4.1 Flash$0.013Fits in one request
Gemini 3.1 Pro Preview$0.136Fits in one request

DeepSeek V4.1 Flash costs less

Agent loop

200K input + 10K output tokens

DeepSeek V4.1 Flash$0.050Fits in one request
Gemini 3.1 Pro Preview$0.520Fits in one request

DeepSeek V4.1 Flash 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 and Gemini 3.1 Pro Preview
SpecificationDeepSeek V4.1 FlashGoogle Gemini 3.1 Pro Preview
MakerDeepSeekGoogle
WeightsOpen weightsNo public weights listed
ReleasedSeptember 10, 2026February 19, 2026
Context window1.05M1.05M
Input $/Mtok$0.21$2.00
Output $/Mtok$0.78$12.00
Coding index62.532.3
Independent measurements behind it54
Cost per solved taskNot computable$0.99
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick DeepSeek V4.1 Flash for coding: it scores 62.5 on the Vibe Coding Index against 32.3 for Gemini 3.1 Pro Preview. Pick Gemini 3.1 Pro Preview for work measured by IOI (Vals AI) or SciCode, where it leads.

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

DeepSeek V4.1 Flash costs $0.21 per million input tokens and $0.78 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 or Gemini 3.1 Pro Preview?

Neither: both take 1.05M tokens.

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

88 benchmarks have a result for both models as of October 21, 2026. DeepSeek V4.1 Flash's coding index rests on 5 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-vs-gemini-3-1-pro-preview" title="DeepSeek V4.1 Flash 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-vs-gemini-3-1-pro-preview">LLMBenchmark.ai, DeepSeek V4.1 Flash vs Gemini 3.1 Pro Preview</a></p>