GPT-5.1 codex vs Claude 3.7 Sonnet (high output)
Detailed comparison of capabilities, features, and performance.
Feature
GPT-5.1 codex
Claude 3.7 Sonnet (high output)
Model Image
AI Lab
OpenAI
Anthropic
Context Size
400,000 tokens
204,800 tokens
Max Output Size
128,000 tokens
128,000 tokens
Frontier Model
Yes
Yes
Vision Support
Yes
Yes
Description
A version of GPT-5.1 optimized for agentic coding tasks.
The latest Sonnet 3.7 model from Anthropic
Learn more about GPT-5.1 codex
View detailed specifications and capabilities
View model details →Learn more about Claude 3.7 Sonnet (high output)
View detailed specifications and capabilities
View model details →More model comparisons
Try both models in your workspace
Access both GPT-5.1 codex and Claude 3.7 Sonnet (high output) in a single workspace without managing multiple API keys.
Create your workspace