All tasks / Comparisons
Claude Code vs Codex
Compared only on public benchmark results, across the 2 tasks where both are listed: Claude Code is a tier higher in 1 of 2 shared tasks, they share a tier in 1.
Claude Code
Anthropic's agentic coding tool for terminal, IDEs, desktop, web, mobile and Slack that reads, edits and runs code.
- Vendor
- Anthropic
- Kind
- Agents
- Runs
- Cloud
- Price
- From $20/mo
- Skill level
- Intermediate: some setup or configuration
- Open source
- No
- Last verified
- 18 Oct 2026
Codex
OpenAI's coding agent for the terminal, IDE, desktop app, web and iOS; the CLI is open source.
- Vendor
- OpenAI
- Kind
- Agents
- Runs
- Cloud
- Price
- Free tier · from $8/mo
- Skill level
- Intermediate: some setup or configuration
- Open source
- Yes
- Last verified
- 18 Oct 2026
Task by task
| Task | Claude Code | Codex | Higher tier |
|---|---|---|---|
| Coding Coding agents | S62 on Artificial Analysis Coding Agent Index (v2.0) · Cloud | A55 on Artificial Analysis Coding Agent Index (v2.0) · Cloud | Claude Code |
| Code review Review bots | A60% on Code Review Bench (online tracker) · Cloud | A56.1% on Code Review Bench (online tracker) · Cloud | Same tier |
A tier spans a range of scores, and small gaps on a leaderboard are often within its margin of error, so only a different tier counts as ahead. How we rank.
Same benchmark, both results
| Benchmark | Claude Code | Codex | Snapshot |
|---|---|---|---|
| Artificial Analysis Coding Agent Index (v2.0) Composite index: equal-weight mean of pass@1 on FrontierCode v1.1 (100 tasks, Cognition), Terminal-Bench 4.0 (66 tasks) and SWE-Atlas-QnA-AA (124 tasks), per agent + model, higher is better | 62 | 55 | 29 Oct 2026 |
| Code Review Bench (online tracker) F1 of precision and recall: bot suggestions matched to the fixes developers actually made after the review, on fresh merged public GitHub PRs, higher is better | 60% | 56.1% | 4 Dec 2026 |
| Terminal-Bench 2.0 Accuracy: share of terminal tasks solved by an agent harness + model pair, higher is better | 58% | 82.2% | 18 Oct 2026 |
| Terminal-Bench 2.1 Accuracy: share of terminal tasks solved by an agent harness + model pair, higher is better | 83.8% | 87.4% | 18 Oct 2026 |
| Terminal-Bench 3.0 Accuracy: share of terminal tasks solved by an agent harness + model pair, higher is better | 34% | 34.6% | 18 Oct 2026 |
| Terminal-Bench 4.0 Accuracy: share of terminal tasks solved by an agent harness + model pair, higher is better | 64.8% | 58.2% | 18 Oct 2026 |
| Terminal-Bench 4.1 Accuracy: share of terminal tasks solved by an agent harness + model pair, higher is better | 65.8% | 62.1% | 3 Dec 2026 |