Claude Sonnet 4 vs GPT-5.2
GPT-5.2 wins 5 of 5 benchmarks both models report. GPT-5.2 is slightly cheaper on a blended (3:1 input:output) token price. GPT-5.2 has the larger context window (400K vs 200K).
| Spec | Claude Sonnet 4 | GPT-5.2 |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Released | May 22, 2025 | Dec 11, 2025 (better) |
| Type | Reasoning LLM | Reasoning LLM |
| Parameters | — | — |
| Context window | 200K | 400K (better) |
| Max output | 64K | 125K (better) |
| Input price / 1M | $2.70 | $1.75 (better) |
| Output price / 1M | $13.50 (better) | $14 |
| Input modalities | text, image, pdf | text, image, file |
| Open weights | No | No |
| License | Proprietary | Proprietary |
| Reasoning mode | Yes | Yes |
| Tool calling | Yes | Yes |
| API providers | 7 | 36 (better) |
| Epoch Capabilities Index | — | 154.5 |
| GPQA Diamond | 79.2% | 91.4% (better) |
| Humanity's Last Exam | 7.8% | 27.8% (better) |
| SWE-bench Verified | — | 73.8% |
| Terminal-Bench | — | 64.9% |
| Aider Polyglot | 61.3% | — |
| WebDev Arena | — | 1480 |
| OTIS Mock AIME | 71.1% | 96.1% (better) |
| MATH Level 5 | 84.4% | — |
| FrontierMath | — | 67.4% |
| ARC-AGI-2 | 5.9% | 52.9% (better) |
| SimpleQA Verified | — | 37.1% |
| OSWorld | 43.9% | — |
| METR Time Horizon | 75 min | 352 min (better) |
Cost example
For a workload of 10M input + 2M output tokens per month: Claude Sonnet 4 costs $54.00 and GPT-5.2 costs $45.50 at list price (jiekou / openai pricing).
About Claude Sonnet 4
Claude Sonnet 4 is a proprietary reasoning llm from Anthropic, released May 22, 2025. It has a 200K-token context window and accepts text, image, pdf input. API pricing starts at $2.70 per million input tokens and $13.50 per million output tokens. It is available from 7 API providers. Full Claude Sonnet 4 specs →
About GPT-5.2
GPT-5.2 is a proprietary reasoning llm from OpenAI, released Dec 11, 2025. It has a 400K-token context window and accepts text, image, file input. API pricing starts at $1.75 per million input tokens and $14 per million output tokens. It is available from 36 API providers. It scores 154.5 on the Epoch Capabilities Index. Full GPT-5.2 specs →
Compare other models
FAQ
Which is better, Claude Sonnet 4 or GPT-5.2?
GPT-5.2 wins 5 of 5 benchmarks both models report. GPT-5.2 is slightly cheaper on a blended (3:1 input:output) token price. GPT-5.2 has the larger context window (400K vs 200K).
Is Claude Sonnet 4 cheaper than GPT-5.2?
Claude Sonnet 4 costs $2.70 input / $13.50 output per 1M tokens; GPT-5.2 costs $1.75 / $14. GPT-5.2 is cheaper overall.
Which has a bigger context window?
Claude Sonnet 4: 200,000 tokens. GPT-5.2: 400,000 tokens.
Are Claude Sonnet 4 and GPT-5.2 open source?
Claude Sonnet 4 is proprietary; GPT-5.2 is proprietary.