Anthropic
Anthropic
vs
Deepseek
Deepseek

Claude Sonnet 4 vs DeepSeek V3.1

A detailed comparison of pricing, benchmarks, and capabilities

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Claude Sonnet 4 wins:

  • Larger context window
  • Supports vision

DeepSeek V3.1 wins:

  • Cheaper input tokens
  • Cheaper output tokens
Price Advantage
DeepSeek V3.1
Benchmark Advantage
Claude Sonnet 4
Context Window
Claude Sonnet 4
Speed
N/A

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureClaude Sonnet 4DeepSeek V3.1
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyClaude Sonnet 4DeepSeek V3.1
LicenseProprietaryOpen Source
AuthorAnthropicDeepseek
ReleasedMay 2025Aug 2025

Claude Sonnet 4 Modalities

Input
imagetextfile
Output
text

DeepSeek V3.1 Modalities

Input
text
Output
text

Frequently Asked Questions

DeepSeek V3.1 has cheaper input pricing at $0.25/M tokens. DeepSeek V3.1 has cheaper output pricing at $0.95/M tokens.
Claude Sonnet 4 has a 200,000 token context window, while DeepSeek V3.1 has a 32,768 token context window.
Claude Sonnet 4 supports vision. DeepSeek V3.1 does not support vision.