Claude Sonnet 4.6 vs GPT-5 Codex

Compare Claude Sonnet 4.6 by Anthropic against GPT-5 Codex by OpenAI, tested across 49 shared challenges. Updated April 2026.

Which is better, Claude Sonnet 4.6 or GPT-5 Codex?

Claude Sonnet 4.6 and GPT-5 Codex are both competitive models. Compare their real outputs side by side below.

Key Differences Between Claude Sonnet 4.6 and GPT-5 Codex

Claude Sonnet 4.6 is made by anthropic while GPT-5 Codex is from openai.

Our Verdict
Claude Sonnet 4.6
Claude Sonnet 4.6
GPT-5 Codex
GPT-5 Codex

No community votes yet. On paper, these are closely matched - try both with your actual task to see which fits your workflow.

Too close to call
Writing DNA

Style Comparison

Similarity
93%

Claude Sonnet 4.6 uses 4.3x more headings

Claude Sonnet 4.6
GPT-5 Codex
56%Vocabulary64%
36wSentence Length17w
0.53Hedging0.38
5.1Bold2.3
3.4Lists3.5
0.19Emoji0.15
2.10Headings0.49
0.02Transitions0.05
Based on 23 + 13 text responses
vs

Ask them anything yourself

Claude Sonnet 4.6GPT-5 Codex

279 AI models invented the same fake scientist.

We read every word. 250 models. 2.14 million words. This is what we found.

AI Hallucination Index 2026
Free preview13 of 58 slides
FAQ

Common questions