Claude Sonnet 4 vs OpenAI Codex Mini

Compare Claude Sonnet 4 by Anthropic against OpenAI Codex Mini by OpenAI, in 21 community votes, claude sonnet 4 wins 67% of head-to-head duels, context windows of 200K vs 200K, tested across 10 shared challenges. Updated February 2026.

In 21 community votes, Claude Sonnet 4 wins 67% of head-to-head duels. Claude Sonnet 4 leads in Image Generation. Based on blind community voting from the RIVAL open dataset of 21+ human preference judgments for this pair.

Web Design: Claude Sonnet 4 and OpenAI Codex Mini are tied
Image Generation: Claude Sonnet 4 wins 88% of votes
FAQ