Versus · AI tools
GPT-5.3 Codex vs Claude Opus 4.6
- Last checked
- 6 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- GPT-5.3 Codex only if you already run it inside the Responses API and need a few more months before migrating.
- Claude Opus 4.6 if you need its 1M window and Anthropic's tool ecosystem, but move to Opus 5.5 ($4 and $20) when you can.
Compared here
- 01GPT-5.3 Codex
- 02Claude Opus 4.6
Short answer
GPT-5.3 Codex is the cheaper coding model: $1.75 per million input tokens and $14 output, a 400K token context window (272K input), 128K output, and four reasoning levels up to xhigh. Claude Opus 4.6 costs $5 and $25, with a 1M token window and 128K output. Both are on their way out: OpenAI lists GPT-5.3 Codex as deprecated with a 1 April 2027 shutdown and GPT-6.2 Sol as the replacement; Anthropic marks Opus 4.6 as legacy, with retirement not sooner than 5 February 2027.
Pick GPT-5.3 Codex only if you already run it inside the Responses API and need a few more months before migrating. Pick Opus 4.6 if you need its 1M window and Anthropic's tool ecosystem, but move to Opus 5.5 ($4 and $20) when you can. Starting fresh today, compare GPT-6.2 Sol ($2 and $10, 1.05M context) against Claude Opus 5.5 or Sonnet 5.5 instead. Below: specs side by side, cost per job, and the migration path on each side.
At a glance
| GPT-5.3 Codex | Claude Opus 4.6 | |
|---|---|---|
| Model ID | gpt-5.3-codex | claude-opus-4-6 |
| Status | Deprecated; shutdown 1 April 2027 | Active (legacy); retirement not sooner than 5 February 2027 |
| Replacement named | gpt-6.2-sol | Claude Opus 5.5 (per its model page) |
| Input price | $1.75 | $5 |
| Cached input | $0.175 | $0.50 (cache read) |
| Output price | $14 | $25 |
| Batch discount | Batch endpoint not supported | 50% off |
| Context window | 400,000 (272,000 max input) | 1M tokens |
| Max output | 128,000 | 128K (300K on Batch, beta) |
| Knowledge cutoff | 31 August 2025 | May 2025 (reliable) |
| Reasoning control | Effort: low, medium, high, xhigh | Adaptive thinking, default effort high |
| API | Responses API only | Messages API, plus Bedrock, Google Cloud, Foundry |
| Inputs | Text and image | Text and images |
Money talk. The plan buttons go through our links in case Anthropic or OpenAI pay referral fees; we know of no API program from either. Nothing here was paid for, and the conclusion, "both are being replaced by cheaper models", is not one a sponsor would buy.
Everything comes from OpenAI's and Anthropic's developer docs, read 3 December 2026. Neither model page we read publishes benchmark scores, so this page has none. If you see a leaderboard number for this pair, check which harness and which effort setting produced it.
The short version
GPT-5.3 Codex is OpenAI's coding-specialised model, cheap per token, limited to the Responses API, and deprecated. Claude Opus 4.6 is Anthropic's general top model from February 2026, pricier, with a bigger window, and legacy. Each has a successor that is cheaper or better: GPT-6.2 Sol and Claude Opus 5.5.
Specs side by side
GPT-5.3 Codex (OpenAI's model page):
- Described as "the most capable agentic coding model to date" at listing time.
- 400,000 token context, 272,000 max input, 128,000 max output.
- Knowledge cutoff 31 August 2025.
- Reasoning effort: low, medium, high, xhigh.
- Text and image in, text out.
- Responses API only. Not Chat Completions, not Batch, not Realtime.
- Tools: function calling, web search, hosted shell, skills. Streaming, structured outputs and prompt caching supported.
Claude Opus 4.6 (Anthropic's model page):
- Released 5 February 2026.
- 1M token context, 128K output, up to 300K output on the Batch API with a beta header.
- Reliable knowledge cutoff May 2025, training data to August 2025.
- Adaptive thinking, default effort high; manual extended thinking deprecated.
- Text and images in, text out.
- Available on the Claude API, Amazon Bedrock, Google Cloud, Microsoft Foundry and Claude Platform on AWS.
Price, and what a coding job costs
Per million tokens:
- GPT-5.3 Codex: $1.75 input, $0.175 cached input, $14 output.
- Claude Opus 4.6: $5 input, $0.50 cache read, $6.25 or $10 cache write, $25 output. Batch API half price.
Coding agents are input-heavy: they read files over and over. Take a session that reads 2 million tokens (half from cache) and writes 100,000:
- GPT-5.3 Codex: 1M fresh input $1.75, 1M cached $0.175, output $1.40. About $3.33.
- Claude Opus 4.6: 1M fresh input $5, 1M cache reads $0.50, output $2.50. About $8, plus cache write charges for the first time content is stored.
Codex is far cheaper per session at list prices. Two caveats: different tokenizers count the same code differently, and a model that finishes in fewer steps can win back the gap. Measure on your own work.
Deprecation status: check the calendar
GPT-5.3 Codex: OpenAI's deprecations page lists gpt-5.3-codex as deprecated with a shutdown on 1 April 2027, replacement gpt-6.2-sol. The older Codex line (gpt-5-codex, 5.1-codex, 5.1-codex-max, 5.1-codex-mini, 5.2-codex) already shut down on 23 July 2026.
Claude Opus 4.6: Anthropic lists it as Active (legacy), retirement not sooner than 5 February 2027. Its model page recommends migrating to Claude Opus 5.5.
In practice both have a few months left. Do not start new work on either.
The replacements
GPT-6.2 Sol (OpenAI's model page): described as the go-to model for everyday work including coding and agents. 1,050,000 token context (922,000 max input), 128,000 output, knowledge cutoff 1 June 2026. $2 input, $0.10 cached input, $10 output, with cache writes at $2.50. Works with Chat Completions, Responses and Batch.
Claude Opus 5.5 (Anthropic's docs): $4 input, $20 output, cache reads at $0.20, Batch half price. 1M context, 128K output, adaptive thinking always on with default effort medium, June 2026 knowledge cutoff. Retirement not sooner than 22 September 2027. Anthropic recommends it as the starting point for most workloads.
Claude Sonnet 5.5 is worth a look too: $2 and $10 per million tokens, the same price as GPT-6.2 Sol, with a 1M window.
One tokenizer note from Anthropic: Claude 4.7 and later models use a newer tokenizer that produces about 30% more tokens for the same text. Opus 5.5's lower list price is partly offset by that, so compare real bills, not rate cards.
Which one, if you must pick between these two
- You run GPT-5.3 Codex in the Responses API and it works: keep it until you have tested GPT-6.2 Sol, then switch well before April 2027.
- You need to feed a whole large codebase at once: Opus 4.6's 1M window beats Codex's 272K input, though GPT-6.2 Sol and Opus 5.5 both now offer around 1M.
- Your bill is the problem: GPT-5.3 Codex is cheaper per token, but GPT-6.2 Sol and Claude Sonnet 5.5 are cheaper still on output.
- You need Batch processing: Opus 4.6 supports it at half price; GPT-5.3 Codex does not.
- You deploy through AWS, Google Cloud or Azure: Opus 4.6 is on all three; GPT-5.3 Codex is an OpenAI API model.
Where each runs, and the data residency question
GPT-5.3 Codex is listed on OpenAI's API with the Responses endpoint only. The model page we read lists no other cloud.
Claude Opus 4.6 runs on the Claude API, Amazon Bedrock (as global.anthropic.claude-opus-4-6-v1 on the bedrock-runtime endpoint), Google Cloud in both Google-managed and Anthropic-managed forms, Microsoft Foundry and Claude Platform on AWS. For companies with cloud commitments, that is often the deciding factor: you can buy Opus through the cloud bill you already have.
Data residency: Anthropic's pricing page says Claude 4.6 and later models accept an inference_geo setting; pinning inference to the US costs 1.1x on all token types. On Bedrock and Google Cloud, regional endpoints carry a 10% premium over global ones. Add that to the cost example above if your data must stay in one region.
The tools matter more than the model
Most developers meet these models through a tool: OpenAI's Codex app and CLI, or Anthropic's Claude Code, or an editor like Cursor. The agent around the model (how it reads files, runs tests, asks permission) changes results as much as the model does. Our Cursor vs Claude Code vs Codex and Codex vs Claude Code vs Gemini CLI pages compare the tools. For the generation before this one, see Claude Opus 4.8 vs Codex 5.5.
Migration checklist
- List every place you call
gpt-5.3-codexorclaude-opus-4-6, including CI jobs and scripts. - Pick the replacement: GPT-6.2 Sol for OpenAI, Opus 5.5 or Sonnet 5.5 for Anthropic.
- Check parameters. Anthropic's docs say
temperature,top_pandtop_kreturn errors on Claude 4.7 and later models on the latest API version; OpenAI's GPT-6.2 Sol page says reasoning effortnoneis rejected. - Re-run your coding evals: a fixed set of real tickets, with pass rates and cost per ticket.
- Watch costs for a week after switching; tokenizer and thinking changes show up there.
- Set a calendar reminder for each vendor's deprecations page once a month.
What we could not verify
- Benchmark results for either model on current official pages.
- GPT-5.3 Codex's release date; the model page does not show one.
- Real-world speed; neither page gives throughput numbers for these models.
Bottom line
GPT-5.3 Codex is the cheaper coding specialist ($1.75 and $14) but is deprecated, Responses API only, and shuts down on 1 April 2027. Claude Opus 4.6 is pricier ($5 and $25) with a 1M window and legacy status. Neither is the right place to start today: test GPT-6.2 Sol ($2 and $10) against Claude Opus 5.5 ($4 and $20) or Sonnet 5.5 ($2 and $10) on your own code.
Questions people ask
Is GPT-5.3 Codex better than Claude Opus 4.6 for coding?
Neither vendor's current model pages publish head-to-head benchmark scores, so we will not crown one. On paper, GPT-5.3 Codex is much cheaper per token and OpenAI called it its most capable agentic coding model when listed. Opus 4.6 holds more context, 1M against 400K. Test both on your own repository before deciding.
Which is cheaper, GPT-5.3 Codex or Opus 4.6?
GPT-5.3 Codex: $1.75 input and $14 output per million tokens, against Opus 4.6 at $5 and $25. On input-heavy coding work Codex can cost roughly a third as much. Opus 4.6 gets a 50% Batch API discount, while OpenAI's page lists the Batch endpoint as not supported for GPT-5.3 Codex.
Is GPT-5.3 Codex being shut down?
Yes. OpenAI's deprecations page lists gpt-5.3-codex with a shutdown date of 1 April 2027 and gpt-6.2-sol as the recommended replacement. Earlier Codex models, from gpt-5-codex to gpt-5.2-codex, already shut down on 23 July 2026. Plan your migration well before April.
What replaced Claude Opus 4.6?
Anthropic marks Opus 4.6 as legacy and suggests migrating to Claude Opus 5.5, which costs $4 input and $20 output, less than Opus 4.6, with the same 1M context and 128K output and a June 2026 knowledge cutoff. Opus 4.6 is promised until at least 5 February 2027 on Anthropic's own platforms.
Can I use GPT-5.3 Codex in Chat Completions?
No. OpenAI's model page lists the Responses API as the only supported endpoint; Chat Completions, Batch, Realtime and Assistants are not supported. Tools listed are function calling, web search, a hosted shell and skills. Its replacement, GPT-6.2 Sol, supports Chat Completions, Responses and Batch.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- OpenAI: GPT-5.3 Codex model page, checked 3 Dec 2026
- OpenAI: Deprecations, checked 3 Dec 2026
- OpenAI: GPT-6.2 Sol model page, checked 3 Dec 2026
- Anthropic: Claude Opus 4.6 model page, checked 3 Dec 2026
- Anthropic: Pricing, checked 3 Dec 2026
- Anthropic: Model deprecations, checked 3 Dec 2026