DeepSeek V4.1 Flash (1017) vs Gemini 3.8 Flash

DeepSeek V4.1 Flash (1017) runs our sample agent task 2.5x cheaper than Gemini 3.8 Flash at list prices.

The short version

DeepSeek V4.1 Flash (1017) is #17 on our price list and Gemini 3.8 Flash is #18, from DeepSeek and Google. On our sample agent run, DeepSeek V4.1 Flash (1017) costs $0.117 and Gemini 3.8 Flash $0.296, 2.5x apart. DeepSeek V4.1 Flash (1017) also narrowly leads the Intelligence Index, 32 to 31, so on our numbers it wins on both price and measured quality. LMArena's human votes flip the order: Gemini 3.8 Flash leads there, 1498 to 1474.

Side by side

MeasureDeepSeek V4.1 Flash (1017) Gemini 3.8 Flash
ProviderDeepSeekGoogle
Input / 1M tokens$0.300$0.750 now (through December 31, 2026; $1.50 from January 1, 2027)
Output / 1M tokens$1.20$3.75 now (through December 31, 2026; $7.50 from January 1, 2027)
Output price ÷ input price4.0x5.0x
Blended / 1M (3:1)$0.525$1.50
Context window1M1M
Sample agent run$0.117$0.296
AA Intelligence Index3231
LMArena Text1474 (max-20260910)1498 (high)
Blended $ per index point$0.016$0.048

Prices from DeepSeek and Google, verified 2026-11-30. Scores from Artificial Analysis and LMArena. How to read this page.

A sample agent run

20 steps, 365,000 input and 6,000 output tokens in total, largest single prompt 32,500 tokens.

VolumeDeepSeek V4.1 Flash (1017)Gemini 3.8 Flash
One run$0.117$0.296
1,000 runs$116.70$296.25
10,000 runs$1,167.00$2,962.50
100,000 runs$11,670.00$29,625.00

Input makes up 94% of the DeepSeek V4.1 Flash (1017) bill and 92% of the Gemini 3.8 Flash bill. With both bills that input-heavy, trimming or caching the context each step saves more than shortening the replies. On DeepSeek V4.1 Flash (1017), step 1 costs $0.0016 and step 20 $0.010; on Gemini 3.8 Flash, $0.0041 and $0.025. Each step re-reads the growing history, so the late steps carry most of the bill. A $500 monthly budget covers about 4,284 runs on DeepSeek V4.1 Flash (1017) and 1,687 on Gemini 3.8 Flash. At 10,000 runs a month the difference is $1,795.50. DeepSeek V4.1 Flash (1017)'s off-peak rate is 50% of the peak price, which would bring its run to $0.058 for jobs that can wait.

How the bill builds, step by step

The first 10 steps account for 31% of the DeepSeek V4.1 Flash (1017) run and 31% of the Gemini 3.8 Flash run, because every later step re-reads a longer history.

Line chart of cumulative cost over the 20-step sample run: DeepSeek V4.1 Flash (1017) reaches $0.117 and Gemini 3.8 Flash reaches $0.296.
Show the numbers
After stepDeepSeek V4.1 Flash (1017)Gemini 3.8 Flash
1$0.0016$0.0041
5$0.012$0.032
10$0.036$0.092
15$0.071$0.180
20$0.117$0.296

Four everyday workloads

WorkloadDeepSeek V4.1 Flash (1017)Gemini 3.8 FlashGap
Support chat reply
a short system prompt, recent chat history and a reply
$0.0012$0.00342.8x
RAG answer
a question plus about 20K tokens of retrieved documents, and a cited answer
$0.0070$0.0182.6x
10-step agent task
10 model calls, each re-reading about 8K tokens of context and emitting a 400-token tool call
$0.029$0.0752.6x
Long-report summary
one 200K-token document summarized into about 2K tokens
$0.062$0.1582.5x

The gap is widest on the support chat reply (2.8x, DeepSeek V4.1 Flash (1017) cheaper) and narrowest on the long-report summary (2.5x). DeepSeek V4.1 Flash (1017) is cheaper on both input and output, so it wins every row at base rates.

Per 1M tokens of mixed traffic, DeepSeek V4.1 Flash (1017) costs $0.390, $0.525, $0.750 and Gemini 3.8 Flash $1.05, $1.50, $2.25 at 10%, 25% and 50% output. The gap widens as jobs write more, from 2.7x to 3.0x.

  • Support chat reply at 100,000 a month: $120.00 on DeepSeek V4.1 Flash (1017), $337.50 on Gemini 3.8 Flash, so DeepSeek V4.1 Flash (1017) saves $217.50.
  • RAG answer at 100,000 a month: $696.00 on DeepSeek V4.1 Flash (1017), $1,800.00 on Gemini 3.8 Flash, so DeepSeek V4.1 Flash (1017) saves $1,104.00.
  • 10-step agent task at 100,000 a month: $2,880.00 on DeepSeek V4.1 Flash (1017), $7,500.00 on Gemini 3.8 Flash, so DeepSeek V4.1 Flash (1017) saves $4,620.00.
  • Long-report summary at 100,000 a month: $6,240.00 on DeepSeek V4.1 Flash (1017), $15,750.00 on Gemini 3.8 Flash, so DeepSeek V4.1 Flash (1017) saves $9,510.00.

