AI model comparison

Claude Sonnet 5 vs DeepSeek V4.1 Flash

Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.

Change models
Loading the catalog…
Markdown
Context tokens
1M
Input / 1M
$2.00
Output / 1M
$10.00
Context tokens
1.05M
Input / 1M
$0.0507
Output / 1M
$0.2028
Benchmark snapshot
Coding
Claude Sonnet 5DeepSeek V4.1 Flash
74.7%
90.2%

Percent score · Result source · Test method

Catalog checked Nov 27, 20267 shared benchmark resultsRead the methodology

The trade-offs

Start with the differences that affect how this model fits your workload.

Benchmark results
Claude Sonnet 5 and DeepSeek V4.1 Flash scored 74.7% and 90.2%, respectively, on Coding. Use the test setup below to check whether it matches your workload.
Token cost
For 1 million input tokens and 250,000 output tokens, the listed rates estimate $4.50 for Claude Sonnet 5 and $0.1014 for DeepSeek V4.1 Flash.
Context window
DeepSeek V4.1 Flash lists 1,048,576 tokens of context. Claude Sonnet 5 lists 1,000,000 tokens. Reserve space for the output before routing long inputs.

Benchmarks

Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.

Shared benchmark profilePercentage scores from the first eight shared groups, sorted by the page evidence order.

Source Result source · Test method

Claude Sonnet 5DeepSeek V4.1 Flash

Coding

Coding · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

74.7%
90.2%
Test configurations
Claude Sonnet 5
claude-sonnet-5
DeepSeek V4.1 Flash
deepseek-v4.1-flash

Long Agentic

Long Agentic · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

39%
40.1%
Test configurations
Claude Sonnet 5
claude-sonnet-5
DeepSeek V4.1 Flash
deepseek-v4.1-flash

Browser

Browser · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

72%
84%
Test configurations
Claude Sonnet 5
claude-sonnet-5
DeepSeek V4.1 Flash
deepseek-v4.1-flash

Data Analysis

Data Analysis · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

71.7%
79.3%
Test configurations
Claude Sonnet 5
claude-sonnet-5
DeepSeek V4.1 Flash
deepseek-v4.1-flash

Design

Design · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

82%
79.2%
Test configurations
Claude Sonnet 5
claude-sonnet-5
DeepSeek V4.1 Flash
deepseek-v4.1-flash

Reasoning

Reasoning · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

88.7%
86.7%
Test configurations
Claude Sonnet 5
claude-sonnet-5
DeepSeek V4.1 Flash
deepseek-v4.1-flash

Research

Research · Suite release Oct 14, 2026 · run date unavailable · Result source · Test method

82.8%
86.8%
Test configurations
Claude Sonnet 5
claude-sonnet-5
DeepSeek V4.1 Flash
deepseek-v4.1-flash
View individual benchmark records

These model-level records can include other benchmark releases, test configurations, and vendor-reported results.

Claude Sonnet 5

BenchmarkScoreConfigurationSource model labelEvidence
Amps Hard98%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Code Completion78.261%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Code Generation83.099%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Connections95.5%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Consecutive Events74.741%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Integrals With Game88%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Javascript68.182%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Logic With Navigation86%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Math Comp95.098%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Olympiad90.671%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Paraphrase61.25%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Plot Unscrambling53.411%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Python60%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Simplify60.65%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Spatial100%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Story Generation62.317%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Summarize71.217%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Tablejoin42.442%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Tablereformat98.039%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Theory Of Mind80.769%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Typescript50%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Typos76%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method
Zebra Puzzle88%claude-sonnet-5-xhigh-effort · Suite release Jun 25, 2026 · run date unavailableclaude-sonnet-5-xhigh-effortResult source · Test method

DeepSeek V4.1 Flash

No additional benchmark results are available for this model ID.

Pricing and token cost

Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.

USD per million tokensClaude Sonnet 5DeepSeek V4.1 Flash
Uncached input$2.00$0.0507
Output$10.00$0.2028
Cache read$0.20$0.001
Cache write$2.50Unavailable

Rates are a catalog snapshot. OpenRouter Models API

Estimate your workload

Enter total token counts. The estimate uses uncached input and output rates.

Claude Sonnet 5$4.50
DeepSeek V4.1 Flash$0.1014

DeepSeek V4.1 Flash costs $4.3986 less at this token mix.

Model specifications

Context, output limits, modalities, and supported API parameters from the catalog.

SpecificationClaude Sonnet 5DeepSeek V4.1 Flash
Catalog statusListedListed
Catalog model IDanthropic/claude-sonnet-5deepseek/deepseek-v4.1-flash
ProviderAnthropicDeepSeek
Context window1,000,000 tokens1,048,576 tokens
Max output128,000 tokens393,216 tokens
Input modalitiesText, Image, FileText, Image
Output modalitiesTextText
Reasoning controlsListedListed
Tool callingListedListed
Structured outputsListedListed
Serving endpoints/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses
Catalog listing dateJun 30, 2026Sep 10, 2026

Use with Weave Router

Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.

Claude Sonnet 5

Listed in the public Router catalog.

claude-sonnet-5

DeepSeek V4.1 Flash

Listed in the public Router catalog.

deepseek/deepseek-v4.1-flash

Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026

Explore Weave Router Read Weave Router benchmark results

Sources

Each benchmark links to its own result and test method when available.

MarkdownFull methodology