- Home
- Models
- Comparisons
- Gemini 3.1 Pro Preview vs DeepSeek V4 Pro
Gemini 3.1 Pro Preview vs DeepSeek V4 Pro: API pricing and context window
DeepSeek V4 Pro is 34% cheaper than Gemini 3.1 Pro Preview for input ($1.32 vs $2.00 per 1M tokens) and 67% cheaper for output ($3.96 vs $12.00). Context window: 1,048,576 tokens for Gemini 3.1 Pro Preview, 1,000,000 for DeepSeek V4 Pro. A 10K-input, 1K-output request costs $0.032 on Gemini 3.1 Pro Preview and $0.017 on DeepSeek V4 Pro.
- Gemini 3.1 Pro Preview
- $2.00 / $12.00 Input / Output, per 1M tokens · 1M context window
- DeepSeek V4 Pro
- $1.32 / $3.96 Input / Output, per 1M tokens · 1M context window
Side by side
| Field | Gemini 3.1 Pro Preview | DeepSeek V4 Pro | Gemini 3.1 Pro Preview vs DeepSeek V4 Pro |
|---|---|---|---|
| Input | $2.00 | $1.32 | +52% |
| Output | $12.00 | $3.96 | +203% |
| Cached input | $0.20 | $0.044 | +355% |
| Context window | 1,048,576 | 1,000,000 | +5% |
| Max output | 65,536 | 393,216 | -83% |
| Long-context threshold | 200,000 | none | |
| Image input | Yes | No | |
| Function calling | Yes | Yes | |
| Reasoning | Yes | Yes | |
| Prompt caching | Yes | Yes | |
| Web search | Yes | Yes | |
| Structured output | Yes | Yes |
Cost per task
| Task | Gemini 3.1 Pro Preview | DeepSeek V4 Pro | Cheaper |
|---|---|---|---|
| Chat request (10K in + 1K out) | $0.032 | $0.017 | DeepSeek V4 Pro (46% less) |
| Codebase question (100K in + 2K out) | $0.224 | $0.14 | DeepSeek V4 Pro (38% less) |
| Same question, context cached (100K cached + 2K out) | $0.044 | $0.012 | DeepSeek V4 Pro (72% less) |
| Long document (300K in + 4K out) | $1.27 | $0.412 | DeepSeek V4 Pro (68% less) |
| 1M tokens a month (750K in + 250K out) | $4.50 | $1.98 | DeepSeek V4 Pro (56% less) |
Estimate your own workload in the calculator
Which one to pick
- Pick DeepSeek V4 Pro to spend less: it is cheaper on every task above. A chat request costs $0.017 vs $0.032, and 1M tokens a month $1.98 vs $4.50.
- DeepSeek V4 Pro returns longer answers: up to 393,216 output tokens in one response, against 65,536 for Gemini 3.1 Pro Preview.
- Gemini 3.1 Pro Preview bills the whole request at $4.00 input and $18.00 output per 1M once a prompt passes 200K tokens; DeepSeek V4 Pro lists no long-context surcharge.
- Only Gemini 3.1 Pro Preview lists image input.
- DeepSeek V4 Pro charges less for cached input reads: $0.044 vs $0.20 per 1M tokens.
Full pages: Gemini 3.1 Pro Preview · DeepSeek V4 Pro
More comparisons
- Claude Opus 5.5 vs Gemini 3.1 Pro Preview
- Claude Opus 5 vs Gemini 3.1 Pro Preview
- GPT-6.2 Astra vs Gemini 3.1 Pro Preview
- GPT-5.5 vs Gemini 3.1 Pro Preview
- Gemini 3.1 Pro Preview vs Grok 4.7
- Claude Opus 5.5 vs DeepSeek V4 Pro
- GPT-6.2 Astra vs DeepSeek V4 Pro
- DeepSeek V4 Pro vs Mistral Large 4
Questions
Which is cheaper, Gemini 3.1 Pro Preview or DeepSeek V4 Pro?
DeepSeek V4 Pro is 34% cheaper than Gemini 3.1 Pro Preview for input ($1.32 vs $2.00 per 1M tokens) and 67% cheaper for output ($3.96 vs $12.00). A 10K-input, 1K-output request costs $0.032 on Gemini 3.1 Pro Preview and $0.017 on DeepSeek V4 Pro.
Which has the larger context window, Gemini 3.1 Pro Preview or DeepSeek V4 Pro?
Gemini 3.1 Pro Preview accepts more: 1,048,576 input tokens, against 1,000,000 for DeepSeek V4 Pro. Max output: 65,536 tokens for Gemini 3.1 Pro Preview, 393,216 for DeepSeek V4 Pro.
How much does a typical request cost on Gemini 3.1 Pro Preview and DeepSeek V4 Pro?
A chat request with 10K input and 1K output tokens costs $0.032 on Gemini 3.1 Pro Preview and $0.017 on DeepSeek V4 Pro. A 100K-token codebase question with a 2K answer costs $0.224 and $0.14.
What are the differences between Gemini 3.1 Pro Preview and DeepSeek V4 Pro?
Gemini 3.1 Pro Preview / DeepSeek V4 Pro: input: $2.00 / $1.32; output: $12.00 / $3.96; cached input: $0.20 / $0.044; context window: 1,048,576 / 1,000,000; max output: 65,536 / 393,216; long-context threshold: 200,000 / none; image input: Yes / No.