Claude Sonnet 4 vs GPT-5

13 shared structured fields

Side-by-side

Claude Sonnet 4GPT-5
ProviderAnthropicOpenAI
Context window200K128K
Max output8K16K
Licenseproprietaryproprietary
Released2026-03-182026-02-14
Input / 1M$3.00$5.00
Output / 1M$15.00$20.00
Modalitiestext, visiontext, vision, audio

Benchmarks

GPQA Diamond Claude Sonnet 4: 72.5% GPT-5: 68.0% 72.5% / 68.0% SWE-bench Claude Sonnet 4: 61.9% GPT-5: 59.5% 61.9% / 59.5% AIME 2025 Claude Sonnet 4: 45.1% GPT-5: 41.9% 45.1% / 41.9% LiveCodeBench Claude Sonnet 4: 56.4% GPT-5: 52.1% 56.4% / 52.1% MMLU Claude Sonnet 4: 88.7% GPT-5: 87.5% 88.7% / 87.5% Claude Sonnet 4 GPT-5

Price delta

Claude Sonnet 4 is 40.0% cheaper per 1M input tokens ($3.00 vs $5.00).

Summary

This section is a stub — fill it in with your perspective on Claude Sonnet 4 vs GPT-5. The auto-generated comparison above gives the structured facts; the narrative belongs to you.