DeepSeek-V3 vs GPT-5 Nano: Detailed Comparison

Choosing between DeepSeek-V3 (DeepSeek) and GPT-5 Nano (OpenAI) comes down to three things: per-token pricing, context window, and which capability matters most for your workload. DeepSeek-V3 costs $0.27/M input vs $0.05/M for GPT-5 Nano; context windows are 128K vs 400K tokens. Detailed breakdown below.

Side-by-side specs

SpecDeepSeek-V3GPT-5 Nano
ProviderDeepSeekOpenAI
Released2024-12-262025-08-07
Input price $0.27/M $0.05/M
Output price $1.10/M $0.40/M
Cached input $0.0700/M $0.0050/M
Context window 128K 400K
Max output 8K 64K
Modalities text text
Tokenizer deepseek o200k_base

Capability matrix

CapabilityDeepSeek-V3GPT-5 Nano
function calling Yes Yes
json mode Yes Yes
streaming Yes Yes

Benchmark comparison

Higher is better for all benchmarks shown.

BenchmarkCategoryDeepSeek-V3GPT-5 NanoΔ
MMLU-Pro general 75.9
HumanEval coding 82.6

Per-call cost on typical workloads

Workload (in/out tokens)DeepSeek-V3GPT-5 NanoCheaper by
Standard chat (1K / 500) $0.000820 $0.000250 GPT-5 Nano by $0.000570
RAG (4K / 500) $0.001630 $0.000400 GPT-5 Nano by $0.001230
Long doc (20K / 1K) $0.006500 $0.001400 GPT-5 Nano by $0.005100
Very long context (100K / 2K) $0.028650 $0.005600 GPT-5 Nano by $0.023050

When to choose DeepSeek-V3 over GPT-5 Nano

  • DeepSeek-V3 fits when your stack is already on DeepSeek (single billing, SDK, observability surface).

When to choose GPT-5 Nano over DeepSeek-V3

  • Per-token input cost is 81% lower than DeepSeek-V3.
  • Larger context window (400K vs 128K).

Related comparisons