Claude Sonnet 4.6 vs GPT-5.2 Codex: Specs & Benchmark Comparison

CharacteristicClaude Sonnet 4.6GPT-5.2 Codex
CompanyAnthropicOpenAI
Release DateFebruary 17, 2026January 13, 2026
Parameters
MultimodalYesYes
Context (input)200K400K
Context (output)64K128K
Input Price / 1M$3.00$1.75
Output Price / 1M$15.00$14.00
Average Score0.70.6

Verdict

GPT-5.2 Codex leads in 2 out of 4 comparison categories.

Overall Performance

Both models show comparable average scores: Claude Sonnet 4.6 — 0.7, GPT-5.2 Codex — 0.6.

API Cost

GPT-5.2 Codex is 1.1x cheaper: input $1.75/1M vs $3.00/1M tokens.

Context Window

GPT-5.2 Codex supports a larger context: 400K vs 200K tokens.

Recency

Claude Sonnet 4.6 is newer: released 2/17/2026 vs 1/13/2026.

More About These Models

Related Comparisons

The Claude Sonnet 4.6 and GPT-5.2 Codex comparison is updated for 2026. Data includes benchmark results, API pricing, context window size and other specifications. For more detailed information, visit the Claude Sonnet 4.6 or GPT-5.2 Codex page. See also the complete list of AI model comparisons.