ZMIME
Comparison · 3 models · Updated Oct 4, 2026

GPT-4.1 vs o3 vs Claude Sonnet 3.7

o3 comes out ahead, 58 to 53 and 50 on our weighted score.

  1. OpenAI

    GPT-4.1

    Released Apr 14, 2025

    53/100
    • ECI136.8
    • Price$2.00 / $8.00
    • Context1.05M
  2. Our pick

    OpenAI

    o3

    Released Apr 16, 2025

    58/100
    • ECI146.9
    • Price$2.00 / $8.00
    • Context200K
  3. Anthropic

    Claude Sonnet 3.7

    Released Feb 19, 2025

    50/100
    • ECI141.2
    • Price$3.00 / $15.00
    • Context200K
01 — Verdict

o3 is our pick

o3 is the better all-round choice, scoring 58/100 against GPT-4.1 (53) and Claude Sonnet 3.7 (50). It leads on capability and inputs & features. GPT-4.1 wins on context window. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

  • Capabilityo3Capabilities Index (ECI): o3 146.9 · Claude Sonnet 3.7 141.2 · GPT-4.1 136.8
  • Lowest priceGPT-4.1 and o3GPT-4.1 $3.50 · o3 $3.50 · Claude Sonnet 3.7 $6.00 per 1M tokens (3:1 blend)
  • Longest contextGPT-4.1GPT-4.1 1,047,576 · o3 200,000 · Claude Sonnet 3.7 200,000 tokens
  • Widest inputsSame inputsGPT-4.1: Text, Images, PDFs · o3: Text, Images, PDFs · Claude Sonnet 3.7: Text, Images, PDFs
  • Self-hostingNo open weightsAll three are available only through APIs
How the score is built
MeasureWeightGPT-4.1o3Claude Sonnet 3.7
CapabilityCapabilities Index (ECI)50%617467
Price25%242413
Inputs & features15%708070
Context window10%613232
Overall100%53/10058/10050/100
02 — Side by side

Every spec in one table

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

GPT-4.1 vs o3 vs Claude Sonnet 3.7 specifications side by side
SpecificationGPT-4.1OpenAIo3OpenAIClaude Sonnet 3.7Anthropic
Capability
Capabilities Index (ECI)136.8146.9 (best)141.2
ECI rank#111 of 148#63 of 148 (best)#96 of 148
GPQA DiamondGraduate-level science questions66.9%81.8% (best)79.7%
FrontierMath Tiers 1–3Research-level mathematics6.0%33.3% (best)—
OTIS Mock AIME 2024–2025Competition mathematics38.3%84.4% (best)57.8%
SWE-bench VerifiedFixing real GitHub issues48.5%62.3% (best)61.0%
SimpleQA VerifiedShort factual questions31.1%49.4% (best)—
Price per million tokens
Input$2.00 (best)$2.00 (best)$3.00
Output$8.00 (best)$8.00 (best)$15.00
Cached input$0.50$0.50—
Blended (3:1)$3.50 (best)$3.50 (best)$6.00
Long-context rateSame rateSame rateSame rate
Price sourceOfficial OpenAI APIOfficial OpenAI APIMedian of 3 providers
Limits
Context window1,047,576 tokens (best)200,000 tokens200,000 tokens
Max output32,768 tokens100,000 tokens (best)64,000 tokens
Inputs and features
TextYesYesYes
ImagesYesYesYes
PDFsYesYesYes
AudioNoNoNo
VideoNoNoNo
ReasoningNoYeslow · medium · highYes
Tool callingYesYesYes
Structured outputYesYesNo
Availability
WeightsProprietaryProprietaryProprietary
API model IDgpt-4.1o3—
API providers25 (best)183
ReleasedApr 14, 2025Apr 16, 2025Feb 19, 2025
Knowledge cutoffApr 2024May 2024Oct 31, 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.

  • GPT-4.1$36.00
  • o3$36.00
  • Claude Sonnet 3.7$60.00
04 — Questions

Which should you choose?

Which is better: GPT-4.1, o3 or Claude Sonnet 3.7?

o3 is the better all-round choice, scoring 58/100 against GPT-4.1 (53) and Claude Sonnet 3.7 (50). It leads on capability and inputs & features. GPT-4.1 wins on context window. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

Which is cheaper, GPT-4.1, o3 or Claude Sonnet 3.7?

GPT-4.1 is cheaper at $2.00 input / $8.00 output per million tokens (official OpenAI API price). o3 costs $2.00 input / $8.00 output per million tokens (official OpenAI API price); Claude Sonnet 3.7 costs $3.00 input / $15.00 output per million tokens (median across 3 API providers). At a typical mix of three input tokens to one output token, that is $3.50 per million tokens for GPT-4.1 versus $3.50 for o3 (1× as much) and $6.00 for Claude Sonnet 3.7 (1.7× as much).

Which scores higher on benchmarks?

o3 scores higher on the Capabilities Index (ECI): o3 146.9 (#63 of 148), Claude Sonnet 3.7 141.2 (#96 of 148) and GPT-4.1 136.8 (#111 of 148). Their confidence ranges do not overlap (144.9–148.6 vs 138.7–142.9), so the gap is a real one. On individual benchmarks: GPQA Diamond — o3 81.8%, Claude Sonnet 3.7 79.7%, GPT-4.1 66.9%; OTIS Mock AIME 2024–2025 — o3 84.4%, Claude Sonnet 3.7 57.8%, GPT-4.1 38.3%; SWE-bench Verified — o3 62.3%, Claude Sonnet 3.7 61.0%, GPT-4.1 48.5%.

Which is better for coding?

o3 resolves more real GitHub issues on SWE-bench Verified: o3 62.3%, Claude Sonnet 3.7 61.0% and GPT-4.1 48.5%. 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 o3 and 200,000 for Claude Sonnet 3.7. Maximum output per response: GPT-4.1 up to 32,768, o3 up to 100,000, Claude Sonnet 3.7 up to 64,000 tokens.

Which can read images, PDFs, audio or video?

GPT-4.1 accepts text, images and PDFs; o3 accepts text, images and PDFs; Claude Sonnet 3.7 accepts text, images and PDFs. They handle the same number of input types.

Are any of these open source?

No. GPT-4.1, o3 and Claude Sonnet 3.7 are proprietary and only available through APIs and apps.

Which is newer?

o3 is the newest, released Apr 16, 2025. GPT-4.1 came out Apr 14, 2025; Claude Sonnet 3.7 came out Feb 19, 2025. Knowledge cutoff: GPT-4.1 Apr 2024, o3 May 2024, Claude Sonnet 3.7 Oct 31, 2024.

How do you decide the winner?

Each model gets a 0–100 score on 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 Oct 4, 2026.