Codex vs Claude Code: for a company, the two are equivalent, and the choice comes down to conviction more than to technology. Codex, OpenAI's coding agent, and Claude Code, Anthropic's, do the same work with models of a similar level, and their team seats cost the same: $20 and $100 a month. Two facts can still tip the balance, depending on your situation. If you pay for usage, the cost per task: on Artificial Analysis's coding agent index, read on 30 November 2026, Claude Code scores 58 and Codex 53, but a task costs $5.12 with Codex and $15.47 with Claude Code at API prices. If your data must stay in Europe, where the data lives: ChatGPT Enterprise keeps Codex data there, except what runs on the developer's machine, while Anthropic does not offer this directly. Choose the vendor you believe in, check the cost per task on your own tasks, and build everything in open formats so that you can switch. Idun Group, a French firm that measures how companies use AI, codes with Claude Code itself and sees Codex at clients and prospects; here we compare what matters to the person who equips a team and pays the bill.
Sources: OpenAI and Anthropic pricing pages, read on 30/11/2026; Artificial Analysis, coding agent index v2.1, read on 30/11/2026; JetBrains, published on 18/08/2026; Idun Group's Claude Code telemetry, 1 to 29/11/2026.
Codex or Claude Code: how should a development team choose?
For a development team, Codex (OpenAI) and Claude Code (Anthropic) are equivalent: scores of 53 and 58 on Artificial Analysis's index, and the same seat. Choose the vendor you believe in, then protect yourself from that choice: everything you build around the agent should be able to move to the other one. Among the companies Idun Group meets, no technical stack favours Codex or Claude Code: both work in the same languages, in the same code editors and on GitHub. Three rules are enough.
- Choose on conviction, and follow adoption. The choice amounts to betting on the vendor that will have the best models tomorrow, OpenAI or Anthropic. If your developers already use one of the two, that is a reason to keep it.
- Build everything in open formats. Project instructions (AGENTS.md), skills and MCP connectors go into a company repository, so that you can change tools without redoing everything.
- Compare the cost per task, on your tasks. It is what drives the bill when usage is paid for, and the public benchmark does not tell you what it is in your setting: a trial on two or three of the team's real tasks does.
Are Codex and Claude Code really equivalent?
Claude Code vs Codex: within 5 points on quality, but not at the same cost per task. Claude Code scores 58 and Codex 53 on Artificial Analysis's coding agent index (30 November 2026); they work in the same places, and their models are of a similar level. They differ mostly in adoption, higher for Claude Code, and in cost per task, lower for Codex.
Artificial Analysis, an independent AI evaluation company, puts coding agents through the same tests: 132 software engineering tasks, 66 tasks in a terminal and 124 technical questions about code, with three attempts per task. Claude Code reaches its score with Claude Fable 5.2 as well as with Claude Opus 5.5, Codex reaches its own with GPT-6.2 Astra. Codex also finishes the index's tasks faster: 25 minutes on average, against 53 minutes for Claude Code with Fable 5.2. Google's agent, Antigravity, ranks first with 59 points: the ranking moves from one month to the next.
| As of 30/11/2026 | Codex (OpenAI) | Claude Code (Anthropic) |
|---|---|---|
| Where it works | terminal (Codex CLI), extension for VS Code, Cursor and Windsurf, ChatGPT desktop app, web, mobile | terminal, VS Code and Cursor, JetBrains, desktop app, web, mobile |
| In the team's tools | tasks on OpenAI machines (Codex Cloud), code review on GitHub, Slack, Linear | code review on pull requests, Slack, GitHub Actions, GitLab CI/CD |
| Models | OpenAI's GPT models; Codex CLI accepts other providers | Claude only, at Anthropic or on the company's cloud account |
| Project instructions | AGENTS.md | CLAUDE.md, and AGENTS.md read directly since version 2.1.277 |
Sources: OpenAI and Anthropic documentation, read on 30/11/2026.
Why do companies use Claude Code more than Codex?
Because Claude Code came first and launched this kind of tool, an agent that does almost everything around code. Anthropic introduced it on 24 February 2025; OpenAI released Codex CLI on 16 April 2025. According to the JetBrains survey published on 18 August 2026 (more than 15,000 developers surveyed from May to July, several tools possible per person), 39% of professional developers use Claude Code at work, against 16% for Codex, which started from 3% in January. OpenAI, for its part, reported more than 5 million weekly Codex users on 9 July 2026.
Idun Group sees the same gap: of the 158 companies that have described their AI tools to Idun Group since June 2026, 14 have deployed or are testing Claude Code, 3 Codex. This is a count of our conversations, not a market share, and it leans towards Claude: the people we talk to bring it up all the more because we do. And the choice often stays open. A fintech gives its whole technical team, data scientists and risk managers included, access to a Codex or Claude Code subscription, as they choose (November 2026). "In the short term, the idea is to confirm a choice for the technical teams, between Claude and Codex," the head of data products at a mid-sized e-commerce company told us in October 2026.
How much do Codex and Claude Code cost a company?
Codex and Claude Code cost the same per seat: $20 a month for a Standard seat and $100 for a Premium seat, billed annually, at ChatGPT Business as at Claude Team, coding agent included. The Enterprise plans differ: Anthropic charges $20 per seat plus every token, while OpenAI does not publish its price.
| As of 30/11/2026 | ChatGPT Business | Claude Team | ChatGPT Enterprise | Claude Enterprise |
|---|---|---|---|---|
| Size | up to 200 seats | 2 to 150 seats | on quote | at least 20 seats |
| Seat, per month | Standard: $20 billed annually, $25 monthly; Premium: $100 and $125 | Standard: $20 and $25; Premium: $100 and $125 | not published | $20, billed annually |
| Coding agent | Codex included in both seats | Claude Code included in both seats | Codex included; Codex-only seats also exist | Claude Code included |
| Included usage | limits per seat; Premium has no five-hour limit | limits per member, over five hours and over the week; Premium gives five times more | the Plus plan's limits per seat, or flexible pricing with no fixed limit | none: every token is paid at API rates |
| Beyond that | credits bought by the workspace owners, pooled, valid for twelve months | usage credits at API rates, if the admin turns them on, under a cap | the contract's credits, or token-based billing in dollars | per token, under caps per organisation, group or person |
Sources: OpenAI and Anthropic pricing pages and help centres, read on 30/11/2026. Prices exclude tax, in US dollars.
How much does Codex cost a company?
As of 30 November 2026, Codex, OpenAI's coding agent, is included at no extra cost in both ChatGPT Business seats: $20 a month for Standard and $100 for Premium, billed annually and excluding tax ($25 and $125 monthly), up to 200 seats. When a seat's usage limit is reached, the workspace owners buy pooled credits, valid for twelve months. ChatGPT Enterprise does not publish its price: it is sold on quote, with Codex-only seats available, and billed in credits or per token depending on the contract, with GPT-6.2 Astra at $8 per million input tokens and $40 per million output tokens. OpenAI gives a benchmark of about $100 to $200 per developer per month. On Artificial Analysis's index, a Codex task with GPT-6.2 Astra costs $5.12 on average at API prices, about three times less than with Claude Code.
Is Codex included in ChatGPT Business?
Yes: Codex, ChatGPT's coding agent, is included in both ChatGPT Business seats, Standard and Premium, along with ChatGPT and ChatGPT Work (OpenAI help centre, updated on 30 November 2026). We compare the work assistant in Claude or ChatGPT for business. Codex is also part of the individual plans, from Free to Pro, but Codex Cloud, which runs tasks on OpenAI's machines, is not included in Free and Go. OpenAI says that from December 2026, ChatGPT and Codex draw on a single usage allowance, counted in tokens, on Plus, Pro and Business (OpenAI help centre, updated around 27 November 2026). At Anthropic this is already the case: on Team, chat, Cowork and Claude Code share the seat's limit.
What happens when a seat's limit is reached?
On ChatGPT Business, Codex stops working unless the workspace owners have bought credits, pooled across the whole workspace. On Claude Team, the member waits for the limit to reset, unless the admin has turned on usage credits, paid at API rates under a monthly cap. On Enterprise, both vendors bill for usage: OpenAI in credits or per token depending on the contract, with an overage cap set to "No limit" by default; Anthropic per token, under the caps the admin sets. Our article on Claude pricing for business details the Claude bill, and our page on Claude for business covers what its seats pay back.
Should you compare the price per token or the cost per task?
The cost per task, meaning what a complete piece of work by the agent costs. As of 30 November 2026, GPT-6.2 Astra and Claude Fable 5.2 both cost $8 and $40 per million tokens; yet a task on Artificial Analysis's index costs $5.12 with Codex and $15.47 with Claude Code, because an agent does not use the same number of tokens for the same work.
| Model | Input | Output |
|---|---|---|
| GPT-6.2 Astra (Codex) | $8 | $40 |
| Claude Fable 5.2 (Claude Code) | $8 | $40 |
| GPT-6.2 Sol (Codex) | $2 | $10 |
| Claude Sonnet 5.5 (Claude Code) | $2 | $10 |
| Claude Opus 5.5 (Claude Code) | $4 | $20 |
Price per million tokens, excluding tax: ChatGPT Enterprise token-based rate card and Anthropic API pricing, read on 30/11/2026.
| Agent and model | Index | Average cost per task | Average time per task |
|---|---|---|---|
| Claude Code, Claude Fable 5.2 | 58 | $15.47 | 53 min |
| Claude Code, Claude Opus 5.5 | 58 | $12.61 | about 1 h |
| Claude Code, Claude Sonnet 5.5 | 56 | $11.40 | about 1 h 25 |
| Codex, GPT-6.2 Astra | 53 | $5.12 | 25 min |
| Codex, GPT-6.2 Sol | 50 | $0.90 | 13 min |
Artificial Analysis, coding agent index v2.1, read on 30/11/2026; cost at API prices, cache included. Each agent runs at the highest effort setting Artificial Analysis retained: "max" for Claude Code with Opus 5.5 and Sonnet 5.5 and for Codex with GPT-6.2 Astra, "xhigh" for Claude Code with Fable 5.2 and for Codex with GPT-6.2 Sol.
This cost per task is that of a team billed for usage, on the index's tasks rather than yours. On a seat, the company pays for the seat up to its limit, then for credits. The vendors give their own benchmarks. For Codex, OpenAI puts it at about $100 to $200 per developer per month. For Claude Code, Anthropic puts it at about $13 per developer per active day, or $150 to $250 a month, and under $30 per active day for 90% of users.
Our own usage is far more intensive, because this is our job. From 1 to 29 November 2026, our two Claude Team Premium seats used the equivalent of $2,584 and $2,880 in Claude Code at API rates, or 21 to 29 times the seat price of $100 to $125 a month. We paid for the seats, not these amounts: this is what the same usage would cost if billed per token, as on Claude Enterprise. The measurement comes from Claude Code's telemetry, which computes the cost of each request at list price: two seats, Claude Code only, with no equivalent measurement of Codex in our data. Two seats are not a market average. At a consulting and training firm we worked with, the three heaviest users were worth 12 to 25 times their seat.
At Idun Group, from 1 to 29 November 2026, 83% of Claude Code's cost paid for context, meaning the files and the conversation that the agent rereads with every request: 43% to write them to the cache, 40% to read them back. The two vendors do not bill this the same way: Anthropic charges for cache writes, while Codex billed in credits does not count them separately, so a comparison based on price grids alone uses the wrong unit.
Run two or three of the team's real tasks through both tools, at the same effort level, and record what each one used: that gives you your own cost per task.
How can you keep the option to switch between Codex and Claude Code?
By storing everything that makes the agent useful in a company repository, in open formats: project instructions, skills, connectors and a description of the settings. These are built after the purchase, and this work is what you want to be able to take with you.
- Project instructions. AGENTS.md is the format OpenAI published in August 2025 and handed over on 9 December 2025 to the Agentic AI Foundation, part of the Linux Foundation. Codex reads it; so does Claude Code, since version 2.1.277, when the repository has no CLAUDE.md.
- Skills, procedures that an agent loads when the task calls for them. The Agent Skills format was handed to the same foundation on 22 October 2026; Codex and Claude Code both read it.
- MCP connectors (Model Context Protocol), which connect the agent to your internal tools: both use them.
- What does not carry over from one tool to the other: the configuration the admin enforces on machines (
requirements.tomlfor Codex, managed settings for Claude Code), each console's policies, and what is specific to each tool, such as hooks, subagents or custom commands. Document them so that you can rebuild them.
The two tools do not leave the same freedom over models. Codex CLI is open source, under the Apache 2.0 licence, and accepts other model providers. Claude Code only works with Claude models, at Anthropic or on the company's cloud account (Amazon Bedrock, Google Cloud, Microsoft Foundry).
Three signals would say it is time to switch: a performance gap that widens between the models, a sovereign option at the same level, or a cost per task that gets out of hand. On sovereignty, no European option is at that level today: Mistral AI's coding agent, Mistral Vibe, scores 41 on Artificial Analysis's index, against 58 for Claude Code and 53 for Codex. We cover this question in Mistral Vibe or Claude Code, sovereign coding. "The search for sovereignty must not be a brake on innovation," said Simon Nalin, head of the Solutions & Data unit in the IT department of ICF Habitat, the social housing subsidiary of SNCF Immobilier, at the Be SOVEREIGN conference on 23 November 2026.
Can you use Codex and Claude Code together?
Yes, and it is often the simplest way to compare them. Both read the same AGENTS.md file and the same skills, so a team can give the same task to one and then the other without rewriting anything. The fintech mentioned above lets each person choose their subscription. Keeping both makes sense when they serve different teams or different uses; if the same developers have two seats for the same tasks, one of the two is surplus. The same reasoning applies between GitHub Copilot and Claude Code.
Which controls and which data for the IT department?
Codex and Claude Code give the IT department comparable levers. The clear difference is about data: according to OpenAI's help centre, updated on 30 November 2026, ChatGPT Enterprise includes Codex in its European data residency, while Anthropic offers no European option directly.
| As of 30/11/2026 | Codex (ChatGPT Business and Enterprise) | Claude Code (Claude Team and Enterprise) |
|---|---|---|
| Turning the tool on | Codex on the machine and Codex Cloud are turned on separately; Codex Cloud is off by default on Enterprise | Claude Code included in every seat |
| Accounts | SAML SSO on Business and Enterprise; SCIM on Enterprise | SSO; SCIM on Enterprise |
| Roles | custom roles on Enterprise | custom roles on Enterprise |
| Settings enforced on machines | requirements.toml, on every plan; policies managed from the console on Business and Enterprise | managed settings, which take precedence over the developers' own, delivered by the console, a device management tool or a file |
| Sandbox | on the machine, no network by default; in the cloud, internet cut off while the agent works, can be opened with a domain allowlist | permission rules and sandbox in the managed settings |
| Audit and compliance | audit trails and Compliance API on Enterprise; the API also covers Codex on the machine | audit trails and Compliance API on Enterprise |
| Model training | no, by default, on Business and Enterprise | no, on commercial plans |
| Retention | set by the admin on Enterprise | 30 days; Zero Data Retention on Enterprise, for qualifying accounts |
| Data location | Enterprise: storage and processing in Europe possible, Codex included, except what runs on the machine; Business: storage region chosen when the workspace is created, without processing | at Anthropic, global or US processing; in Europe through Amazon Bedrock, for Claude Opus 5.5 and Sonnet 5.5 |
Sources: OpenAI and Anthropic documentation and help centres, AWS documentation, read on 30/11/2026.
Two limits apply to both. OpenAI and Anthropic are American vendors, subject to the CLOUD Act, even when the data stays in Europe. And individual subscriptions paid on expense reports are not covered by this table: at OpenAI, what goes through Plus and Pro can be used to train models unless the user opts out. Our guide to the Claude Code harness details Claude Code's settings.
How do you measure what each tool produces?
With each vendor's console for activity, and a measurement of your own to compare and to be able to switch: no console compares Codex and Claude Code, and none tells you what the work is worth.
- At OpenAI, the Insights view sorts Codex usage by use case and by task, with messages, credits and active users, sometimes on a sample that OpenAI advises against extrapolating. Code review counts the pull requests reviewed and the issues found. Enterprise adds a per-user export, an analytics API and the Compliance API.
- At Anthropic, the Claude Code console counts active users, sessions and accepted lines. Connected to GitHub, it also counts the pull requests shipped with Claude Code. A "Value" tab estimates the gain and the cost per pull request, with the formulas shown. Enterprise adds the analytics API and, since 28 October 2026, "smart reports", which link a team's spending to its types of work.
For a measurement that does not depend on the vendor, both tools export their telemetry in the open OpenTelemetry format to a company collector. That way you keep your usage history on the day you change tools. To then link that usage to what it pays back, our article on AI ROI gives the method.
Which measures should you gather before choosing or renewing?
Idun Group advises gathering five measures, tool by tool and team by team, over the same month. They can be passed on as they are to the data or AI manager.
- Paid seats and active seats, with the same definition of "active" for both tools.
- Developers who have both, by matching the two lists of active users.
- The cost beyond the seat, per team (OpenAI credits, Anthropic usage credits), and the cost of two or three real tasks run through each tool.
- What the agents produce: pull requests, reviews, and the nature of the tasks, established in interviews.
- The assets to make portable: the list of project instructions, skills, connectors and settings, and where they are stored.
These measures can be taken from the exports your consoles already produce. If you want to do them with us, it is our job: we read how your coding agents are used, team by team, with interviews, to decide what to scale, what to cut and who to train. We analyse usage, not individuals.




