Claude 4.5 Sonnet vs GPT-5 Codex

Detailed comparison of capabilities, features, and performance.

Feature
Claude 4.5 Sonnet
GPT-5 Codex
Model Image
Claude 4.5 Sonnet
GPT-5 Codex
AI Lab
Anthropic
OpenAI
Context Size
1,000,000 tokens
400,000 tokens
Max Output Size
200,000 tokens
128,000 tokens
Frontier Model
Yes
Yes
Vision Support
Yes
Yes
Description
The latest Claude 4.5 Sonnet model from Anthropic with a 1M token context window.
OpenAI's specialist coding model.

Try both models in your workspace

Access both Claude 4.5 Sonnet and GPT-5 Codex in a single workspace without managing multiple API keys.

Create your workspace