The AI arena is free today

Open Playground

Model Comparison

Claude Sonnet 5 vs GPT-5.3 CodexWhich is better in 2026?

Claude Sonnet 5 significantly outperforms across most benchmarks. Claude Sonnet 5 is 1.2x cheaper per token.

Verdict: Claude Sonnet 5 vs GPT-5.3 Codex — which is better?

Claude Sonnet 5 (by Anthropic) and GPT-5.3 Codex (by OpenAI) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Claude Sonnet 5 outperforms in 3 benchmarks (OSWorld-Verified, SWE-Bench Pro, Terminal-Bench 2.0), while GPT-5.3 Codex is better at 0 benchmarks. Claude Sonnet 5 significantly outperforms across most benchmarks.

On price, Claude Sonnet 5 is roughly 1.2x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

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

Choose Claude Sonnet 5 if…

  • you want the strongest raw capability — it leads on 3 of 3 shared benchmarks
  • cost matters — it's about 1.2x cheaper per token
  • you process long inputs — it offers a 1,000,000 token context window
  • you want the most recent training data — it shipped Jun 2026

Choose GPT-5.3 Codex if…

  • you want predictable pricing at $1.75/M input and $14.00/M output

Performance Benchmarks

Comparative analysis across standard metrics

3 benchmarks

Claude Sonnet 5 outperforms in 3 benchmarks (OSWorld-Verified, SWE-Bench Pro, Terminal-Bench 2.0), while GPT-5.3 Codex is better at 0 benchmarks.

Claude Sonnet 5 significantly outperforms across most benchmarks.

Fri Aug 07 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Claude Sonnet 5 costs less

For input processing, Claude Sonnet 5 ($2.00/1M tokens) is 1.1x more expensive than GPT-5.3 Codex ($1.75/1M tokens).

For output processing, Claude Sonnet 5 ($10.00/1M tokens) is 1.4x cheaper than GPT-5.3 Codex ($14.00/1M tokens).

In conclusion, GPT-5.3 Codex is more expensive than Claude Sonnet 5.*

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

Lowest available price from all providers
Fri Aug 07 2026 • llm-stats.com
Anthropic
Claude Sonnet 5
Input tokens$2.00
Output tokens$10.00
Best providerAnthropic
OpenAI
GPT-5.3 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 Sonnet 5 accepts 1,000,000 input tokens compared to GPT-5.3 Codex's 400,000 tokens. GPT-5.3 Codex can generate longer responses up to 128,000 tokens, while Claude Sonnet 5 is limited to 64,000 tokens.

Anthropic
Claude Sonnet 5
Input1,000,000 tokens
Output64,000 tokens
OpenAI
GPT-5.3 Codex
Input400,000 tokens
Output128,000 tokens
Fri Aug 07 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Claude Sonnet 5 and GPT-5.3 Codex support multimodal inputs.

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

Claude Sonnet 5

Text
Images
Audio
Video

GPT-5.3 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 Sonnet 5

Proprietary

Closed source

GPT-5.3 Codex

Proprietary

Closed source

Release Timeline

When each model was launched

Claude Sonnet 5 was released on 2026-06-30, while GPT-5.3 Codex was released on 2026-02-05.

Claude Sonnet 5 is 5 months newer than GPT-5.3 Codex.

Claude Sonnet 5

Jun 30, 2026

1 months ago

4mo newer
GPT-5.3 Codex

Feb 5, 2026

6 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 Sonnet 5 is available from Anthropic. GPT-5.3 Codex is available from OpenAI.

Claude Sonnet 5

anthropic logo
Anthropic
Input Price:Input: $2.00/1MOutput Price:Output: $10.00/1M

GPT-5.3 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

Key Takeaways

Larger context window (1,000,000 tokens)
Less expensive output tokens
Higher OSWorld-Verified score (81.2% vs 64.7%)
Higher SWE-Bench Pro score (63.2% vs 56.8%)
Higher Terminal-Bench 2.0 score (80.4% vs 77.3%)
Less expensive input tokens

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against Claude Sonnet 5 and GPT-5.3 Codex side-by-side, then vote on the output you prefer.

Claude Sonnet 5
✓ Preferred
GPT-5.3 Codex
Open in Playground
AI Model Comparison Table
Feature
Anthropic
Claude Sonnet 5
OpenAI
GPT-5.3 Codex

FAQ

Common questions about Claude Sonnet 5 vs GPT-5.3 Codex.

Which is better, Claude Sonnet 5 or GPT-5.3 Codex?

Claude Sonnet 5 significantly outperforms across most benchmarks. Claude Sonnet 5 is made by Anthropic and GPT-5.3 Codex is made by OpenAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Claude Sonnet 5 compare to GPT-5.3 Codex in benchmarks?

Claude Sonnet 5 scores CharXiv-R: 88.3%, ChartMuseum: 86.7%, SWE-Bench Verified: 85.2%, BrowseComp: 84.7%, GDP.pdf: 81.6%. GPT-5.3 Codex scores SWE-Lancer (IC-Diamond subset): 81.4%, Cybersecurity CTFs: 77.6%, Terminal-Bench 2.0: 77.3%, LiveBench: 72.8%, OSWorld-Verified: 64.7%.

Is Claude Sonnet 5 cheaper than GPT-5.3 Codex?

GPT-5.3 Codex is 1.1x cheaper for input tokens. Claude Sonnet 5 costs $2.00/M input and $10.00/M output via anthropic. GPT-5.3 Codex costs $1.75/M input and $14.00/M output via openai.

What are the context window sizes for Claude Sonnet 5 and GPT-5.3 Codex?

Claude Sonnet 5 supports 1.0M tokens and GPT-5.3 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 Sonnet 5 and GPT-5.3 Codex?

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

Who makes Claude Sonnet 5 and GPT-5.3 Codex?

Claude Sonnet 5 is developed by Anthropic and GPT-5.3 Codex is developed by OpenAI.