Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
Deepseek
Deepseek

Claude Sonnet 4.5 vs DeepSeek V3.1

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Deploy OpenClaw in Under 1 Minute We handle hosting, scaling, and maintenance

114 out of our 303 tracked models have had a price change in February.

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

Key Takeaways

Claude Sonnet 4.5 wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Supports vision
  • Has reasoning mode

DeepSeek V3.1 wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Better at math
Price Advantage
DeepSeek V3.1
Benchmark Advantage
Claude Sonnet 4.5
Context Window
Claude Sonnet 4.5
Speed
Claude Sonnet 4.5

Pricing Comparison

Price Comparison

MetricClaude Sonnet 4.5DeepSeek V3.1Winner
Input (per 1M tokens)$3.00$0.15 DeepSeek V3.1
Output (per 1M tokens)$15.00$0.75 DeepSeek V3.1
Cache Read (per 1M)$0.30N/A Claude Sonnet 4.5
Cache Write (per 1M)$3.75N/A Claude Sonnet 4.5
Using a 3:1 input/output ratio, DeepSeek V3.1 is 95% cheaper overall.

Claude Sonnet 4.5 Providers

Amazon Bedrock $3.00 (Cheapest)
Google $3.00 (Cheapest)
Anthropic $3.00 (Cheapest)

DeepSeek V3.1 Providers

Chutes $0.20 (Cheapest)
DeepInfra $0.21
SiliconFlow $0.27
Novita $0.27
AtlasCloud $0.30

Benchmark Comparison

6
Benchmarks Compared
4
Claude Sonnet 4.5 Wins
2
DeepSeek V3.1 Wins

Benchmark Scores

BenchmarkClaude Sonnet 4.5DeepSeek V3.1Winner
Intelligence Index
Overall intelligence score
37.128.1
Coding Index
Code generation & understanding
33.528.4
Math Index
Mathematical reasoning
37.049.7
MMLU Pro
Academic knowledge
86.083.3
GPQA
Graduate-level science
72.773.5
LiveCodeBench
Competitive programming
59.057.7
Claude Sonnet 4.5 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Claude Sonnet 4.5
Other models

Context & Performance

Context Window

Claude Sonnet 4.5
1,000,000
tokens
Max output: 64,000 tokens
DeepSeek V3.1
32,768
tokens
Max output: 7,168 tokens
Claude Sonnet 4.5 has a 97% larger context window.

Speed Performance

MetricClaude Sonnet 4.5DeepSeek V3.1Winner
Tokens/second70.4 tok/s0.0 tok/s
Time to First Token1.07s0.00s
Claude Sonnet 4.5 responds Infinity% faster on average.

Capabilities

Feature Comparison

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

License & Release

PropertyClaude Sonnet 4.5DeepSeek V3.1
LicenseProprietaryOpen Source
AuthorAnthropicDeepseek
ReleasedSep 2025Aug 2025

Claude Sonnet 4.5 Modalities

Input
textimagefile
Output
text

DeepSeek V3.1 Modalities

Input
text
Output
text

Related Comparisons

Compare Claude Sonnet 4.5 with:

Compare DeepSeek V3.1 with:

Frequently Asked Questions

DeepSeek V3.1 has cheaper input pricing at $0.15/M tokens. DeepSeek V3.1 has cheaper output pricing at $0.75/M tokens.
Claude Sonnet 4.5 scores higher on coding benchmarks with a score of 33.5, compared to DeepSeek V3.1's score of 28.4.
Claude Sonnet 4.5 has a 1,000,000 token context window, while DeepSeek V3.1 has a 32,768 token context window.
Claude Sonnet 4.5 supports vision. DeepSeek V3.1 does not support vision.