DeepSeek V4 vs Gemini 3.1

DeepSeek's open-weight flagship (v4-pro · v4-flash) against Google's multimodal flagship (ultra · pro tiers) — published pricing, context windows and specs, side by side.

At a glance: DeepSeek V4 lists at $1.74 / $3.48 (V4-Pro) · $0.14 / $0.28 (V4-Flash) per 1M with a 1,000,000 tokens context window; Gemini 3.1 lists at ~$2 / $12 per 1M tokens (3.1 Pro) with 2,000,000 tokens of context. The full spec table, price table and each model's published benchmarks are below.

DeepSeek V4 vs Gemini 3.1: side-by-side

 DeepSeek V4Gemini 3.1
MakerDeepSeekGoogle
Released24 April 2026April 2026
TierOpen-weight flagship (V4-Pro · V4-Flash)Multimodal flagship (Ultra · Pro tiers)
Context window1,000,000 tokens (both tiers)2,000,000 tokens — largest publicly available
Max outputNot specifiedNot specified
API price (per 1M)$1.74 / $3.48 (V4-Pro) · $0.14 / $0.28 (V4-Flash) per 1M~$2 / $12 per 1M tokens (3.1 Pro)
AccessOpen weights — MIT licence, on Hugging Face & ModelScope (V4-Pro 1.6T params / 49B active; V4-Flash 284B / 13B active)Proprietary — Gemini API (Google) · consumer plan $19.99/month
Best atCoding, competitive programming, low-cost agentic workMultimodal understanding, very long documents, media analysis
StandoutLargest open-weights model of 2026 — MIT-licensed 1.6T-param MoENative video, audio and text in one pass + sandboxed Python execution

Price comparison

ModelInput (per 1M)Output (per 1M)
DeepSeek V4-Flash$0.14$0.28
DeepSeek V4-Pro$1.74$3.48
Gemini 3.1 Pro (approx.)~$2.00~$12.00

Estimate your monthly API cost for DeepSeek V4 vs Gemini 3.1 with the LLM API pricing calculator →

Published benchmark figures

Each figure below is the model's own published score as listed on its AI Model Hub page. Different suites (and suite versions) are not directly comparable.

ModelBenchmarkPublished score
DeepSeek V4SWE-bench Verified80.6%
DeepSeek V4Codeforces rating3,206

What the table says

Key takeaway

Everything above is drawn from the two models' published rate cards and spec sheets. Which one fits depends on the workload you price it against — run your own token volumes through the pricing calculator to see the monthly difference.

Full DeepSeek V4 overview   Full Gemini 3.1 overview

Ad slot — AdSense in-article unit

Frequently asked questions

Which is cheaper, DeepSeek V4 or Gemini 3.1?

DeepSeek V4 — it lists at $1.74 / $3.48 (V4-Pro) · $0.14 / $0.28 (V4-Flash) per 1M versus ~$2 / $12 per 1M tokens (3.1 Pro) for Gemini 3.1 (Gemini 3.1 Pro pricing is approximate).

Which has the bigger context window, DeepSeek V4 or Gemini 3.1?

Gemini 3.1 — 2,000,000 tokens — largest publicly available, versus 1,000,000 tokens (both tiers) for DeepSeek V4.

Which model is newer?

DeepSeek V4 is the more recent release (24 April 2026); Gemini 3.1 was released April 2026.

Can I run DeepSeek V4 or Gemini 3.1 locally?

Only DeepSeek V4 — it publishes open weights under the MIT licence. Gemini 3.1 is proprietary and only available via hosted APIs and apps.

Related comparisons