Skip to main content
Radar

Five or fewer confirmed AI changes, with original sources, on mornings when something changed.A free source-linked morning brief.

Start free brief
Model A
Claude Sonnet 5

Anthropic

64.8/100

Estimated · Public rank #37

90% interval 50.5–79.1

Claude Sonnet 5 vs GPT-5.2-Codex

Updated August 14, 2026. Public scores include evidence status and uncertainty. They are not guarantees for a specific workload.

Model B
GPT-5.2-Codex

OpenAI

58.2/100

Supported · Public rank #79

90% interval 54.7–61.7

Decision reading

The public evidence has no benchmark result shared by both models, so it does not support a quality verdict. Use the documented cost, context, and runtime rows instead.

0 results are shared. Category rows based on different benchmark sets are marked directional and do not name a winner.

Which one for your work

Recommendations appear only when a shared evidence basis or an explicit operating constraint supports the call. Secondary and unsupported use cases stay disclosed below the initial list.

  • Long documents

    Prompts that approach the documented context limit

    Claude Sonnet 5

    Claude Sonnet 5 has the larger documented context window.

    Confidence: documented

  • Chat turn cost

    1K fresh input + 500 output tokens

    Claude Sonnet 5

    Claude Sonnet 5 has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.

    Confidence: listed-rates

  • Cache-heavy agent loop cost

    200K cached + 20K fresh input + 10K output tokens

    Claude Sonnet 5

    Claude Sonnet 5 has the lower estimated token cost for this stated workload. GPT-5.2-Codex has no published cached-input rate, so cached tokens use its listed input rate.

    Confidence: rate-fallback

Show secondary and unsupported calls
  • Repository review cost

    50K fresh input + 3K output tokens

    GPT-5.2-Codex

    GPT-5.2-Codex has the lower estimated token cost for this stated workload. Costs use the listed standard API rates.

    Confidence: listed-rates

  • Coding work

    Code generation, repair, and software-engineering tasks

    Not enough matched evidence

    No shared weighted benchmark basis supports a winner.

    Confidence: limited

  • Agentic work

    Tool use, computer use, and multi-step task completion

    Not enough matched evidence

    No shared weighted benchmark basis supports a winner.

    Confidence: limited

What is actually comparable

Shared results can support a head-to-head reading. Results present for only one model describe coverage, not superiority.

Shared results
0
Claude Sonnet 5 only
19
GPT-5.2-Codex only
3
Like-for-like categories
0 / 8

Category results, on a stated basis

Each row states whether both averages use the same weighted benchmark set. Directional and not-comparable rows remain visible, but they never receive a winner in this template.

Agentic

Not comparable
Claude Sonnet 5
81.9
GPT-5.2-Codex
Not measured
Weighted basis
3 vs 0 rows
Reading
Not comparable

Coding

Not comparable
Claude Sonnet 5
76.7
GPT-5.2-Codex
Not measured
Weighted basis
2 vs 0 rows
Reading
Not comparable

Reasoning

Not comparable
Claude Sonnet 5
Not measured
GPT-5.2-Codex
Not measured
Weighted basis
0 vs 0 rows
Reading
Not comparable

Knowledge

Not comparable
Claude Sonnet 5
57.4
GPT-5.2-Codex
Not measured
Weighted basis
1 vs 0 rows
Reading
Not comparable

Math

Not comparable
Claude Sonnet 5
Not measured
GPT-5.2-Codex
Not measured
Weighted basis
0 vs 0 rows
Reading
Not comparable

Multilingual

Not comparable
Claude Sonnet 5
Not measured
GPT-5.2-Codex
Not measured
Weighted basis
0 vs 0 rows
Reading
Not comparable

Multimodal

Not comparable
Claude Sonnet 5
88.3
GPT-5.2-Codex
Not measured
Weighted basis
1 vs 0 rows
Reading
Not comparable

Instruction following

Not comparable
Claude Sonnet 5
Not measured
GPT-5.2-Codex
Not measured
Weighted basis
0 vs 0 rows
Reading
Not comparable

Shape of the matched evidence

Only shared public evidence is shown. Sparse evidence stays a ruled list rather than being closed into a radar shape.

A shared-evidence shape is not available.

BenchLM does not draw a radar or infer missing axes when the matched evidence is too sparse.

What each workload costs

Three fixed token mixes turn per-token rates into comparable decisions. Each scenario states context fit and whether cached input had to fall back to the published list-input rate.

Chat turn

1K fresh input + 500 output tokens

Claude Sonnet 5
$0.007
Fits in one request
GPT-5.2-Codex
$0.00875
Fits in one request

Claude Sonnet 5 has the lower modeled cost

Costs use the listed standard API rates.

Repository review

50K fresh input + 3K output tokens

Claude Sonnet 5
$0.13
Fits in one request
GPT-5.2-Codex
$0.1295
Fits in one request

GPT-5.2-Codex has the lower modeled cost

Costs use the listed standard API rates.

Cache-heavy agent loop

200K cached + 20K fresh input + 10K output tokens

