The AI arena is free today

Open Superagent

Claude Opus 4.6 vs GPT-5.2 Codex

Claude Opus 4.6 and GPT-5.2 Codex are closely matched at 45.3 and 34.6 on the LLM Stats Score. GPT-5.2 Codex is 2.1x cheaper per token.

Anthropic · OpenAI · Updated for 2026

Which is better?

Claude Opus 4.6 and GPT-5.2 Codex are closely matched on the overall LLM Stats Score at 45.3 and 34.6.

In the 2 individual benchmarks reported for both models, Claude Opus 4.6 wins 2; this is a narrower head-to-head signal than the composite indexes.

On price, GPT-5.2 Codex is roughly 2.1x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Claude Opus 4.6 also accepts a larger context window (1,000,000 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose Claude Opus 4.6

  • you value its reported benchmark strengths — it wins 2 of 2 exact shared results
  • you process long inputs — it offers a 1,000,000 token context window
  • you want the most recent training data — it shipped Feb 2026

Choose GPT-5.2 Codex

  • cost matters — it's about 2.1x cheaper per token

At a glance

The differences that matter most.

Core performance indexes
45.3
#29
34.6
#81
45.7
#23
34.9
#76
33.3
#30
25.1
#61
28.1
#34
18.9
#56
Cost, coverage & limits
Benchmark wins
2 of 2
0 of 2
Input price
$5.00 / M
$1.75 / M
Output price
$25.00 / M
$14.00 / M
Context window
1,000,000
400,000

Individual benchmarks

27 reported for Claude Opus 4.6 · 3 for GPT-5.2 Codex

2 shared

Claude Opus 4.6 outperforms in 2 benchmarks (LiveBench, Terminal-Bench 2.0), while GPT-5.2 Codex is better at 0 benchmarks.

Claude Opus 4.6 significantly outperforms across most benchmarks.

Tue Sep 01 2026 • llm-stats.com

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

GPT-5.2 Codex costs less

For input processing, Claude Opus 4.6 ($5.00/1M tokens) is 2.9x more expensive than GPT-5.2 Codex ($1.75/1M tokens).

For output processing, Claude Opus 4.6 ($25.00/1M tokens) is 1.8x more expensive than GPT-5.2 Codex ($14.00/1M tokens).

In conclusion, Claude Opus 4.6 is more expensive than GPT-5.2 Codex.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Tue Sep 01 2026 • llm-stats.com
Anthropic
Claude Opus 4.6
Input tokens$5.00
Output tokens$25.00
Best providerAnthropic
OpenAI
GPT-5.2 Codex
Input tokens$1.75
Output tokens$14.00
Best providerOpenAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Claude Opus 4.6 accepts 1,000,000 input tokens compared to GPT-5.2 Codex's 400,000 tokens. Both models can generate responses up to 128,000 tokens.

Anthropic
Claude Opus 4.6
Input1,000,000 tokens
Output128,000 tokens
OpenAI
GPT-5.2 Codex
Input400,000 tokens
Output128,000 tokens
Tue Sep 01 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Both Claude Opus 4.6 and GPT-5.2 Codex support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Claude Opus 4.6

Text
Images
Audio
Video

GPT-5.2 Codex

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Claude Opus 4.6

Proprietary

Closed source

GPT-5.2 Codex

Proprietary

Closed source

Release Timeline

When each model was launched

Claude Opus 4.6 was released on 2026-02-05, while GPT-5.2 Codex was released on 2026-01-14.

Claude Opus 4.6 is 1 month newer than GPT-5.2 Codex.

Claude Opus 4.6

Feb 5, 2026

6 months ago

3w newer
GPT-5.2 Codex

Jan 14, 2026

7 months ago

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

Claude Opus 4.6 is available from Anthropic. GPT-5.2 Codex is available from OpenAI.

Claude Opus 4.6

anthropic logo
Anthropic
Input Price:Input: $5.00/1MOutput Price:Output: $25.00/1M

GPT-5.2 Codex

openai logo
OpenAI
Input Price:Input: $1.75/1MOutput Price:Output: $14.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Judge for yourself.

Run your own prompts against Claude Opus 4.6 and GPT-5.2 Codex side-by-side, then vote on the output you prefer.

Claude Opus 4.6
✓ Preferred
GPT-5.2 Codex
Open in Playground

FAQ

Common questions about Claude Opus 4.6 vs GPT-5.2 Codex.

Which is better, Claude Opus 4.6 or GPT-5.2 Codex?

Claude Opus 4.6 and GPT-5.2 Codex are closely matched on the LLM Stats Score at 45.3 and 34.6. Claude Opus 4.6 is made by Anthropic and GPT-5.2 Codex is made by OpenAI. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Claude Opus 4.6 compare to GPT-5.2 Codex in benchmarks?

Claude Opus 4.6 scores Vending-Bench 2: 100.0%, AIME 2025: 99.8%, Tau2 Telecom: 99.3%, Graphwalks parents >128k: 95.4%, Tau2 Retail: 91.9%. GPT-5.2 Codex scores LiveBench: 74.3%, Terminal-Bench 2.0: 64.0%, SWE-Bench Pro: 56.4%.

Is Claude Opus 4.6 cheaper than GPT-5.2 Codex?

GPT-5.2 Codex is 2.9x cheaper for input tokens. Claude Opus 4.6 costs $5.00/M input and $25.00/M output via anthropic. GPT-5.2 Codex costs $1.75/M input and $14.00/M output via openai.

What are the context window sizes for Claude Opus 4.6 and GPT-5.2 Codex?

Claude Opus 4.6 supports 1.0M tokens and GPT-5.2 Codex supports 400K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Claude Opus 4.6 and GPT-5.2 Codex?

Key differences include LLM Stats Score (45.3 vs 34.6), context window (1.0M vs 400K), input pricing ($5.00 vs $1.75/M). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude Opus 4.6 and GPT-5.2 Codex?

Claude Opus 4.6 is developed by Anthropic and GPT-5.2 Codex is developed by OpenAI.