Skip to content
Rival
How it worksPrivacyTerms
Explore all of Rival

Explore

  • Compare Models
  • All Models
  • Image Comparison
  • Audio Comparison
  • Image Generation
  • Best AI For...
  • Arena
  • API Pricing
  • Challenges

Discover

  • SubjectiveBench
  • Default Index
  • Research
  • Research downloads
  • Rival Kits
  • Find your AI taste
  • UI Glow-Up
  • VoiceLock
  • Cost Cutter
  • Agent skills
  • Benchmarks vs Vibes
  • Brief
  • Jailbreak
  • Model Updates
  • Provider Status
  • AI Creators

Connect

  • Methodology
  • Advertise
  • Partnerships
  • Privacy Policy
  • Terms
  • RSS Feed
  1. Home
  2. /
  3. Compare
  4. /
  5. Claude Sonnet 4vsDeepSeek V4 Flash 0731
Updated Jul 2026

Claude Sonnet 4vsDeepSeek V4 Flash 0731

DeepSeek V4 Flash 0731 is cheaper than Claude Sonnet 4 at $0.14/M vs $3/M input tokens.

Claude Sonnet 4 and DeepSeek V4 Flash 0731 compared across 42 shared prompts
SpecClaude Sonnet 4DeepSeek V4 Flash 0731
Input price$3/M tokens$0.14/M tokens
Output price$15/M tokens$0.28/M tokens
Context window200K tokens1.0M tokens
WeightsClosedOpen
Free API (OpenRouter)NoNo
ReleasedMay 2025Jul 2026
Side by side

Same prompt, both answers

Opening lines from 6 of the 42 prompts both answered. Formatting stripped, words untouched.

Ethical Dilemma with Stakeholders

You're the CEO of a pharmaceutical company. Your best-selling drug ($2B annual revenue, used by 4 million patients for chronic pain) has…

Claude Sonnet 4615 words
48-Hour Crisis Response Plan Hour 1-2: Immediate Assessment & Core Team Assembly Actions: Convene emergency leadership meeting (CMO, General Counsel, Head of Regulatory, CFO, Head of Communications) Establish secure communication protocols and confidentiality agreements Request detailed analysis from research team…
Read the full answer
DeepSeek V4 Flash 07312,175 words
Decision: Do not wait. I disclose now. The “wait for more data” option is not a real option once we have a credible, serious, unexpected safety signal. Waiting 6 months would mean knowingly continuing to expose 4 million patients to a risk we already know about, while also creating far worse legal, regulatory, and…
Read the full answer

Beginner's Longevity Plan

Outline a simple, actionable 1-month plan for someone starting their journey towards better health and longevity. Focus on 3 key areas…

Claude Sonnet 4418 words
30-Day Health & Longevity Starter Plan 🍽️ NUTRITION Week 1: Foundation Building Add before you subtract: Include 1 serving of vegetables with lunch and dinner Hydration focus: Drink a glass of water upon waking and before each meal Simple swaps: Replace one sugary drink daily with water or herbal tea Week 2-3…
Read the full answer
DeepSeek V4 Flash 0731967 words
Here is a simple, actionable 1-month plan designed for absolute beginners. The goal is consistency over intensity. We will focus on three key pillars: Diet, Movement, and Sleep/Stress Recovery. You don’t need to be perfect—just aim for 80% adherence. If you miss a day, don’t double up tomorrow; just get back on track.
Read the full answer

Simple 7-Ingredient Recipe

Create a simple recipe for a delicious dish (sweet or savory) using only 7 common pantry ingredients. Include a creative name for the dish…

Claude Sonnet 4132 words
Midnight Mug Magic 🌙 A warm, gooey chocolate mug cake that's ready faster than you can say "dessert emergency!" Ingredients (7 pantry staples): 4 tablespoons all-purpose flour 4 tablespoons sugar 2 tablespoons cocoa powder 3 tablespoons milk 3 tablespoons vegetable oil 1/4 teaspoon vanilla extract Pinch of salt…
Read the full answer
DeepSeek V4 Flash 0731287 words
Here is a simple, comforting, and deeply flavorful recipe that comes together in just 20 minutes using only 7 common pantry staples. Creative Name: Golden Hour Coconut Chickpea Curry Ingredients (Exactly 7): 1 can (15 oz) chickpeas, drained and rinsed 1 can (13.5 oz) full-fat coconut milk 1 medium yellow onion 3 cloves…
Read the full answer

Satirical Fake News Headline

Generate a satirical news headline about AI taking over a completely unexpected industry.

Claude Sonnet 434 words
"Local AI Becomes World's First Digital Fortune Teller, Predicts Own Unemployment Due to Rise of Psychic Robots" Silicon Valley startup's algorithm claims 99.7% accuracy in crystal ball readings, charges $2.99 per digital palm scan
Read the full answer
DeepSeek V4 Flash 073157 words
AI Announces Takeover of Competitive Eating, Vows to Digest All Hot Dogs by 2030 In a move that has left mustard vendors reeling, the World Competitive Eating Federation confirmed today that an advanced artificial intelligence has officially entered the sport, consuming 74 hot dogs in 10 minutes before demanding the…
Read the full answer