Claude Sonnet 5
$0.18
Fits in one request
GPT-5.2-Codex
$0.525
Fits in one request
Cached input priced at the published list-input rate

Claude Sonnet 5 has the lower modeled cost

GPT-5.2-Codex has no published cached-input rate, so cached tokens use its listed input rate.

Specification differences

Sourced differences are shown directly. Missing facts stay explicit instead of being inferred from a model name or family.

Context window

Maximum documented context; output-token limits may be lower.

Claude Sonnet 5

GPT-5.2-Codex

400K

Cached-input rate

A missing cached-input rate falls back to the listed input rate only in the stated workload estimate.

Claude Sonnet 5

$0.2 per 1M cached input tokens

Claude API pricing

GPT-5.2-Codex

Not published

Reasoning profile

Claude Sonnet 5

Reasoning

GPT-5.2-Codex

Reasoning

Weight access

Claude Sonnet 5

Proprietary

GPT-5.2-Codex

Proprietary

License

Claude Sonnet 5

Proprietary

GPT-5.2-Codex

Proprietary

Release date

Claude Sonnet 5

2026-06-30

GPT-5.2-Codex

2025-12-18

If you already use one of these models
Deployment change
The models list different providers, so authentication, endpoint behavior, limits, and feature support may change.
Quality signal
The public evidence has no benchmark result shared by both models, so it does not support a quality verdict.
Workload cost
Repository review: $0.13 vs $0.1295. Cache-heavy agent loop: $0.18 vs $0.525.
Context tradeoff
Claude Sonnet 5 has the larger documented window (1M).

Run the same representative tasks against both endpoints before changing production traffic.

Benchmark evidence

The full public result ledger is available for audit without forcing a wide desktop table onto a phone.

Browse raw public benchmark evidence22 rows

Agentic

  • Terminal-Bench 3.0

    Claude Sonnet 514.6%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • Terminal-Bench 2.0

    Claude Sonnet 580.4%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • BrowseComp

    Claude Sonnet 584.7%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • HLE w/ tools

    Claude Sonnet 557.4%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • OSWorld-Verified

    Claude Sonnet 581.2%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • Gert Labs

    Claude Sonnet 5
    GPT-5.2-Codex51.79%
    Source

    Not directly comparable

  • JobBench

    Claude Sonnet 5
    GPT-5.2-Codex26.0%
    Source

    Not directly comparable

Coding

  • SWE-bench Verified

    Claude Sonnet 585.2%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • SWE-bench Pro

    Claude Sonnet 563.2%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • SWE Multilingual

    Claude Sonnet 578.3%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • SWE Multimodal

    Claude Sonnet 528.1%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • Terminal-Bench 2.0

    Claude Sonnet 580.4%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • FrontierCode 1.1 Main

    Claude Sonnet 542.7%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • cursorBench32

    Claude Sonnet 561.5%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • APEX-SWE

    Claude Sonnet 546.4%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • EEBench

    Claude Sonnet 540.3%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • 3DCodeBench

    Claude Sonnet 539.2%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • Vibe Code Bench

    Claude Sonnet 5
    GPT-5.2-Codex37.91%
    Source

    Not directly comparable

Knowledge

  • HLE

    Claude Sonnet 557.4%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • HLE w/o tools

    Claude Sonnet 543.2%
    Source
    GPT-5.2-Codex

    Not directly comparable

Multimodal

  • CharXiv

    Claude Sonnet 588.3%
    Source
    GPT-5.2-Codex

    Not directly comparable

  • CharXiv w/o tools

    Claude Sonnet 577%
    Source
    GPT-5.2-Codex

    Not directly comparable

Frequently asked questions

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

The public evidence has no benchmark result shared by both models, so it does not support a quality verdict. The page therefore keeps the decision tied to the specific documented workload.

Which is better for coding, Claude Sonnet 5 or GPT-5.2-Codex?

The published evidence does not provide a shared weighted coding basis for both models, so BenchLM does not name a coding winner.

Which is better for agentic tasks, Claude Sonnet 5 or GPT-5.2-Codex?

The published evidence does not provide a shared weighted agentic tasks basis for both models, so BenchLM does not name a agentic tasks winner.

Which costs less, Claude Sonnet 5 or GPT-5.2-Codex?

For the stated presets, chat costs $0.007 on Claude Sonnet 5 and $0.00875 on GPT-5.2-Codex; repository review costs $0.13 and $0.1295; the cache-heavy agent loop costs $0.18 and $0.525. GPT-5.2-Codex has no published cached-input rate, so cached tokens use its listed input rate.

Which has the larger context window, Claude Sonnet 5 or GPT-5.2-Codex?

Claude Sonnet 5 has the larger documented context window: 1M, compared with 400K.

Related comparisons

Last updated August 14, 2026

Watch Claude Sonnet 5 vs GPT-5.2-Codex

One weekly email when material rank, price, or benchmark evidence changes make this matchup worth revisiting.

Read a sample issue

Join 2,000+ readers.