Last verified 2025-09-22 (left) · 2025-09-22 (right)
GPT-4o vs Claude Sonnet 3.7 (Legacy) — Pricing & Capability Comparison
GPT-4o charges $2.50 per million input tokens and $10.00 per million output tokens. Claude Sonnet 3.7 (Legacy) comes in at $3.00 / $15.00. Context windows span 128K vs 200K tokens respectively.
Input price (per 1M)
GPT-4o
$2.50
Claude Sonnet 3.7 (Legacy)
$3.00
GPT-4o leads here
Output price (per 1M)
GPT-4o
$10.00
Claude Sonnet 3.7 (Legacy)
$15.00
GPT-4o leads here
Context window
GPT-4o
128,000 tokens
Claude Sonnet 3.7 (Legacy)
200,000 tokens
Claude Sonnet 3.7 (Legacy) leads here
Cached input
GPT-4o
$1.250
Claude Sonnet 3.7 (Legacy)
Not published
GPT-4o leads here
Cost comparison for 10K-token workloads
Side-by-side pricing for identical workloads (10,000 total tokens per request) across different distributions.
Scenario | GPT-4o | Claude Sonnet 3.7 (Legacy) | GPT-4o cached |
---|---|---|---|
Balanced conversation 50% input · 50% output | $0.0625 | $0.0900 | $0.0563 |
Input-heavy workflow 80% input · 20% output | $0.0400 | $0.0540 | $0.0300 |
Generation heavy 30% input · 70% output | $0.0775 | $0.114 | $0.0738 |
Cached system prompt 90% cached input · 10% fresh output | $0.0325 | $0.0420 | $0.0212 |
Frequently asked questions
Which model is cheaper per million input tokens?
GPT-4o costs $2.50 per million input tokens versus $3.00 for Claude Sonnet 3.7 (Legacy).
How do output prices compare?
GPT-4o charges $10.00 per million output tokens, while Claude Sonnet 3.7 (Legacy) costs $15.00 per million.
Which model supports a larger context window?
Claude Sonnet 3.7 (Legacy) offers 200,000 tokens (200K) versus 128K for GPT-4o.