Head to head

Codex vs Claude Code

Codex (OpenAI) and Claude Code (Anthropic) both sit in Coding. Claude Code shipped more tracked changes in the last 30 days (10 vs 2). Every value below comes from the latest crawl of the vendors' own pages.

AttributeCodex

OpenAI

Claude Code

Anthropic

SegmentCodingCoding
VersionCodexlatest
Entry costfrom $20/mofrom $20/mo
Pricing tiersPlus $20 · Pro $200 · Business $25 · API freePro $20 · Team (Standard seat) $25 · Team (Premium seat) $125 · Enterprise $20
Model stack5.6 Sol · Codex · GPT-4 · GPT-5.2 · GPT-5.2-Codex · GPT-5.4 · GPT-5.5 · GPT-5.6 · GPT-5.6 Luna · GPT-5.6 Sol · GPT-5.6 Terra · GPT-6 · GPT-6 Astra · GPT-6 Luna · GPT-6 Sol · GPT-Live · GPT-Live-1 · gpt-ossClaude 3.5 Sonnet · Fable 5 · Fable 5.1 · Haiku · Haiku 4.5 · Haiku 5.5 · Opus · Opus 5 · Opus 5.5 · Sonnet · Sonnet 3.5 · Sonnet 5 · Sonnet 5.5
Context window400K tokensUp to 1M varies by model
Public API
Routes models
Changes / 30d210
OriginGlobalGlobal
CapabilitiesCodex CLI, Codex IDE extension, Codex cloud, Codex Micro, Code review, Security workbench, Code generation, Codex SecurityTerminal agent, Repo-wide edits, Subagents, MCP servers, Hooks, Background tasks, Agentic coding CLI, VS Code extension

Codex

A software engineering agent that runs tasks in parallel sandboxes and opens pull requests.

Full Codex record →
Compare up to four products →