ZMIME
Comparison · 3 models · Updated Nov 18, 2026

DeepSeek-R1 vs Claude Sonnet 4 vs GPT-4.1

Too close to call on our weighted score (GPT-4.1 55, Claude Sonnet 4 52, DeepSeek-R1 50). The right pick depends on what you value most.

Price in rating: Included · Exclude price

  1. DeepSeek

    DeepSeek-R1

    Released Jan 20, 2025

    50/100
    • ECI138.6
    • Price$1.02 / $5.14
    • Context128K
  2. Anthropic

    Claude Sonnet 4

    Released May 22, 2025

    52/100
    • ECI141.9
    • Price$3.00 / $15.00
    • Context200K
  3. OpenAI

    GPT-4.1

    Released Apr 14, 2025

    55/100
    • ECI136.2
    • Price$2.00 / $8.00
    • Context1.05M
01 — Verdict

Too close to call

It is close. Our weighted score puts them within 3 points (GPT-4.1 55/100, Claude Sonnet 4 52/100, DeepSeek-R1 50/100), so choose by what matters most for your work: Claude Sonnet 4 for raw capability, DeepSeek-R1 on price and GPT-4.1 for long inputs. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

  • CapabilityClaude Sonnet 4Capabilities Index (ECI): Claude Sonnet 4 141.9 · DeepSeek-R1 138.6 · GPT-4.1 136.2
  • Lowest priceDeepSeek-R1DeepSeek-R1 $2.05 · GPT-4.1 $3.50 · Claude Sonnet 4 $6.00 per 1M tokens (3:1 blend)
  • Longest contextGPT-4.1GPT-4.1 1,047,576 · Claude Sonnet 4 200,000 · DeepSeek-R1 128,000 tokens
  • Widest inputsClaude Sonnet 4 and GPT-4.1DeepSeek-R1: Text · Claude Sonnet 4: Text, Images, PDFs · GPT-4.1: Text, Images, PDFs
  • Self-hostingDeepSeek-R1Publishes downloadable weights
How the score is built
MeasureWeightDeepSeek-R1Claude Sonnet 4GPT-4.1
CapabilityCapabilities Index (ECI)50%677064
Price25%341223
Inputs & features15%357070
Context window10%323965
Overall100%50/10052/10055/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

DeepSeek-R1 vs Claude Sonnet 4 vs GPT-4.1 specifications side by side
SpecificationDeepSeek-R1DeepSeekClaude Sonnet 4AnthropicGPT-4.1OpenAI
Capability
Capabilities Index (ECI)138.6141.9 (best)136.2
ECI rank#118 of 158#104 of 158 (best)#123 of 158
GPQA DiamondGraduate-level science questions71.7%79.2% (best)66.9%
FrontierMath Tiers 1–3Research-level mathematics——6.0%
OTIS Mock AIME 2024–2025Competition mathematics53.3%71.1% (best)38.3%
SWE-bench VerifiedFixing real GitHub issues——48.5%
SimpleQA VerifiedShort factual questions——31.1%
Price per million tokens
Input$1.02 (best)$3.00$2.00
Output$5.14 (best)$15.00$8.00
Cached input——$0.50
Blended (3:1)$2.05 (best)$6.00$3.50
Long-context rateSame rateSame rateSame rate
Price sourceMedian of 12 providersMedian of 10 providersOfficial OpenAI API
Limits
Context window128,000 tokens200,000 tokens1,047,576 tokens (best)
Max output32,768 tokens64,000 tokens (best)32,768 tokens
Inputs and features
TextYesYesYes
ImagesNoYesYes
PDFsNoYesYes
AudioNoNoNo
VideoNoNoNo
ReasoningYesYesNo
Tool callingYesYesYes
Structured outputNoNoYes
Availability
WeightsOpenProprietaryProprietary
API model ID——gpt-4.1
API providers131132 (best)
ReleasedJan 20, 2025May 22, 2025Apr 14, 2025
Knowledge cutoffJul 2024Mar 31, 2025Apr 2024
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • DeepSeek-R1$20.53
  • Claude Sonnet 4$60.00
  • GPT-4.1$36.00
04 — Questions

Which should you choose?

Which is better: DeepSeek-R1, Claude Sonnet 4 or GPT-4.1?

It is close. Our weighted score puts them within 3 points (GPT-4.1 55/100, Claude Sonnet 4 52/100, DeepSeek-R1 50/100), so choose by what matters most for your work: Claude Sonnet 4 for raw capability, DeepSeek-R1 on price and GPT-4.1 for long inputs. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

Which is cheaper, DeepSeek-R1, Claude Sonnet 4 or GPT-4.1?

DeepSeek-R1 is cheaper at $1.02 input / $5.14 output per million tokens (median across 12 API providers). GPT-4.1 costs $2.00 input / $8.00 output per million tokens (official OpenAI API price); Claude Sonnet 4 costs $3.00 input / $15.00 output per million tokens (median across 10 API providers). At a typical mix of three input tokens to one output token, that is $2.05 per million tokens for DeepSeek-R1 versus $3.50 for GPT-4.1 (1.7× as much) and $6.00 for Claude Sonnet 4 (2.9× as much).

Which scores higher on benchmarks?

Claude Sonnet 4 scores higher on the Capabilities Index (ECI): Claude Sonnet 4 141.9 (#104 of 158), DeepSeek-R1 138.6 (#118 of 158) and GPT-4.1 136.2 (#123 of 158). The confidence ranges of the top two overlap (140.3–143.4 vs 136.7–140.4), so treat the gap as small. On individual benchmarks: GPQA Diamond — Claude Sonnet 4 79.2%, DeepSeek-R1 71.7%, GPT-4.1 66.9%; OTIS Mock AIME 2024–2025 — Claude Sonnet 4 71.1%, DeepSeek-R1 53.3%, GPT-4.1 38.3%.

Which is better for coding?

There are no published SWE-bench Verified results for DeepSeek-R1 and Claude Sonnet 4 yet, so there is no like-for-like coding score. On overall capability, Claude Sonnet 4 leads, which tends to carry over to coding, but test on your own codebase. All three support tool calling for agent workflows.

Which has the bigger context window?

GPT-4.1 has the largest context window at 1,047,576 tokens, against 200,000 for Claude Sonnet 4 and 128,000 for DeepSeek-R1. Maximum output per response: DeepSeek-R1 up to 32,768, Claude Sonnet 4 up to 64,000, GPT-4.1 up to 32,768 tokens.

Which can read images, PDFs, audio or video?

DeepSeek-R1 accepts text; Claude Sonnet 4 accepts text, images and PDFs; GPT-4.1 accepts text, images and PDFs. Claude Sonnet 4 handles the widest range of inputs.

Are any of these open source?

DeepSeek-R1 publishes its weights and can be self-hosted; Claude Sonnet 4 and GPT-4.1 is proprietary.

Which is newer?

Claude Sonnet 4 is the newest, released May 22, 2025. GPT-4.1 came out Apr 14, 2025; DeepSeek-R1 came out Jan 20, 2025. Knowledge cutoff: DeepSeek-R1 Jul 2024, Claude Sonnet 4 Mar 31, 2025, GPT-4.1 Apr 2024.

How do you decide the winner?

This rating uses capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 18, 2026.