Skip to content

chatgpt-4o-latest vs Claude Sonnet 4

Both have similar output pricing, while Claude Sonnet 4 offers a larger context window. Choose chatgpt-4o-latest or Claude Sonnet 4 based on the trade-off between cost, context, and the benchmarks that matter for your use case.

Specchatgpt-4o-latestClaude Sonnet 4
Provider302.AIAnthropic
Input / 1M tokens$5.00$3.00
Output / 1M tokens$15.00$15.00
Context window128K200K
Parameters——
Open weightsNoNo
ReleasedAug 2024May 2025
Aider Polyglot score45.361.3
LMArena (Chatbot Arena) Elo score14281351
LMArena Vision Elo score12431191
SWE-bench Verified score—76.8
GPQA Diamond score—78.3
FrontierMath score—4.1
Epoch Capabilities Index score—142

FAQ

Is chatgpt-4o-latest or Claude Sonnet 4 cheaper?

chatgpt-4o-latest and Claude Sonnet 4 have comparable output pricing.

Which has the larger context window, chatgpt-4o-latest or Claude Sonnet 4?

Claude Sonnet 4 has the larger context window (200K tokens).

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.