Versus · AI tools
Claude Opus 4.8 vs Codex 5.5 (GPT-5.5 in Codex)
- 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.

- Codex with GPT-5.5 led on terminal-heavy agent work; Claude Opus 4.8 led on real repository fixes and browser agents, and was a bit cheaper on output.
Compared here
- 01Claude Opus 4.8
- 02GPT-5.5 in Codex
Short answer
Codex with GPT-5.5 led on terminal-heavy agent work; Claude Opus 4.8 led on real repository fixes and browser agents, and was a bit cheaper on output. OpenAI's GPT-5.5 page lists 82.7% on Terminal-Bench 2.0, and Anthropic's own Opus 4.8 post concedes GPT-5.5 scored 83.4% on Terminal-Bench 2.1 in the Codex CLI. On SWE-Bench Pro, OpenAI's table shows GPT-5.5 at 58.6% against 64.3% for the older Opus 4.7. Opus 4.8 scored 84% on Online-Mind2Web per Browserbase, quoted by Anthropic, "a meaningful jump" over GPT-5.5. Prices: Opus 4.8 is $5 input and $25 output per million tokens; GPT-5.5 is $5 and $30.
"Codex 5.5" is not a separate model: it is GPT-5.5 running in OpenAI's Codex agent. And both are now older versions. Anthropic marks Opus 4.8 as legacy and recommends Opus 5.5 at $4 and $20; OpenAI's Codex now lists only GPT-6 family models. Pick by tool habit today: Claude Code with Opus 5.5, or Codex with GPT-6.2 Sol.
Sponsored links. We may earn a commission; it never changes the pick.
At a glance
| Claude Opus 4.8 | GPT-5.5 in Codex | |
|---|---|---|
| Made by | Anthropic | OpenAI |
| Released | 28 May 2026 | 23 April 2026 |
| API price per million tokens | $5 input, $25 output | $5 input, $30 output |
| Fast mode | $10 and $50 (2x standard) | Codex: 1.5x faster at 2.5x the cost |
| Context | 1M tokens, 128K max output | 1M in the API; 400K in Codex |
| Terminal-Bench | Score in image only | 82.7% on 2.0 (OpenAI); 83.4% on 2.1 in Codex CLI (as quoted by Anthropic) |
| SWE-Bench Pro | Score in image only; Opus 4.7 was 64.3% on OpenAI's table | 58.6% |
| Browser agents | 84% Online-Mind2Web (Browserbase, quoted by Anthropic) | Lower, per the same quote |
| Coding agent | Claude Code, from Claude Pro | Codex, in ChatGPT Free, Go, Plus, Pro, Business, Edu, Enterprise |
| Status today | Legacy; retirement not sooner than 28 May 2027 | Not in Codex's current model list |
Money first. Anthropic may pay us through the Claude link; OpenAI has no affiliate program we could verify. The benchmarks below come from the vendors, not from us, and we flag where each side is grading the other. Our rules are on how we pick.
We did not run a coding contest. We read Anthropic's Opus 4.8 launch post and model page, OpenAI's GPT-5.5 launch page, OpenAI's ChatGPT and Codex pricing page and Claude's pricing page, all on 3 December 2026. Both launch posts put their main benchmark charts in images, so we quote only numbers written in text.
First: what "Codex 5.5" means
Codex is OpenAI's coding agent. It runs in the terminal, in an IDE and in a desktop app, and it is included in ChatGPT plans. When GPT-5.5 launched on 23 April 2026, OpenAI put it into Codex on Plus, Pro, Business, Enterprise, Edu and Go plans, with a 400K context window. That combination is what people call "Codex 5.5".
Claude Opus 4.8, released 28 May 2026, is the model. Its coding agent twin is Claude Code. So the fair fight is "Opus 4.8 in Claude Code" against "GPT-5.5 in Codex", five weeks apart.
Price
| Claude Opus 4.8 | GPT-5.5 | |
|---|---|---|
| Input per million tokens | $5 | $5 |
| Output per million tokens | $25 | $30 |
| Cache read | $0.50 | Not quoted here |
| Fast mode | $10 input, $50 output | 1.5x faster at 2.5x cost (Codex) |
| Batch | 50% off | Half price |
Coding agents write a lot of output, so Opus 4.8's $25 against $30 matters a little on big jobs. Anthropic's post also says Opus 4.8's fast mode became three times cheaper than before.
Most people do not pay per token, though. They pay a plan. OpenAI's pricing page lists ChatGPT Free at $0, Go at $8, Plus at $20, Pro from $100, and Business at $20 a user billed yearly or $25 monthly, all including Codex. Claude's pricing page lists Pro at $17 a month billed yearly or $20 monthly, Max at $100 and Ultra at $200, with Claude Code from Pro.
Benchmarks, with the fine print
| Benchmark | Claude side | OpenAI side | Source |
|---|---|---|---|
| Terminal-Bench 2.0 | Opus 4.7: 69.4% | GPT-5.5: 82.7% | OpenAI's GPT-5.5 page |
| Terminal-Bench 2.1 | Opus 4.8 score in image | GPT-5.5 in Codex CLI: 83.4% | Anthropic's Opus 4.8 footnote |
| SWE-Bench Pro (Public) | Opus 4.7: 64.3% | GPT-5.5: 58.6% | OpenAI's GPT-5.5 page |
| OSWorld-Verified | Opus 4.7 updated to 82.3% by Anthropic | GPT-5.5: 78.7% | Both pages |
| Online-Mind2Web | Opus 4.8: 84% | "a meaningful jump over" GPT-5.5 | Browserbase, quoted by Anthropic |
| Expert-SWE (OpenAI internal) | Not listed | GPT-5.5: 73.1% | OpenAI's GPT-5.5 page |
How to read that table:
- Terminal work (running commands, long shell sessions): GPT-5.5 in Codex was ahead, and Anthropic itself printed the 83.4% figure.
- Fixing real repositories (SWE-Bench Pro): even OpenAI's own table showed Claude's previous model, Opus 4.7, ahead of GPT-5.5. Anthropic says Opus 4.8 improved on 4.7 across coding, but its 4.8 number is in an image we could not read. OpenAI also notes reports of memorisation on SWE-Bench Pro, so treat that benchmark with a pinch of salt.
- Computer use and browsers: close on OSWorld; Opus 4.8 ahead on Online-Mind2Web per Browserbase.
One more Opus 4.8 point from Anthropic: it is "around four times less likely" than Opus 4.7 to leave flaws in its own code unmentioned. For a coding agent, an honest "I am not sure this works" is worth more than a confident wrong answer.
Context
Both models handle about 1M tokens through their APIs. In Codex, OpenAI capped GPT-5.5 at 400K. Claude Code with Opus 4.8 could use the full 1M. For giant monorepos and long sessions, that gave Claude more room before it starts forgetting the beginning of the conversation.
The tools around the models
| Claude Code | Codex | |
|---|---|---|
| Included in | Claude Pro, Max, Ultra, Team, Enterprise | ChatGPT Free, Go, Plus, Pro, Business, Edu, Enterprise |
| Cheapest plan with it | Pro, $20 monthly | Free (limited); Go at $8 |
| Models | Claude only | OpenAI only |
| Current default model | Opus 5.5 (Opus 4.8 is legacy) | GPT-6 family |
Codex's lower entry price is real: Free and Go get GPT-6 Luna in the desktop app, per OpenAI's page. For deeper tool comparisons, see Cursor vs Claude Code vs Codex and Codex vs Claude Code vs Gemini CLI.
Status today: both have moved on
- Opus 4.8 is marked "Legacy" on Anthropic's model page, still available, retirement "not sooner than May 28, 2027". Anthropic recommends Opus 5.5 at $4 input and $20 output, cheaper than 4.8 and, per Anthropic, "our strongest Opus model for agentic coding". Our Opus 4.8 vs Opus 5 page covers the step in between.
- GPT-5.5 is not in Codex's current model list. OpenAI's pricing page lists GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Astra, GPT-6 Sol and GPT-6 Luna for Codex, with estimated messages per five hours on Plus ranging from 6 to 50 for GPT-6.2 Astra up to 350 to 3,000 for GPT-6 Luna.
Who should pick which
Pick Claude (Opus 5.5 in Claude Code today) if:
- Your work is mostly fixing and extending real codebases, where Claude led SWE-Bench Pro.
- You want the bigger context window for large repos.
- You value a model that flags its own doubts.
Pick Codex (GPT-6 models today) if:
- Your work is terminal-heavy: scripts, infrastructure, long shell sessions.
- You want the cheapest way in, from ChatGPT Free or Go.
- You already pay for ChatGPT and want coding included.
Use both if: you can afford two $20 plans. Plenty of developers run one agent to write and the other to review.
A one-week test you can run yourself
Benchmarks are someone else's homework. Yours is cheaper to check:
- Pick five real tickets from your backlog: one bug, one feature, one refactor, one test-writing job, one script.
- Give each agent the same ticket text and the same repo state.
- Score each result on three things: did it work, how many corrections you made, and how long you spent reviewing.
- Note the plan usage each one burned.
After a week you will know more than any leaderboard can tell you about your codebase.
Verdict
Back in mid-2026, GPT-5.5 in Codex was the stronger terminal agent and Opus 4.8 the stronger repository fixer and browser agent, with Opus slightly cheaper on output. Today both are superseded: compare Opus 5.5 in Claude Code against Codex on GPT-6.2 Sol on your own repo for a week. For the wider field, read best AI model for coding and Grok vs Claude for coding.
Questions people ask
Is Codex 5.5 a real model?
Not as a separate model name. People say Codex 5.5 for GPT-5.5 running inside Codex, OpenAI's coding agent. OpenAI's GPT-5.5 launch page says it came to Codex on Plus, Pro, Business, Enterprise, Edu and Go plans with a 400K context window and a fast mode that is 1.5x faster at 2.5x the cost.
Was Claude Opus 4.8 better than GPT-5.5 for coding?
It depends on the task. OpenAI's numbers favour GPT-5.5 on Terminal-Bench, and Anthropic's own post quotes GPT-5.5 at 83.4% on Terminal-Bench 2.1 in Codex CLI. OpenAI's table shows Opus 4.7 already ahead of GPT-5.5 on SWE-Bench Pro, and Opus 4.8 improved on 4.7. For browser agents, Opus 4.8 led per Browserbase.
Which is cheaper, Opus 4.8 or GPT-5.5?
Input is the same at $5 per million tokens. Output is $25 for Opus 4.8 and $30 for GPT-5.5, so Opus 4.8 was slightly cheaper for output-heavy coding work. Fast modes differ: Opus 4.8 fast costs $10 and $50, while Codex fast mode runs 1.5x faster at 2.5x the standard cost.
Can I still use Opus 4.8 and GPT-5.5?
Opus 4.8 is still on the Claude API as a legacy model, with retirement not sooner than 28 May 2027. GPT-5.5 is not on OpenAI's current flagship API list or the Codex model list we read on 3 December 2026; Codex now offers GPT-6 family models. Check OpenAI's deprecations page before relying on GPT-5.5.
What should I use instead today?
On Anthropic's side, Opus 5.5 at $4 and $20 per million tokens is the recommended default and its strongest Opus for agentic coding. On OpenAI's side, Codex lists GPT-6.2 Sol, GPT-6.1 Sol and GPT-6 Luna among others. Both come with $20 consumer plans: Claude Pro with Claude Code, and ChatGPT Plus with Codex.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- Introducing Claude Opus 4.8 (Anthropic), checked 3 Dec 2026
- Claude Opus 4.8 model page, checked 3 Dec 2026
- Claude models overview, checked 3 Dec 2026
- Introducing GPT-5.5 (OpenAI), checked 3 Dec 2026
- ChatGPT and Codex pricing (OpenAI), checked 3 Dec 2026
- Claude pricing, checked 3 Dec 2026