Compare

Claude 3 Sonnet 20240229 V1 0 vs GPT-4

Pricing is only the shared seller matrix below. Best rates and catalog map are separate sections, so no chart is embedded in pricing. Open the calculator for the same workload on each side.

Anthropic

Model

Claude 3 Sonnet 20240229 V1 0

Image inputTool calling

Best $3.00 in · $15.00 out

Context window 200K

Pricing
OpenAI

Model

GPT-4

Tool calling

Best $10.00 in · $30.00 out

Context window 8K

Pricing

Claude 3 Sonnet 20240229 V1 0 is cheaper across the board — 90% cheaper on input and 75% cheaper on output.

Pricing matrix

Shared sellers only. Each row is a host that lists both models. Dollar amounts are per 1M tokens. Lowest in each pair of columns is emphasized.

ProviderClaude 3 Sonnet 20240229 V1 0 inClaude 3 Sonnet 20240229 V1 0 outGPT-4 inGPT-4 out
Aws Bedrock$3.00$15.00N/AN/A
AzureN/AN/A$30.00$60.00
Github CopilotN/AN/AN/AN/A
OpenAIN/AN/A$30.00$60.00
OpenrouterN/AN/A$30.00$60.00
Vercel Ai GatewayN/AN/A$10.00$30.00

Best listed rates (this pair)

Same "best row in current pricing" logic as model pages: a compact view of the lowest input and output we show for each side. This is not the seller matrix.

Catalog map · Anthropic · OpenAI

Each chart uses real catalog rows that include both list input and list output ($/1M). Larger green dots are the models on this comparison page; accent dots are other active models from that provider.

Anthropic · input vs output

Scatter chart: X = input $/M, Y = output $/M. This page's models are labeled on the green dots; hover others for detail.

ListedoutputUSD/1M

One dot per catalog row that has both list prices. Green dots are labeled with the models on this page; hover any dot for name and prices. Upper-right means higher cost on both axes ($/1M).

OpenAI · input vs output

ListedoutputUSD/1M

One dot per catalog row that has both list prices. Green dots are labeled with the models on this page; hover any dot for name and prices. Upper-right means higher cost on both axes ($/1M).

Specifications

Each column header is the full model name. Tint marks the favorable value where we compute a winner.

Spec
Claude 3 Sonnet 20240229 V1 0
GPT-4
Context window
200,000 tokens
8,192 tokens
Max output tokens
4,096 tokens
4,096 tokens
Vision
Yes
No
Function calling
Yes
Yes
Streaming
No
No
Release date
N/A
May 2023

Cost calculator

Same requests, input tokens, and output tokens for both columns. Pick the provider row that matches how you buy.

Claude 3 Sonnet 20240229 V1 0
Monthly
$3.1K
Annual
$38.3K
GPT-4
Monthly
$7.5K
Annual
$91.3K
Save $4.3K/month with Claude 3 Sonnet 20240229 V1 0

When to pick which

Short takeaways: no cards, just the points. Validate with your own workloads.

  • Long-context tasks

    Use Claude 3 Sonnet 20240229 V1 0. Its 200K context window handles large codebases and documents better than 8K.

  • High-volume text generation

    Use Claude 3 Sonnet 20240229 V1 0. Output tokens are 75% cheaper, which compounds significantly at scale.

Frequently asked questions

Claude 3 Sonnet 20240229 V1 0 is cheaper on both input and output tokens.

More comparisons

Other popular head-to-head matchups.