Claude Code vs GPT-5 Codex: Anthropic Terminal vs OpenAI Coder

Claude CodeGPT-5 Codex
arenaElo14201395
humanEval93.194.8
sweBench64.368
mmlu92.387.2
gpqa65.258.4
aime8885
Price in/out ($/M)$15 / $75$8 / $32

Our verdict

Claude Code is the CLI, GPT-5 Codex is the model. If you want OpenAI's coder inside an Anthropic-style CLI, combine Codex with Codex CLI. Compared directly: Claude Code has the better UX and agent stability, GPT-5 Codex has the better raw HumanEval.

Claude Code · GPT-5 Codex · All AI model comparisons