token.app › Compare › GPT-4o (2024-05-13) vs Claude Sonnet 5

GPT-4o (2024-05-13) vs Claude Sonnet 5

Claude Sonnet 5 is 1.9× cheaper per token on a blended 3:1 basis. Claude Sonnet 5 accepts the larger context window (1M).

Head to head
Blended price uses a 3:1 input:output mix
GPT-4o (2024-05-13)Claude Sonnet 5
ProviderOpenAIAnthropic
Input $/1M$5.00$2.00
Output $/1M$15.00$10.00
Blended $/1M$7.50$4.00
Context window128K1M
Max output4K128K
ReleasedMay 2024Jun 2026
LicenceProprietaryProprietary
Choose GPT-4o (2024-05-13) if…
  • No clear advantage on the data we hold.
Choose Claude Sonnet 5 if…
  • Costs less per token — $4.00 vs $7.50 blended
  • Larger context window (1M)
  • Newer model (released Jun 2026)
FAQ
Which is better, GPT-4o (2024-05-13) or Claude Sonnet 5?
We do not hold independently-run benchmark scores covering both GPT-4o (2024-05-13) and Claude Sonnet 5, so we make no quality claim. Their pricing and specifications are compared on this page.
Is GPT-4o (2024-05-13) cheaper than Claude Sonnet 5?
Claude Sonnet 5 is cheaper: $4.00 versus $7.50 per million tokens blended at 3:1 input:output. Input alone: $5.00 vs $2.00. Output alone: $15.00 vs $10.00.
What context windows do GPT-4o (2024-05-13) and Claude Sonnet 5 have?
GPT-4o (2024-05-13): 128,000 tokens. Claude Sonnet 5: 1,000,000 tokens.
Who makes GPT-4o (2024-05-13) and Claude Sonnet 5?
GPT-4o (2024-05-13) is made by OpenAI. Claude Sonnet 5 is made by Anthropic.
Related comparisons