Compare
Claude 3.7 Sonnet vs GPT-5.2
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.
Model
Claude 3.7 Sonnet
Best $3.00 in · $15.00 out
Context window 200K
GPT-5.2 is cheaper across the board — 41% cheaper on input and 6% 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.
| Provider | Claude 3.7 Sonnet in | Claude 3.7 Sonnet out | GPT-5.2 in | GPT-5.2 out |
|---|---|---|---|---|
| Azure | N/A | N/A | $1.75 | $14.00 |
| Github Copilot | N/A | N/A | N/A | N/A |
| Gmi | N/A | N/A | $1.75 | $14.00 |
| Gradient | $3.00 | $15.00 | N/A | N/A |
| Heroku | N/A | N/A | N/A | N/A |
| OpenAI | N/A | N/A | $1.75 | $14.00 |
| Openrouter | $3.00 | $15.00 | $1.75 | $14.00 |
| Replicate | $3.00 | $15.00 | N/A | N/A |
| Vercel Ai Gateway | $3.00 | $15.00 | N/A | N/A |
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.
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
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.
- Context window
- 200,000 tokens
- 272,000 tokens
- Max output tokens
- 128,000 tokens
- 128,000 tokens
- Vision
- Yes
- Yes
- Function calling
- Yes
- Yes
- Streaming
- No
- No
- Release date
- Feb 2025
- Dec 2025
Cost calculator
Same requests, input tokens, and output tokens for both columns. Pick the provider row that matches how you buy.
When to pick which
Short takeaways: no cards, just the points. Validate with your own workloads.
Long-context tasks
Use GPT-5.2. Its 272K context window handles large codebases and documents better than 200K.
High-volume text generation
Use GPT-5.2. Output tokens are 6% cheaper, which compounds significantly at scale.
Frequently asked questions
More comparisons
Other popular head-to-head matchups.
- Claude 3.7 Sonnet vs Claude Sonnet 4.6
Compare pricing side by side
- Claude 3.7 Sonnet vs Claude Haiku 4.5
Compare pricing side by side
- Claude 3.7 Sonnet vs Claude Opus 4.6
Compare pricing side by side
- Claude 3.7 Sonnet vs GPT-4o
Compare pricing side by side
- GPT-5.2 vs GPT-4o
GPT-4o 28% cheaper on output
- GPT-5.2 vs GPT-4o mini
GPT-4o mini 95% cheaper on output