Anthropic: Claude 3.7 Sonnet (thinking) vs OpenAI: GPT-5.1-Codex-Max
Side-by-side comparison of Anthropic: Claude 3.7 Sonnet (thinking) and OpenAI: GPT-5.1-Codex-Max. Compare pricing, context window, capabilities, and find out which is better for your workflow.
Verdict
strong confidenceOpenAI: GPT-5.1-Codex-Max leads overall
OpenAI: GPT-5.1-Codex-Max leads in price and context window and max output, making it the stronger choice for most workflows. Anthropic: Claude 3.7 Sonnet (thinking) remains a solid alternative depending on your specific needs.
Best for with Anthropic: Claude 3.7 Sonnet (thinking)
Best for with OpenAI: GPT-5.1-Codex-Max
Side-by-side
Technical specifications
| Anthropic: Claude 3.7 Sonnet (thinking) | OpenAI: GPT-5.1-Codex-Max | |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Input price | $3/M | $1/M |
| Output price | $15/M | $10/M |
| Context window | 200K | 400K |
| Max output | 64K | 128K |
| Capabilities | Tool useVisionReasoning | Tool useVisionReasoning |
| Released | Feb 24, 2025 | Dec 4, 2025 |
Scoring breakdown
How each dimension compares
Price
OpenAI: GPT-5.1-Codex-Max leadsAnthropic: Claude 3.7 Sonnet (thinking)
$15/M tokens
OpenAI: GPT-5.1-Codex-Max
$10/M tokens
Context Window
OpenAI: GPT-5.1-Codex-Max leadsAnthropic: Claude 3.7 Sonnet (thinking)
200K tokens
OpenAI: GPT-5.1-Codex-Max
400K tokens
Capabilities
Anthropic: Claude 3.7 Sonnet (thinking)
3/4
OpenAI: GPT-5.1-Codex-Max
3/4
Max Output
OpenAI: GPT-5.1-Codex-Max leadsAnthropic: Claude 3.7 Sonnet (thinking)
64K tokens
OpenAI: GPT-5.1-Codex-Max
128K tokens
Recency
Anthropic: Claude 3.7 Sonnet (thinking)
Feb 2025
OpenAI: GPT-5.1-Codex-Max
Dec 2025
Related comparisons
Anthropic: Claude 3.5 Sonnet vs OpenAI: GPT-5.1-Codex-Max
flagship tier · Cross-provider
Anthropic: Claude 3.7 Sonnet (thinking) vs Google: Gemini 2.5 Pro
flagship tier · Cross-provider
Anthropic: Claude 3.7 Sonnet (thinking) vs Google: Gemini 2.5 Pro Preview 06-05
flagship tier · Cross-provider
Anthropic: Claude 3.7 Sonnet (thinking) vs Google: Gemini 2.5 Pro Preview 05-06
flagship tier · Cross-provider