GPT-5 Codex vs Claude Sonnet 4

Compare GPT-5 Codex by OpenAI against Claude Sonnet 4 by Anthropic, in 101 community votes, gpt-5 codex and claude sonnet 4 are closely matched, tested across 30 shared challenges. Updated February 2026.

In 101 community votes, GPT-5 Codex and Claude Sonnet 4 are closely matched. GPT-5 Codex leads in Web Design, Reasoning, while Claude Sonnet 4 leads in Image Generation. Based on blind community voting from the RIVAL open dataset of 101+ human preference judgments for this pair.

Web Design: GPT-5 Codex wins 56% of votes
Image Generation: Claude Sonnet 4 wins 56% of votes
Reasoning: GPT-5 Codex wins 60% of votes
Analysis: GPT-5 Codex and Claude Sonnet 4 are tied
Conversation: GPT-5 Codex and Claude Sonnet 4 are tied
FAQ