Anthropic
Claude Sonnet 4 (latest)
Claude Sonnet 4 (latest) from Anthropic: Balanced Claude model for coding, analysis, agent workflows, and cost control.
- Context
- 200K
- Max output
- 64K
Accepts
- Text input
- Image input
- PDF input
Produces
- Text output
AI model comparison
Compare pricing, context limits, supported inputs and deployment options to choose a model for your workflow.
Claude Sonnet 4 (latest) from Anthropic lists 200K context, 64K maximum output. DeepSeek V4 Flash 0731 from DeepSeek lists 1M context, 384K maximum output, $0.1596 input per 1M tokens, $0.399 output per 1M tokens. Compare the inputs, outputs and deployment options below to see which fits your workflow.
Anthropic
Claude Sonnet 4 (latest) from Anthropic: Balanced Claude model for coding, analysis, agent workflows, and cost control.
Accepts
Produces
DeepSeek
DeepSeek V4 Flash 0731 from DeepSeek: Official DeepSeek V4 Flash release with enhanced agentic capabilities and integrated DSpark speculative decoding.
Accepts
Produces
At a glance
Compare the available figures below, then try both models on the work you need to do.
DeepSeek V4 Flash 0731
Context capacity
Higher listed limit
Claude Sonnet 4 (latest):200K
DeepSeek V4 Flash 0731:1M
DeepSeek V4 Flash 0731
Maximum output
Higher listed limit
Claude Sonnet 4 (latest):64K
DeepSeek V4 Flash 0731:384K
DeepSeek V4 Flash 0731
Specifications
| Specification | Claude Sonnet 4 (latest) | DeepSeek V4 Flash 0731 |
|---|---|---|
| Provider | Anthropic | DeepSeek |
| Listed pricing route | Anthropic | DeepSeek |
| Model family | claude-sonnet | deepseek-flash |
| Accepted inputs | text, image, pdf | text |
| Produced outputs | text | text |
| Context window | 200K | 1MHigher |
| Max output | 64K | 384KHigher |
| Input price / 1M | — | $0.1596 |
| Output price / 1M | — | $0.399 |
| Reasoning mode | Documented | Documented |
| Tool calling | Documented | Documented |
| Image input | Documented | Not documented |
| Audio input | Not documented | Not documented |
| Structured output | Not documented | Documented |
| License | Proprietary | MIT |
Workload guidance
Consider DeepSeek V4 Flash 0731 if you need larger context or larger maximum output. DeepSeek V4 Flash 0731 offers downloadable weights; Claude Sonnet 4 (latest) is listed as a proprietary model. Compare licence terms and operating costs before choosing a deployment. Test both on the same representative examples and judge the output against your acceptance criteria. Include tool failures, retries and the time to a completed task.
Explore each model’s features, API requirements and licence terms in the sources below.
Claude Sonnet 4 (latest)
Anthropic
Profile updated Oct 13, 2026
DeepSeek V4 Flash 0731
DeepSeek
Profile updated Oct 13, 2026
Model card and weights ↗Search by model or provider to explore another comparison.