DeepSeek V4.1 Flash 1017 vs Gemma 3 4B
DeepSeek V4.1 Flash 1017 leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 39.5 to 4.8, and Gemma 3 4B costs 8.0x less per output token ($0.075 vs $0.60 per million). Updated October 21, 2026; 5 benchmarks have a result for both.
DeepSeek V4.1 Flash 1017 or Gemma 3 4B: which to pick
Only DeepSeek V4.1 Flash 1017 has a coding score, 70.3 on the Vibe Coding Index; Gemma 3 4B has none, so the two cannot be ranked on coding.
Pick Gemma 3 4B for output tokens 8.0x cheaper ($0.075 vs $0.60 per million).
- Shared results
- 5
- DeepSeek V4.1 Flash 1017 only
- 34
- Gemma 3 4B only
- 37
- Like-for-like categories
- 4 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Only DeepSeek V4.1 Flash 1017 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
DeepSeek V4.1 Flash 1017
DeepSeek V4.1 Flash 1017 leads, 39.5 against 4.8.
Same board, both measured
Web design
Design Arena: websites
No call
Only DeepSeek V4.1 Flash 1017 has a Design Arena: websites result, 1312.
Directional only
General
Vals Index
No call
Only DeepSeek V4.1 Flash 1017 has a Vals Index result, 61.3%.
Directional only
Long documents
Listed context window
DeepSeek V4.1 Flash 1017
DeepSeek V4.1 Flash 1017 takes 1.05M tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 3 4B
DeepSeek V4.1 Flash 1017 $0.0004, Gemma 3 4B $0.0001 per turn.
List prices
At a glance
- Coding index
- DeepSeek V4.1 Flash 1017 70.3 from 4 benchmarks, Gemma 3 4B not benchmarked.
- Widest category
- Math, 91.9 points apart on average over 1 shared benchmark.
- Widest single gap
- OTIS Mock AIME: DeepSeek V4.1 Flash 1017 99.4% against Gemma 3 4B 7.5%, 91.9 points apart on a 0 to 100 scale.
- Output price
- DeepSeek V4.1 Flash 1017 $0.60 against Gemma 3 4B $0.075 per million output tokens, 8.0x apart.
- Context window
- DeepSeek V4.1 Flash 1017 takes 1.05M tokens, Gemma 3 4B 131K.
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.
| Category | DeepSeek V4.1 Flash 1017 | Bars | Gemma 3 4B | Ties |
|---|---|---|---|---|
| Intelligence | 1 | 0 | ||
| Reasoning | 2 | 0 | ||
| Math | 1 | 0 | ||
| General | 1 | 0 | ||
| All shared boards | 5 | 0 |
CodingDirectional onlySix of these boards feed the Vibe Coding Index15 boards, none shared
| Benchmark | DeepSeek V4.1 Flash 1017 | Gemma 3 4B | Leader |
|---|---|---|---|
| LiveBench coding | 96.0% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LMArena WebDev | 1664 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| AA Coding Index | Not measured | 2.7 | Only Gemma 3 4B measured |
| Terminal-Bench 4 (Vals AI) | 31.8% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Vibe Code Bench (Vals AI) | 87.7% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Code migration (Vals AI) | 44.2% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 11.2% | Only Gemma 3 4B measured |
| SciCode | 55.9% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 0.8% | Only Gemma 3 4B measured |
| ALE-Bench | 1622.0 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LMArena Text: coding | Not measured | 1230 | Only Gemma 3 4B measured |
| LMArena Text: software and IT | Not measured | 1269 | Only Gemma 3 4B measured |
| LMArena WebDev: React | 1667 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LMArena WebDev: HTML | 1687 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| SciCode | Not measured | 0.0% | Only Gemma 3 4B measured |
| Neither model has a result on the other 24 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | DeepSeek V4.1 Flash 1017 | Gemma 3 4B | Leader |
|---|---|---|---|
| AA Intelligence Index | 39.5 | 4.8 | DeepSeek V4.1 Flash 1017 |
| Epoch Capabilities Index | Not measured | 115.9 | Only Gemma 3 4B measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
| Benchmark | DeepSeek V4.1 Flash 1017 | Gemma 3 4B | Leader |
|---|---|---|---|
| Design Arena: spreadsheets | 1230 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LiveBench research | 79.5% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LiveBench browser | 76.0% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LiveBench long agentic | 50.9% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Finance Agent (Vals AI) | 57.0% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Tax Agent Bench (Vals AI) | 44.4% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Legal Research Bench (Vals AI) | 45.2% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Harvey's Legal Agent Benchmark (Vals AI) | 14.2% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Excel Modeling Benchmark (Vals AI) | 61.8% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| τ²-Bench Telecom | Not measured | 5.0% | Only Gemma 3 4B measured |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 19.6% | Only Gemma 3 4B measured |
| Neither model has a result on the other 30 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | DeepSeek V4.1 Flash 1017 | Gemma 3 4B | Leader |
|---|---|---|---|
| LiveBench reasoning | 89.1% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 29.1% | Only Gemma 3 4B measured |
| Humanity's Last Exam (Artificial Analysis run) | 43.3% | 5.3% | DeepSeek V4.1 Flash 1017 |
| GPQA Diamond (Epoch AI run) | 93.2% | 23.2% | DeepSeek V4.1 Flash 1017 |
| Chess puzzles | 46.0% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Mystery game puzzles | 49.0% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LMArena Text: hard prompts | Not measured | 1253 | Only Gemma 3 4B measured |
| LMArena Text: expert | Not measured | 1223 | Only Gemma 3 4B measured |
| LMArena Text: hard prompts in English | Not measured | 1253 | Only Gemma 3 4B measured |
| Kagi LLM Benchmark | Not measured | 25.2% | Only Gemma 3 4B measured |
| Neither model has a result on the other 12 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | DeepSeek V4.1 Flash 1017 | Gemma 3 4B | Leader |
|---|---|---|---|
| AA Math Index | Not measured | 12.7 | Only Gemma 3 4B measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 12.7% | Only Gemma 3 4B measured |
| OTIS Mock AIME | 99.4% | 7.5% | DeepSeek V4.1 Flash 1017 |
| FrontierMath, tiers 1 to 3 | 71.2% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| FrontierMath, tier 4 | 46.3% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LMArena Text: math | Not measured | 1239 | Only Gemma 3 4B measured |
| LMArena Text: mathematical work | Not measured | 1256 | Only Gemma 3 4B measured |
| Neither model has a result on the other 6 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
| Benchmark | DeepSeek V4.1 Flash 1017 | Gemma 3 4B | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | Not measured | 41.7% | Only Gemma 3 4B measured |
| SimpleQA Verified | 42.5% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LMArena Text: science | Not measured | 1306 | Only Gemma 3 4B measured |
| LMArena Text: medicine and healthcare | Not measured | 1342 | Only Gemma 3 4B measured |
| LMArena Text: legal and government | Not measured | 1327 | Only Gemma 3 4B measured |
| LMArena Text: business and finance | Not measured | 1311 | Only Gemma 3 4B measured |
| Neither model has a result on the other 12 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | DeepSeek V4.1 Flash 1017 | Gemma 3 4B | Leader |
|---|---|---|---|
| Design Arena: websites | 1312 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Design Arena: UI components | 1300 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Design Arena: game dev | 1362 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Design Arena: data viz | 1335 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Design Arena: 3D | 1372 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Design Arena: all code categories | 1334 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| Design Arena: ASCII art | 1243 | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LiveBench design | 83.4% | Not measured | Only 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
| Benchmark | DeepSeek V4.1 Flash 1017 | Gemma 3 4B | Leader |
|---|---|---|---|
| Vals Index | 61.3% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| LiveBench data analysis | 79.5% | Not measured | Only DeepSeek V4.1 Flash 1017 measured |
| IFBench | Not measured | 28.3% | Only Gemma 3 4B measured |
| Long context reasoning (AA-LCR) | 82.7% | 6.7% | DeepSeek V4.1 Flash 1017 |
| DTBench | Not measured | 50.9% | Only Gemma 3 4B measured |
| LMCA | Not measured | 2.8% | Only Gemma 3 4B measured |
| LMArena Text | Not measured | 1291 | Only Gemma 3 4B measured |
| LMArena Text: instruction following | Not measured | 1239 | Only Gemma 3 4B measured |
| LMArena Text: creative writing | Not measured | 1270 | Only Gemma 3 4B measured |
| LMArena Text: English | Not measured | 1300 | Only Gemma 3 4B measured |
| LMArena Text: non-English | Not measured | 1273 | Only Gemma 3 4B measured |
| LMArena Text: German | Not measured | 1281 | Only Gemma 3 4B measured |
| LMArena Text: Russian | Not measured | 1294 | Only Gemma 3 4B measured |
| LMArena Text: multi-turn | Not measured | 1255 | Only Gemma 3 4B measured |
| LMArena Text: longer queries | Not measured | 1273 | Only Gemma 3 4B measured |
| LMArena Text: writing and language | Not measured | 1288 | Only Gemma 3 4B measured |
| LMArena Text: entertainment and media | Not measured | 1233 | Only Gemma 3 4B measured |
| Neither model has a result on the other 29 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | DeepSeek V4.1 Flash 1017 | Gemma 3 4B | Leader |
|---|---|---|---|
| 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
Gemma 3 4B costs less
Repository review
50K input + 3K output tokens
Gemma 3 4B costs less
Agent loop
200K input + 10K output tokens
Gemma 3 4B 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.
| Specification | DeepSeek V4.1 Flash 1017 | Google Gemma 3 4B |
|---|---|---|
| Maker | DeepSeek | |
| Weights | Open weights | Open weights |
| Released | October 17, 2026 | March 13, 2025 |
| Context window | 1.05M | 131K |
| Input $/Mtok | $0.15 | $0.045 |
| Output $/Mtok | $0.60 | $0.075 |
| Coding index | 70.3 | Not benchmarked |
| Independent measurements behind it | 4 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is DeepSeek V4.1 Flash 1017 better than Gemma 3 4B for coding?
Only DeepSeek V4.1 Flash 1017 has a coding score, 70.3 on the Vibe Coding Index; Gemma 3 4B has none, so the two cannot be ranked on coding. Pick Gemma 3 4B for output tokens 8.0x cheaper ($0.075 vs $0.60 per million).
Which is cheaper, DeepSeek V4.1 Flash 1017 or Gemma 3 4B?
DeepSeek V4.1 Flash 1017 costs $0.15 per million input tokens and $0.60 per million output tokens; Gemma 3 4B costs $0.045 and $0.075. Cost per solved task is known for neither of them.
Which has the bigger context window, DeepSeek V4.1 Flash 1017 or Gemma 3 4B?
DeepSeek V4.1 Flash 1017, with 1.05M tokens against 131K.
How many benchmarks is the DeepSeek V4.1 Flash 1017 vs Gemma 3 4B comparison based on?
5 benchmarks have a result for both models as of October 21, 2026. DeepSeek V4.1 Flash 1017's coding index rests on 4 independent benchmarks and Gemma 3 4B's on 0. Where only one model has a result, the page says so instead of naming a winner.