Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
OpenAI
OpenAI

Claude 3.7 Sonnet vs GPT-5.2 Pro

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Claude 3.7 Sonnet wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Has reasoning mode

GPT-5.2 Pro wins:

  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
Price Advantage
Claude 3.7 Sonnet
Benchmark Advantage
GPT-5.2 Pro
Context Window
GPT-5.2 Pro
Speed
GPT-5.2 Pro

Pricing Comparison

Price Comparison

MetricClaude 3.7 SonnetGPT-5.2 ProWinner
Input (per 1M tokens)$3.00$21.00 Claude 3.7 Sonnet
Output (per 1M tokens)$15.00$168.00 Claude 3.7 Sonnet
Cache Read (per 1M)$300000.00N/A Claude 3.7 Sonnet
Cache Write (per 1M)$3750000.00N/A Claude 3.7 Sonnet
Using a 3:1 input/output ratio, Claude 3.7 Sonnet is 90% cheaper overall.

Claude 3.7 Sonnet Providers

Vercel $3.00 (Cheapest)
Amazon Bedrock $3.00 (Cheapest)
Google $3.00 (Cheapest)
Anthropic $3.00 (Cheapest)

GPT-5.2 Pro Providers

OpenAI $21.00 (Cheapest)

Benchmark Comparison

8
Benchmarks Compared
0
Claude 3.7 Sonnet Wins
6
GPT-5.2 Pro Wins

Benchmark Scores

BenchmarkClaude 3.7 SonnetGPT-5.2 ProWinner
Intelligence Index
Overall intelligence score
30.851.2
Coding Index
Code generation & understanding
26.748.7
Math Index
Mathematical reasoning
21.099.0
MMLU Pro
Academic knowledge
80.387.4
GPQA
Graduate-level science
65.690.3
LiveCodeBench
Competitive programming
39.488.9
Aider
Real-world code editing
64.9--
AIME
Competition math
22.3--
GPT-5.2 Pro significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Claude 3.7 Sonnet
Other models

Context & Performance

Context Window

Claude 3.7 Sonnet
200,000
tokens
Max output: 64,000 tokens
GPT-5.2 Pro
400,000
tokens
Max output: 128,000 tokens
GPT-5.2 Pro has a 50% larger context window.

Speed Performance

MetricClaude 3.7 SonnetGPT-5.2 ProWinner
Tokens/second0.0 tok/s98.3 tok/s
Time to First Token0.00s46.57s
GPT-5.2 Pro responds Infinity% faster on average.

Capabilities

Feature Comparison

FeatureClaude 3.7 SonnetGPT-5.2 Pro
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyClaude 3.7 SonnetGPT-5.2 Pro
LicenseProprietaryProprietary
AuthorAnthropicOpenAI
ReleasedFeb 2025Dec 2025

Claude 3.7 Sonnet Modalities

Input
textimagefile
Output
text

GPT-5.2 Pro Modalities

Input
imagetextfile
Output
text

Related Comparisons

Compare Claude 3.7 Sonnet with:

Compare GPT-5.2 Pro with:

Frequently Asked Questions

Claude 3.7 Sonnet has cheaper input pricing at $3.00/M tokens. Claude 3.7 Sonnet has cheaper output pricing at $15.00/M tokens.
GPT-5.2 Pro scores higher on coding benchmarks with a score of 48.7, compared to Claude 3.7 Sonnet's score of 26.7.
Claude 3.7 Sonnet has a 200,000 token context window, while GPT-5.2 Pro has a 400,000 token context window.
Claude 3.7 Sonnet supports vision. GPT-5.2 Pro supports vision.