Skip to content
llmmodels

Claude Sonnet 5 vs GPT-5.3 Codex

Claude Sonnet 5 wins 1 of 1 benchmarks both models report. Claude Sonnet 5 is about 1.2× cheaper on a blended (3:1 input:output) token price. Claude Sonnet 5 has the larger context window (1M vs 400K).

SpecClaude Sonnet 5GPT-5.3 Codex
ProviderAnthropicOpenAI
ReleasedJun 29, 2026 (better)Feb 5, 2026
TypeReasoning LLMReasoning LLM
Parameters——
Context window1M (better)400K
Max output125K125K
Input price / 1M$2$1.75 (better)
Output price / 1M$10 (better)$14
Input modalitiestext, image, pdf, filetext, image, pdf, file
Open weightsNoNo
LicenseProprietaryProprietary
Reasoning modeYesYes
Tool callingYesYes
API providers56 (better)32
Epoch Capabilities Index156.9—
GPQA Diamond90.5%—
SWE-bench Verified—74.8%
Terminal-Bench—78.4%
WebDev Arena1537 (better)1370
OTIS Mock AIME94.7%—
FrontierMath65.6%—
SimpleQA Verified33.7%—
METR Time Horizon—350 min

Cost example

For a workload of 10M input + 2M output tokens per month: Claude Sonnet 5 costs $40.00 and GPT-5.3 Codex costs $45.50 at list price (Anthropic / openai pricing).

About Claude Sonnet 5

Claude Sonnet 5 is a proprietary reasoning llm from Anthropic, released Jun 29, 2026. It has a 1M-token context window and accepts text, image, pdf, file input. API pricing starts at $2 per million input tokens and $10 per million output tokens. It is available from 56 API providers. It scores 156.9 on the Epoch Capabilities Index. Full Claude Sonnet 5 specs →

About GPT-5.3 Codex

GPT-5.3 Codex is a proprietary reasoning llm from OpenAI, released Feb 5, 2026. It has a 400K-token context window and accepts text, image, pdf, file input. API pricing starts at $1.75 per million input tokens and $14 per million output tokens. It is available from 32 API providers. Full GPT-5.3 Codex specs →

Compare other models

FAQ

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

Claude Sonnet 5 wins 1 of 1 benchmarks both models report. Claude Sonnet 5 is about 1.2× cheaper on a blended (3:1 input:output) token price. Claude Sonnet 5 has the larger context window (1M vs 400K).

Is Claude Sonnet 5 cheaper than GPT-5.3 Codex?

Claude Sonnet 5 costs $2 input / $10 output per 1M tokens; GPT-5.3 Codex costs $1.75 / $14. Claude Sonnet 5 is cheaper overall.

Which has a bigger context window?

Claude Sonnet 5: 1,000,000 tokens. GPT-5.3 Codex: 400,000 tokens.

Are Claude Sonnet 5 and GPT-5.3 Codex open source?

Claude Sonnet 5 is proprietary; GPT-5.3 Codex is proprietary.