Michelin Star Recipe Design

Design an innovative recipe for a multi-component dish worthy of a Michelin 3-star restaurant. The recipe should feature an unusual…

Claude Sonnet 4733 words
"Forest Floor to Ocean Depth" Wagyu Beef Cheek with Black Truffle, Sea Lettuce Glass, and Smoked Bone Marrow Caviar Conceptual Narrative This dish represents the journey from earth\'s deepest forest floor to the ocean\'s mysterious depths, celebra ting the umami connection between land and sea.
Read the full answer
DeepSeek V4 Flash 07311,492 words
Conceptual Narrative “An Unripe Promise — Hand-Dived Scallop / Green Strawberry / Black Sesame / Celery Root” The dish is an attempt to save a single fleeting moment: the morning a strawberry is still green, sharp, and full of anticipation—before sugar, before ripeness, before memory.
Read the full answer

Estimate Complexity

Estimate the total number of FLOPs required to train GPT-3 without searching online. Explain your reasoning step by step.

Claude Sonnet 4306 words
I'll estimate the FLOPs required to train GPT-3 by breaking this down into components and making reasonable assumptions. Key Parameters and Assumptions Model specifications: GPT-3 has ~175 billion parameters Transformer architecture with ~96 layers Hidden dimension ~12,288 Attention heads ~96 Context length ~2,048…
Read the full answer
DeepSeek V4 Flash 0731155 words
The total training FLOPs for GPT-3 is approximately: ~3 × 10²³ FLOPs or about 300 zettaFLOPs (more specifically ~315 zettaFLOPs). Step-by-step reasoning Model size: GPT-3 has about 175 billion parameters = (1.75 \times 10^{11}). Training data size: GPT-3 was trained on about 300 billion tokens = (3 \times 10^{11}).
Read the full answer
Our Verdict
DeepSeek V4 Flash 0731
DeepSeek V4 Flash 0731
Claude Sonnet 4
Claude Sonnet 4Runner-up

Not enough votes to call it. On the specs, DeepSeek V4 Flash 0731 has the edge: newer, bigger context window.

DeepSeek V4 Flash 0731 costs 54x less per token.

Too close to call

Reviewing agent-written code?See a Brief PR report

API pricing

Cost per 1M tokens

Claude Sonnet 4
Input
$3.00
Output
$15.00
DeepSeek V4 Flash 0731
Input
$0.14
21× cheaper
Output
$0.28
54× cheaper

DeepSeek V4 Flash 0731 is cheaper on both: 21× input, 54× output.

Where to run it

30 hosts, cheapest first

Claude Sonnet 41 host
HostInOutContextUptime
Amazon Bedrock$3.00 in·$15.00 out·200k·100% up
DeepSeek V4 Flash 073129 hosts
HostInOutContextUptime
RRelacefp4$0.03 in·$0.32 out·1M·99.8% upSSail Researchfp4$0.03 in·$0.55 out·1M·99% upSStreamLakefp8$0.05 in·$0.16 out·1M·99.6% upDDeepInfrafp8$0.06 in·$0.18 out·1M·99.8% upWWafer$0.08 in·$0.35 out·1M·100% upIInceptronfp4$0.08 in·$0.41 out·1M·99.8% up
23 more hostsFewer hosts
RReka$0.09 in·$0.53 out·262k·99.8% upMMakora$0.09 in·$0.20 out·1M·98.5% upDDigitalOcean$0.12 in·$0.24 out·1M·100% upBBasetenfp8$0.13 in·$0.26 out·1M·100% upCCoreWeavefp8$0.13 in·$0.28 out·262k·99.9% upPParasailfp8$0.14 in·$0.28 out·1M·99.6% upTTogether$0.14 in·$0.28 out·1M·98% upOOpenInferencefp8$0.14 in·$0.70 out·1M·99.2% upMMorph$0.14 in·$0.40 out·1M·99.2% upVVenice$0.17 in·$0.35 out·1M·99.6% upMMancerfp8$0.20 in·$0.60 out·1M·96% upFFireworks$0.22 in·$0.66 out·1M·98.6% upSSiliconFlowfp8$0.22 in·$0.66 out·1M·99.1% upGGMI Cloudfp8$0.29 in·$0.86 out·1M·99.9% upAlibaba Cloud$0.35 in·$1.06 out·1M·99.8% upNNextBitfp8$0.35 in·$1.06 out·1M·99.9% upNNovitafp8$0.41 in·$1.23 out·1M·100% upAAtlasCloudfp4$0.44 in·$1.32 out·1M·97.6% upBaidu Qianfanfp8$0.44 in·$1.32 out·1M·99.9% upCloudflare Workers AI$0.44 in·$1.32 out·1.3M·100% upPPhala$0.44 in·$1.32 out·1M·99.3% upCoheredegraded$0.14 in·$0.28 out·1M·99.3% upNNebiusfp8degraded$0.14 in·$0.28 out·1M·86.3% up

Per million tokens. Prices and uptime via OpenRouter, checked 25 Sep 2026.

Writing DNA

