GPT-5 Codex vs Claude 3.7 Sonnet (thinking)

Detailed comparison of capabilities, features, and performance.

Feature
GPT-5 Codex
Claude 3.7 Sonnet (thinking)
Model Image
GPT-5 Codex
Claude 3.7 Sonnet (thinking)
AI Lab
OpenAI
Anthropic
Context Size
400,000 tokens
204,800 tokens
Max Output Size
128,000 tokens
64,000 tokens
Frontier Model
Yes
Yes
Vision Support
Yes
Yes
Description
OpenAI's specialist coding model.
The latest Sonnet 3.7 model from Anthropic

Try both models in your workspace

Access both GPT-5 Codex and Claude 3.7 Sonnet (thinking) in a single workspace without managing multiple API keys.

Create your workspace