Where each one fits

DeepSeek V4.1 Flash (1017)

  • High-volume agent work: $116.70 per 1,000 sample runs against $296.25, a saving of $17,955.00 per 100,000 runs.
  • Work where every Index point counts, though a 1-point lead (32 vs 31) is small enough that your own tests should confirm it.
  • Batch jobs that can run off-peak at 50% of the peak price.
  • Budgets that run past December 31, 2026, after which Gemini 3.8 Flash costs $1.50/$7.50.

Gemini 3.8 Flash

  • User-facing chat and writing: LMArena voters prefer it 1498 to 1474, about 53% of head-to-head votes.

What you trade

On our numbers there's little to trade: DeepSeek V4.1 Flash (1017) is 61% cheaper per run and 1 point higher. The case for Gemini 3.8 Flash rests on things we don't score, like tool-calling style on your prompts or features only Google offers. Per index point, DeepSeek V4.1 Flash (1017) is the better value at $0.016 blended per 1M tokens against $0.048. DeepSeek V4.1 Flash (1017) charges 4.0x its input rate for output and Gemini 3.8 Flash 5.0x, so the more a job writes, the better DeepSeek V4.1 Flash (1017) looks.

Using both

Across all 20 models we track, 2 models run our sample task for less than DeepSeek V4.1 Flash (1017), and 3 undercut Gemini 3.8 Flash. Routing between them doesn't pay on these numbers: DeepSeek V4.1 Flash (1017) is both cheaper and higher scoring, so sending work to Gemini 3.8 Flash adds $0.180 per run ($0.117 against $0.296) without a measured gain, and gives up 1 index point. Keep Gemini 3.8 Flash as a fallback if DeepSeek has an outage.

Running both means two API keys and two tool-call formats. Our schema converter writes both from one JSON Schema.

Context window

Both windows hold 1M tokens, about 750,000 English words, and our 32,500-token agent peak barely dents either.

Reasoning settings

SettingDeepSeek V4.1 Flash (1017)Gemini 3.8 Flash
max32not published
highnot published31

Artificial Analysis lists one setting for each: DeepSeek V4.1 Flash (1017) at max and Gemini 3.8 Flash at high, so the two scores aren't at matched effort.

Other options at this level

2 other models score between 28 and 35 on the Index: GPT-6 Luna (28, $0.040 per run), Grok 4.7 (35, $0.766 per run). GPT-6 Luna undercuts both at $0.040 per run, so it's worth a test before you settle. Grok 4.7 scores highest of the group at 35.

DeepSeek V4.1 Flash (1017) is already DeepSeek's cheapest option on our list, at $0.117 per run.

Gemini 3.8 Flash is already Google's cheapest option on our list, at $0.296 per run.

Artificial Analysis vs LMArena

On the Intelligence Index, DeepSeek V4.1 Flash (1017) places 17th and Gemini 3.8 Flash 18th of the 20 models on our list. On LMArena Text they place 12th and 8th of the 20 we track there (1474 vs 1498). So the boards disagree, but the Index gap is a single point, which makes LMArena's lead for Gemini 3.8 Flash the clearer signal of the two. A 24-point LMArena gap means Gemini 3.8 Flash would win about 53% of blind votes against DeepSeek V4.1 Flash (1017). LMArena tested DeepSeek V4.1 Flash (1017) at max-20260910 and Gemini 3.8 Flash at high.

Price change on January 1, 2027

Gemini 3.8 Flash goes from $0.750/$3.75 to $1.50/$7.50 per 1M input/output tokens on January 1, 2027. Our sample run then costs $0.593 on Gemini 3.8 Flash against $0.117 on DeepSeek V4.1 Flash (1017), so DeepSeek V4.1 Flash (1017) stays the cheaper pick by 5.1x.

FAQ

Is DeepSeek V4.1 Flash (1017) cheaper than Gemini 3.8 Flash?

Yes. Per sample run it costs $0.117 against $0.296, and per 1M blended tokens $0.525 against $1.50.

Which has the larger context window?

Neither. Both accept 1M tokens.

Which should I use for an AI agent?

DeepSeek V4.1 Flash (1017), on our numbers: it is cheaper per run ($0.117 vs $0.296) and scores 32 to 31.

Which scores higher?

DeepSeek V4.1 Flash (1017) on the Artificial Analysis Intelligence Index, 32 to 31. On LMArena Text, DeepSeek V4.1 Flash (1017) is 1474 (max-20260910) and Gemini 3.8 Flash is 1498 (high).

Run your own numbers in the token cost estimator · DeepSeek V4.1 Flash (1017) pricing · Gemini 3.8 Flash pricing · All comparisons