Model comparison

Claude Sonnet 5 vs GPT-5.1-Codex-mini

Claude Sonnet 5 has enough public results to be ranked (#29); GPT-5.1-Codex-mini does not yet, so treat this comparison as directional.

Last verified . 1 shared benchmarks.

Claude Sonnet 5 Anthropic

54.6

Rank #29 Confirmed

GPT-5.1-Codex-mini OpenAI

37.3

Unranked Sparse

Summary

  • They share 1 benchmark with published results for both. Claude Sonnet 5 scores higher in 2 categories and GPT-5.1-Codex-mini in 0 categories; 2 gaps are clear of the uncertainty.
  • The widest gap is in coding, where Claude Sonnet 5 leads 55.5 to 31.6.
  • GPT-5.1-Codex-mini is cheaper at $0.25 / $2 per million input/output tokens, against $2 / $10 for Claude Sonnet 5.
  • Claude Sonnet 5 accepts more context: 1M tokens versus 400K.

Side by side

Claude Sonnet 5 and GPT-5.1-Codex-mini specifications
Claude Sonnet 5GPT-5.1-Codex-mini
ProviderAnthropicOpenAI
Noometry Index54.637.3
Released2026-06-292025-11-12
WeightsProprietaryProprietary
Context window1M400K
Max output128K128K
Input $ / M tokens$2$0.25
Output $ / M tokens$10$2
Results tracked512

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Claude Sonnet 5 leads

Claude Sonnet 5: 55.5 (#26), GPT-5.1-Codex-mini: 31.6

Coding benchmarks
BenchmarkClaude Sonnet 5GPT-5.1-Codex-mini
LMArena WebDev15411244
DeepSWE53.8%—
FrontierCode42.7%—
CursorBench34.1%—
SciCode54.3%—
GSO37.3%—
WeirdML68.8%—
LMArena Coding1483—
ALE-Bench1,463—

Agentic & Tool Use Claude Sonnet 5 leads

Claude Sonnet 5: 42.8 (#18), GPT-5.1-Codex-mini: 38.5

Agentic & Tool Use benchmarks
BenchmarkClaude Sonnet 5GPT-5.1-Codex-mini
Terminal-Bench—61.6%
APEX-Agents54.5%—
GBAEval65.3%—
LMArena Search1194—
Vending-Bench 26,378—

Reasoning Not comparable

Claude Sonnet 5: 49.1 (#39), GPT-5.1-Codex-mini: —

Reasoning benchmarks
BenchmarkClaude Sonnet 5GPT-5.1-Codex-mini
SimpleBench60.6%—
NYT Connections (extended)75.1%—
CritPt16.9%—
Chess Puzzles35%—
LMArena Hard Prompts1461—
Mystery Game Puzzles35%—
DTBench92.5%—
LMCA50%—
Surface Evolver Bench60%—
Bench to the Future 30.14—
Epoch Capabilities Index156.21—
ForecastBench61.1—

Math Not comparable

Claude Sonnet 5: 66.2 (#27), GPT-5.1-Codex-mini: —

Math benchmarks
BenchmarkClaude Sonnet 5GPT-5.1-Codex-mini
FrontierMath (Tiers 1-3)65.6%—
FrontierMath Tier 429.3%—
OTIS Mock AIME 2024-202594.7%—
ProofBench77%—
LMArena Math1467—

Knowledge Not comparable

Claude Sonnet 5: 55.6 (#47), GPT-5.1-Codex-mini: —

Knowledge benchmarks
BenchmarkClaude Sonnet 5GPT-5.1-Codex-mini
GPQA Diamond90.5%—
SimpleQA Verified33.7%—
LMArena Expert1490—

Multimodal Not comparable

Claude Sonnet 5: 42.4 (#31), GPT-5.1-Codex-mini: —

Multimodal benchmarks
BenchmarkClaude Sonnet 5GPT-5.1-Codex-mini
LMArena Vision1274—
Blueprint-Bench 224.9%—
LMArena Document1466—

Multilingual Not comparable

Claude Sonnet 5: 53.8 (#55), GPT-5.1-Codex-mini: —

Multilingual benchmarks
BenchmarkClaude Sonnet 5GPT-5.1-Codex-mini
LMArena Non-English1431—
LMArena Chinese1477—
LMArena French1460—
LMArena German1440—
LMArena Japanese1422—
LMArena Korean1411—
LMArena Russian1451—
LMArena Spanish1437—

Instruction Following Not comparable

Claude Sonnet 5: 76.3 (#41), GPT-5.1-Codex-mini: —

Instruction Following benchmarks
BenchmarkClaude Sonnet 5GPT-5.1-Codex-mini
LMArena Instruction Following1452—

Long Context Not comparable

Claude Sonnet 5: 44.8 (#55), GPT-5.1-Codex-mini: —

Long Context benchmarks
BenchmarkClaude Sonnet 5GPT-5.1-Codex-mini
LMArena Longer Query1463—

Writing & Preference Not comparable

Claude Sonnet 5: 69.2 (#25), GPT-5.1-Codex-mini: —

Writing & Preference benchmarks
BenchmarkClaude Sonnet 5GPT-5.1-Codex-mini
LMArena Text1442—
LMArena Creative Writing1416—
EQ-Bench Creative Writing1794—
EQ-Bench 41236—
LMArena Multi-Turn1454—

Frequently asked questions

Is Claude Sonnet 5 better than GPT-5.1-Codex-mini?

Claude Sonnet 5 has enough public results to be ranked (#29); GPT-5.1-Codex-mini does not yet, so treat this comparison as directional.

Which is cheaper, Claude Sonnet 5 or GPT-5.1-Codex-mini?

GPT-5.1-Codex-mini is cheaper. It lists at $0.25 per million input tokens and $2 per million output tokens; Claude Sonnet 5 lists at $2 and $10.

Is Claude Sonnet 5 or GPT-5.1-Codex-mini better for coding?

Claude Sonnet 5 scores higher on coding benchmarks: 55.5 versus 31.6 in the Noometry coding category.

Which has the bigger context window?

Claude Sonnet 5 does, with 1M tokens against 400K.

How many benchmarks do Claude Sonnet 5 and GPT-5.1-Codex-mini share?

1 benchmark has published results for both models. Claude Sonnet 5 has 51 scored results on Noometry and GPT-5.1-Codex-mini has 2.

Related comparisons

Go deeper