ZMIME
Comparison · 3 models · Updated Nov 2, 2026

GPT-4o vs Claude Haiku 3.5 vs Claude Sonnet 3.5 v2

Too close to call on our weighted score (Claude Haiku 3.5 46, Claude Sonnet 3.5 v2 44, GPT-4o 43). The right pick depends on what you value most.

  1. OpenAI

    GPT-4o

    Released May 13, 2024

    43/100
    • ECI129.0
    • Price$2.50 / $10.00
    • Context128K
  2. Anthropic

    Claude Haiku 3.5

    Released Oct 22, 2024

    46/100
    • ECI127.0
    • Price$0.80 / $4.00
    • Context200K
  3. Anthropic

    Claude Sonnet 3.5 v2

    Released Oct 22, 2024

    44/100
    • ECI133.4
    • Price$2.80 / $14.00
    • Context200K
01 — Verdict

Too close to call

It is close. Our weighted score puts them within 2 points (Claude Haiku 3.5 46/100, Claude Sonnet 3.5 v2 44/100, GPT-4o 43/100), so choose by what matters most for your work: Claude Sonnet 3.5 v2 for raw capability and Claude Haiku 3.5 on price. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

  • CapabilityClaude Sonnet 3.5 v2Capabilities Index (ECI): Claude Sonnet 3.5 v2 133.4 · GPT-4o 129.0 · Claude Haiku 3.5 127.0
  • Lowest priceClaude Haiku 3.5Claude Haiku 3.5 $1.60 · GPT-4o $4.38 · Claude Sonnet 3.5 v2 $5.60 per 1M tokens (3:1 blend)
  • Longest contextClaude Haiku 3.5 and Claude Sonnet 3.5 v2Claude Haiku 3.5 200,000 · Claude Sonnet 3.5 v2 200,000 · GPT-4o 128,000 tokens
  • Widest inputsSame inputsGPT-4o: Text, Images, PDFs · Claude Haiku 3.5: Text, Images, PDFs · Claude Sonnet 3.5 v2: Text, Images, PDFs
  • Self-hostingNo open weightsAll three are available only through APIs
How the score is built
MeasureWeightGPT-4oClaude Haiku 3.5Claude Sonnet 3.5 v2
CapabilityCapabilities Index (ECI)50%514856
Price25%193814
Inputs & features15%706060
Context window10%243232
Overall100%43/10046/10044/100
02 — Side by side

Every spec in one table

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

GPT-4o vs Claude Haiku 3.5 vs Claude Sonnet 3.5 v2 specifications side by side
SpecificationGPT-4oOpenAIClaude Haiku 3.5AnthropicClaude Sonnet 3.5 v2Anthropic
Capability
Capabilities Index (ECI)129.0127.0133.4 (best)
ECI rank#141 of 165#147 of 165#133 of 165 (best)
GPQA DiamondGraduate-level science questions48.9%38.1%55.3% (best)
OTIS Mock AIME 2024–2025Competition mathematics6.3%4.3%8.5% (best)
Price per million tokens
Input$2.50$0.80 (best)$2.80
Output$10.00$4.00 (best)$14.00
Cached input$1.25——
Blended (3:1)$4.38$1.60 (best)$5.60
Long-context rateSame rateSame rateSame rate
Price sourceOfficial OpenAI APIMedian of 3 providersMedian of 2 providers
Limits
Context window128,000 tokens200,000 tokens (best)200,000 tokens (best)
Max output16,384 tokens (best)8,192 tokens8,192 tokens
Inputs and features
TextYesYesYes
ImagesYesYesYes
PDFsYesYesYes
AudioNoNoNo
VideoNoNoNo
ReasoningNoNoNo
Tool callingYesYesYes
Structured outputYesNoNo
Availability
WeightsProprietaryProprietaryProprietary
API model IDgpt-4o——
API providers26 (best)43
ReleasedMay 13, 2024Oct 22, 2024Oct 22, 2024
Knowledge cutoffSep 2023Jul 31, 2024Apr 30, 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-4o$45.00
  • Claude Haiku 3.5$16.00
  • Claude Sonnet 3.5 v2$56.00
04 — Questions

Which should you choose?

Which is better: GPT-4o, Claude Haiku 3.5 or Claude Sonnet 3.5 v2?

It is close. Our weighted score puts them within 2 points (Claude Haiku 3.5 46/100, Claude Sonnet 3.5 v2 44/100, GPT-4o 43/100), so choose by what matters most for your work: Claude Sonnet 3.5 v2 for raw capability and Claude Haiku 3.5 on price. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

Which is cheaper, GPT-4o, Claude Haiku 3.5 or Claude Sonnet 3.5 v2?

Claude Haiku 3.5 is cheaper at $0.80 input / $4.00 output per million tokens (median across 3 API providers). GPT-4o costs $2.50 input / $10.00 output per million tokens (official OpenAI API price); Claude Sonnet 3.5 v2 costs $2.80 input / $14.00 output per million tokens (median across 2 API providers). At a typical mix of three input tokens to one output token, that is $1.60 per million tokens for Claude Haiku 3.5 versus $4.38 for GPT-4o (2.7× as much) and $5.60 for Claude Sonnet 3.5 v2 (3.5× as much).

Which scores higher on benchmarks?

Claude Sonnet 3.5 v2 scores higher on the Capabilities Index (ECI): Claude Sonnet 3.5 v2 133.4 (#133 of 165), GPT-4o 129.0 (#141 of 165) and Claude Haiku 3.5 127.0 (#147 of 165). The confidence ranges of the top two overlap (128.5–137.7 vs 124.7–131.3), so treat the gap as small. On individual benchmarks: GPQA Diamond — Claude Sonnet 3.5 v2 55.3%, GPT-4o 48.9%, Claude Haiku 3.5 38.1%; OTIS Mock AIME 2024–2025 — Claude Sonnet 3.5 v2 8.5%, GPT-4o 6.3%, Claude Haiku 3.5 4.3%.

Which is better for coding?

There are no published SWE-bench Verified results for GPT-4o, Claude Haiku 3.5 and Claude Sonnet 3.5 v2 yet, so there is no like-for-like coding score. On overall capability, Claude Sonnet 3.5 v2 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?

Claude Haiku 3.5 and Claude Sonnet 3.5 v2 have the largest context windows (200,000 and 200,000 tokens), against 128,000 for GPT-4o. Maximum output per response: GPT-4o up to 16,384, Claude Haiku 3.5 up to 8,192, Claude Sonnet 3.5 v2 up to 8,192 tokens.

Which can read images, PDFs, audio or video?

GPT-4o accepts text, images and PDFs; Claude Haiku 3.5 accepts text, images and PDFs; Claude Sonnet 3.5 v2 accepts text, images and PDFs. They handle the same number of input types.

Are any of these open source?

No. GPT-4o, Claude Haiku 3.5 and Claude Sonnet 3.5 v2 are proprietary and only available through APIs and apps.

Which is newer?

Claude Haiku 3.5 is the newest, released Oct 22, 2024. Claude Sonnet 3.5 v2 came out Oct 22, 2024; GPT-4o came out May 13, 2024. Knowledge cutoff: GPT-4o Sep 2023, Claude Haiku 3.5 Jul 31, 2024, Claude Sonnet 3.5 v2 Apr 30, 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 Nov 2, 2026.