47 model prices
  1. Home
  2. Models
  3. Comparisons
  4. Gemini 3 Flash Preview vs DeepSeek V4 Flash

Gemini 3 Flash Preview vs DeepSeek V4 Flash: API pricing and context window

DeepSeek V4 Flash is 40% cheaper than Gemini 3 Flash Preview for input ($0.30 vs $0.50 per 1M tokens) and 60% cheaper for output ($1.20 vs $3.00). Context window: 1,048,576 tokens for Gemini 3 Flash Preview, 1,000,000 for DeepSeek V4 Flash. A 10K-input, 1K-output request costs $0.008 on Gemini 3 Flash Preview and $0.0042 on DeepSeek V4 Flash.

Last updated: Pricing data: LiteLLM (MIT)

Gemini 3 Flash Preview
$0.50 / $3.00
Input / Output, per 1M tokens · 1M context window
DeepSeek V4 Flash
$0.30 / $1.20
Input / Output, per 1M tokens · 1M context window

Side by side

FieldGemini 3 Flash PreviewDeepSeek V4 FlashGemini 3 Flash Preview vs DeepSeek V4 Flash
Input$0.50$0.30+67%
Output$3.00$1.20+150%
Cached input$0.05$0.006+733%
Context window1,048,5761,000,000+5%
Max output65,536393,216-83%
Image inputYesYes
Function callingYesYes
ReasoningYesYes
Prompt cachingYesYes
Web searchYesYes
Structured outputYesYes

Cost per task

TaskGemini 3 Flash PreviewDeepSeek V4 FlashCheaper
Chat request (10K in + 1K out)$0.008$0.0042DeepSeek V4 Flash (48% less)
Codebase question (100K in + 2K out)$0.056$0.032DeepSeek V4 Flash (42% less)
Same question, context cached (100K cached + 2K out)$0.011$0.003DeepSeek V4 Flash (73% less)
Long document (300K in + 4K out)$0.162$0.095DeepSeek V4 Flash (41% less)
1M tokens a month (750K in + 250K out)$1.13$0.525DeepSeek V4 Flash (53% less)

Estimate your own workload in the calculator

Which one to pick

Full pages: Gemini 3 Flash Preview · DeepSeek V4 Flash

More comparisons

Questions

Which is cheaper, Gemini 3 Flash Preview or DeepSeek V4 Flash?

DeepSeek V4 Flash is 40% cheaper than Gemini 3 Flash Preview for input ($0.30 vs $0.50 per 1M tokens) and 60% cheaper for output ($1.20 vs $3.00). A 10K-input, 1K-output request costs $0.008 on Gemini 3 Flash Preview and $0.0042 on DeepSeek V4 Flash.

Which has the larger context window, Gemini 3 Flash Preview or DeepSeek V4 Flash?

Gemini 3 Flash Preview accepts more: 1,048,576 input tokens, against 1,000,000 for DeepSeek V4 Flash. Max output: 65,536 tokens for Gemini 3 Flash Preview, 393,216 for DeepSeek V4 Flash.

How much does a typical request cost on Gemini 3 Flash Preview and DeepSeek V4 Flash?

A chat request with 10K input and 1K output tokens costs $0.008 on Gemini 3 Flash Preview and $0.0042 on DeepSeek V4 Flash. A 100K-token codebase question with a 2K answer costs $0.056 and $0.032.

What are the differences between Gemini 3 Flash Preview and DeepSeek V4 Flash?

Gemini 3 Flash Preview / DeepSeek V4 Flash: input: $0.50 / $0.30; output: $3.00 / $1.20; cached input: $0.05 / $0.006; context window: 1,048,576 / 1,000,000; max output: 65,536 / 393,216.