Anthropic Claude Opus 5 (200k) vs OpenAI GPT-5.6 Codex (1M)

Side-by-side comparison of pricing, context window, capabilities, and a real-cost sample workload.

Option A

Anthropic Claude Opus 5 (200k)

by Anthropic
Context:200K
Input:$5.00 / 1M
Output:$25.00 / 1M
Released:2026-07
Option B

OpenAI GPT-5.6 Codex (1M)

by OpenAI
Context:1M
Input:$5.00 / 1M
Output:$30.00 / 1M
Released:2026-07

Detailed Comparison

DimensionAnthropic Claude Opus 5 (200k)OpenAI GPT-5.6 Codex (1M)
ProviderAnthropicOpenAI
Context window Winner200K1M
Input price ($/1M) TieTie$5.00$5.00
Output price ($/1M) Winner$25.00$30.00
Sample workload cost Winner
1M input + 500K output tokens
$17.50 $20.00
Released TieTie2026-072026-07
Tokenizerclaude-4o200k_base

The verdict

On the dimensions we measured, Anthropic Claude Opus 5 (200k) wins more often - particularly on cost-effectiveness for a typical 1M+0.5M workload.

Anthropic Claude Opus 5 (200k) - Key features

Anthropic's flagship Opus-class model for July 2026. Opus 5 pairs Mythos-class reasoning with the Opus price point, adds adaptive effort control and a hardened long-horizon agent loop that holds context across day-long tasks.

  • Adaptive effort control (low to max)
  • Best-in-class agentic coding
  • Compaction-aware 200K context
  • Native tool search and skills
  • Interleaved thinking with tool use

OpenAI GPT-5.6 Codex (1M) - Key features

The Codex-tuned build of GPT-5.6 for the Codex CLI, IDE extension and cloud agents. Optimised for long autonomous coding sessions, patch generation and test repair rather than open-ended chat.

  • Tuned for agentic coding
  • Long autonomous sessions
  • Patch and diff generation
  • ~1M token context window
  • Sandboxed execution support

How to choose

Estimate the real cost of either model for your prompts using our Token Calculator.