Claude Sonnet 5 vs DeepSeek V4

DeepSeek V4 is cheaper on input ($0.40 vs $3.00 per 1M tokens), Claude Sonnet 5 has the larger context window (400K).

SpecClaude Sonnet 5DeepSeek V4
ProviderAnthropicDeepSeek
ModalityText + VisionText
Context window400Kbest256K
Input / 1M$3.00$0.40best
Output / 1M$15.00$1.20best
ReleasedFeb 2026Jan 2026
Best forChat / Assistant, Code generation, Image / VisionCode generation, Chat / Assistant, High-volume / cheap

FAQ

Is Claude Sonnet 5 cheaper than DeepSeek V4?
DeepSeek V4 is cheaper, at $0.40 per 1M input tokens versus $3.00.
Which has the larger context window, Claude Sonnet 5 or DeepSeek V4?
Claude Sonnet 5 has the larger context window at 400K tokens.

More comparisons