Claude Sonnet 3.6 (2022-10-22) vs GPT-5.1-Codex

Compare Claude Sonnet 3.6 (2022-10-22) by Anthropic against GPT-5.1-Codex by OpenAI, context windows of 200K vs 400K, tested across 53 shared challenges. Updated April 2026.

Which is better, Claude Sonnet 3.6 (2022-10-22) or GPT-5.1-Codex?

Claude Sonnet 3.6 (2022-10-22) and GPT-5.1-Codex are both competitive models. Claude Sonnet 3.6 (2022-10-22) costs $3/M input tokens vs $1.25/M for GPT-5.1-Codex. Context windows: 200K vs 400K tokens. Compare their real outputs side by side below.

Key Differences Between Claude Sonnet 3.6 (2022-10-22) and GPT-5.1-Codex

Claude Sonnet 3.6 (2022-10-22) is made by anthropic while GPT-5.1-Codex is from openai. Claude Sonnet 3.6 (2022-10-22) has a 200K token context window compared to GPT-5.1-Codex's 400K. On pricing, Claude Sonnet 3.6 (2022-10-22) costs $3/M input tokens vs $1.25/M for GPT-5.1-Codex.

Our Verdict
GPT-5.1-Codex
GPT-5.1-Codex
Claude Sonnet 3.6 (2022-10-22)
Claude Sonnet 3.6 (2022-10-22)Runner-up

No community votes yet. On paper, GPT-5.1-Codex has the edge — bigger model tier, newer, bigger context window.

Slight edge
Writing DNA

Style Comparison

Similarity
94%

GPT-5.1-Codex uses 10.3x more bold

Claude Sonnet 3.6 (2022-10-22)
GPT-5.1-Codex
66%Vocabulary70%
74wSentence Length17w
0.72Hedging0.39
0.3Bold3.4
8.9Lists3.5
0.00Emoji0.00
0.06Headings0.50
0.09Transitions0.38
Based on 21 + 14 text responses
vs

Ask them anything yourself

Claude Sonnet 3.6 (2022-10-22)GPT-5.1-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