Style Comparison

Similarity
34%

Claude Sonnet 4 uses 70.1x more emoji

Claude Sonnet 4
DeepSeek V4 Flash 0731
64%Vocabulary52%
81wSentence Length18w
0.56Hedging0.38
4.5Bold5.7
6.6Lists3.4
0.70Emoji0.00
1.59Headings0.83
0.20Transitions0.04
Based on 28 + 23 text responses
Research

What we learned reading every model

FAQ

Common questions

Claude Sonnet 4 is developed by Anthropic while DeepSeek V4 Flash 0731 is developed by DeepSeek. Claude Sonnet 4 has a 200K token context window vs DeepSeek V4 Flash 0731's 1.0M. You can compare their actual outputs across 42 challenges on Rival to see how they differ in practice.

It depends on your use case. Claude Sonnet 4 and DeepSeek V4 Flash 0731 each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 42 challenges so you can judge which fits your needs best.

Claude Sonnet 4 costs $3/M input tokens and DeepSeek V4 Flash 0731 costs $0.14/M input tokens. DeepSeek V4 Flash 0731 is $2.86/M cheaper per input. Check their side-by-side outputs on Rival to see if the price difference is justified by quality.

This page shows a side-by-side comparison of Claude Sonnet 4 and DeepSeek V4 Flash 0731 across shared challenges. You can vote on which model produced the better output in a blind duel. Browsing and voting are free. No account is needed to look; signing in only saves your votes and likes.

Keep exploring

More comparisons

Against the newest arrivals

Claude Sonnet 4 logoSolar Mini 4 logo
Claude Sonnet 4 vs Solar Mini 4Landed Sep 2026
DeepSeek V4 Flash 0731 logoQwen3.8 Max Prime logo
DeepSeek V4 Flash 0731 vs Qwen3.8 Max PrimeLanded Sep 2026
Claude Sonnet 4 logoGLM 5.3 Prime logo
Claude Sonnet 4 vs GLM 5.3 PrimeLanded Sep 2026
DeepSeek V4 Flash 0731 logoQwen3.8 Omni Flash logo
DeepSeek V4 Flash 0731 vs Qwen3.8 Omni FlashLanded Sep 2026
Claude Sonnet 4 logoCommand A+ logo
Claude Sonnet 4 vs Command A+Landed Sep 2026
DeepSeek V4 Flash 0731 logoClaude Opus 5.5 logo
DeepSeek V4 Flash 0731 vs Claude Opus 5.5Landed Sep 2026
Claude Sonnet 4 logoGPT-6 Luna Pro logo
Claude Sonnet 4 vs GPT-6 Luna ProLanded Sep 2026
DeepSeek V4 Flash 0731 logoGPT-6 Sol Pro logo
DeepSeek V4 Flash 0731 vs GPT-6 Sol ProLanded Sep 2026

Same lab, same size, long tail

Claude Sonnet 4 logoClaude Opus 4 logo
Claude Sonnet 4 vs Claude Opus 4Version compare
Claude Sonnet 4 logoClaude Opus 4.6 logo
Claude Sonnet 4 vs Claude Opus 4.6Version compare
DeepSeek V4 Flash 0731 logoDeepSeek V4 Flash Vision Exp logo
DeepSeek V4 Flash 0731 vs DeepSeek V4 Flash Vision ExpSame lab
DeepSeek V4 Flash 0731 logoDeepSeek V4.1 Flash logo
DeepSeek V4 Flash 0731 vs DeepSeek V4.1 FlashSame lab
DeepSeek V4 Flash 0731 logoClaude Opus 4.8 logo
DeepSeek V4 Flash 0731 vs Claude Opus 4.8Cross-provider
DeepSeek V4 Flash 0731 logoClaude Opus 5 logo
DeepSeek V4 Flash 0731 vs Claude Opus 5Cross-provider
DeepSeek V4 Flash 0731 logoClaude Sonnet 4.6 logo
DeepSeek V4 Flash 0731 vs Claude Sonnet 4.6Same size
DeepSeek V4 Flash 0731 logoClaude Sonnet 5 logo
DeepSeek V4 Flash 0731 vs Claude Sonnet 5Same size

Model pages

Claude Sonnet 4 logo
Claude Sonnet 459 outputs, specs and price
DeepSeek V4 Flash 0731 logo
DeepSeek V4 Flash 073145 outputs, specs and price
Rival
How it worksPrivacyTerms
Explore all of Rival

Explore

  • Compare Models
  • All Models
  • Image Comparison
  • Audio Comparison
  • Image Generation
  • Best AI For...
  • Arena
  • API Pricing
  • Challenges

Discover

  • SubjectiveBench
  • Default Index
  • Research
  • Research downloads
  • Rival Kits
  • Find your AI taste
  • UI Glow-Up
  • VoiceLock
  • Cost Cutter
  • Agent skills
  • Benchmarks vs Vibes
  • Brief
  • Jailbreak
  • Model Updates
  • Provider Status
  • AI Creators

Connect

  • Methodology
  • Advertise
  • Partnerships
  • Privacy Policy
  • Terms
  • RSS Feed