Claude Sonnet 5 vs DeepSeek-V4-Pro
Claude Sonnet 5 (Anthropic, June 2026) and DeepSeek-V4-Pro (DeepSeek, April 2026), compared on price, context window, access and specs. DeepSeek-V4-Pro is the cheaper API at $0.66 in and $1.98 out per million tokens, about 4× less than Claude Sonnet 5 on a typical 3:1 input-to-output mix. DeepSeek-V4-Pro reads more at once: a 1.05M-token context window against 1M. DeepSeek-V4-Pro has open weights, so you can also run it on your own hardware.
Updated 5 December 2026 · read each row across; the best value in a row is marked
At a glance
- Tasks
Language modeling
Language generation
Question answering
Language modeling
Language generation
Question answering
- Released
- 30 June 2026
- 24 April 2026
- Access
- API access
- Open weights (unrestricted)
- Country
- United States of America
- China
Price and API
- Input, per 1M tokens
- $2.00on Anthropic
- $0.66on DeepSeekLowest
- Output, per 1M tokens
- $10.00on Anthropic
- $1.51on OpenRouterLowest
- Where to run it
- AnthropicGoogle Vertex AIAmazon BedrockAzure AI FoundryAll 5 providers
- DeepSeekOpenRouterHugging FaceDeepInfraAll 6 providersMost choice
- Official API id
anthropic/claude-sonnet-5deepseek/deepseek-v4-pro- Context window
- 1M tokens
- 1.05M tokensLargest
- Max output
- 128K tokens
- 393K tokensLargest
- Takes
- Text, Image, PDF
- Text
- Returns
- Text
- Text
- Knowledge cutoff
- January 2026
- Not listed
- Supports
- ReasoningTool callingStructured outputFile input
- ReasoningTool callingStructured outputOpen weights
Scale and training
- Parameters
- Not listed
- 1.6T1,600,000,000,000
- Training compute
- Not listed
- 9.7 × 10²⁴ FLOP
- Training code
- Unreleased
- Not listed
- Confidence
- Confident
- Likely
Notes
- Parameters
- Not listed
- 1.6T total, 49B active
- Training compute
- Not listed
- 6 * 49e9 active parameters * 33e12 tokens = 9.702E24 for pre-training
In their own words
- Abstract
Claude Sonnet 5 is built to be the most agentic Sonnet model yet. It can make plans, use tools like browsers and terminals, and run autonomously at a level that, just a few months ago, required larger and more expensive models. For many developers, the agentic AI era began with Sonnet-class models: Claude Sonnet 3.5, 3.6, and 3.7 were the first models that showed impressive skills in coding and tool use. More recently, though, the clearest gains in agentic capabilities have been in our Opus-class models. Sonnet 5 narrows the gap: its performance is close to that of Opus 4.8, but at lower prices. It’s a substantial improvement over its predecessor, Sonnet 4.6, on important aspects of agentic performance like reasoning, tool use, coding, and knowledge work:Read all
We present a preview version of DeepSeek-V4 series, including two strong Mixture-ofExperts (MoE) language models — DeepSeek-V4-Pro with 1.6T parameters (49B activated) and DeepSeek-V4-Flash with 284B parameters (13B activated) — both supporting a context length of one million tokens. DeepSeek-V4 series incorporate several key upgrades in architecture and optimization: (1) a hybrid attention architecture that combines Compressed Sparse Attention (CSA) and Heavily Compressed Attention (HCA) to improve long-context efficiency; (2) ManifoldConstrained Hyper-Connections (mHC) that enhance conventional residual connections; (3) and the Muon optimizer for faster convergence and greater training stability. We pre-train both models on more than 32T diverse and high-quality tokens, followed by a comprehensive post-training pipeline that unlocks and further enhances their capabilities. DeepSeek-V4-ProMax, the maximum reasoning effort mode of DeepSeek-V4-Pro, redefines the state-of-the-art for open models, outperforming its predecessors in core tasks. Meanwhile, DeepSeek-V4 series are highly efficient in long-context scenarios. In the one-million-token context setting, DeepSeekV4-Pro requires only 27% of single-token inference FLOPs and 10% of KV cache compared with DeepSeek-V3.2. This enables us to routinely support one-million-token contexts, thereby making long-horizon tasks and further test-time scaling more feasible. The model checkpoints are available at https://huggingface.co/collections/deepseek-ai/deepseek-v4.Read all
Which should you pick?
- High-volume or budget workloads
- DeepSeek-V4-Pro · Lowest list price: $0.66 in and $1.98 out per million tokens via DeepSeek.
- Long documents, codebases or transcripts
- DeepSeek-V4-Pro · 1.05M tokens of context, 5% more than Claude Sonnet 5.
- Long answers in one response
- DeepSeek-V4-Pro · Up to 393K output tokens per response.
- Self-hosting or fine-tuning
- DeepSeek-V4-Pro · Open weights: you can download them and run them on your own GPUs.
- Reading images and screenshots
- Claude Sonnet 5 · Accepts image input through the API.
Questions people ask
Is Claude Sonnet 5 better than DeepSeek-V4-Pro?
It depends on the job. For high-volume or budget workloads, DeepSeek-V4-Pro has the edge: lowest list price: $0.66 in and $1.98 out per million tokens via DeepSeek. For long documents, codebases or transcripts, DeepSeek-V4-Pro has the edge: 1.05M tokens of context, 5% more than Claude Sonnet 5. For long answers in one response, DeepSeek-V4-Pro has the edge: up to 393K output tokens per response. Try them on your own prompts in the AIPortalX playground before you commit.
Which is cheaper: Claude Sonnet 5 or DeepSeek-V4-Pro?
DeepSeek-V4-Pro: $0.66 in and $1.98 out per million tokens at DeepSeek. Claude Sonnet 5 starts at $2.00 in and $10.00 out per million tokens. These are list prices from the cheapest provider we track, and they change often.
Which has the bigger context window?
DeepSeek-V4-Pro, with 1.05M tokens; Claude Sonnet 5 takes 1M. A larger window lets one request hold longer documents or conversations.
Where can I use Claude Sonnet 5 and DeepSeek-V4-Pro through one API?
Azure AI Foundry and OpenRouter serve all of them, so you can switch models without opening another account.
When were they released?
Claude Sonnet 5 in June 2026 and DeepSeek-V4-Pro in April 2026.