Claude Code vs Codex: which one if you don't code?
In short: Both are AI agents that work in a folder on your computer, and both can be used without a terminal and without programming. They cost the same to start: $20 a month, as part of Claude Pro or ChatGPT Plus. The practical differences are elsewhere. Codex runs in a sandbox by default, with no network access and writing only in its folder, and ChatGPT's free plan includes a limited version. Claude Code asks before it acts or lets a checker decide, needs a paid plan, and has its sandbox off until you switch it on. If you already pay for one of the two chats, start with the agent that comes with it. And you don't have to choose for good: an app like Mochi Squad can run both side by side.
Disclosure: we build Mochi Squad, which runs both programs. Every statement about Claude Code and Codex was checked against Anthropic's and OpenAI's official pages on 2 December 2026; the links are listed under "Sources" at the end. Statements about Mochi Squad refer to version 0.4.1. We do not rank which model is "smarter": that changes with every release, and nobody can check it for you better than you can with your own task.
Two "coding" tools that aren't only for coders
Claude Code comes from Anthropic, Codex from OpenAI. Both carry code in the name, and both were built for developers first. What they actually do is more general: they read the files in a folder, write new ones, run programs and work through a task in many steps until it is done. Sorting a folder of invoices, turning notes into a report, checking a spreadsheet, drafting a newsletter from last month's files are all the same kind of work to them.
Most comparisons of the two are written by developers for developers and argue about benchmarks and pull requests. This one asks what matters if you don't program: what you pay, how you use it without a terminal, what it may do on your computer without asking, and what happens to your data.
Claude Code vs Codex at a glance
| Claude Code | Codex | |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Comes with | Claude Pro, Max, Ultra, Team, Enterprise | ChatGPT Plus, Pro, Business, Enterprise; limited in Free and Go |
| Entry price | $20 a month (Pro; $17 billed yearly) | $20 a month (Plus) |
| Free plan | no Claude Code | limited Codex in the desktop app |
| Without a terminal | Code tab of the Claude desktop app | Codex in the ChatGPT desktop app |
| Desktop app runs on | macOS, Windows, Linux (beta) | macOS, Windows, Linux (preview) |
| Limits | five-hour and weekly, shared with Claude chat | per five hours on Plus, weekly limits may apply, shared with ChatGPT Work |
| Default on your computer | asks before edits and commands (Manual), or a checker decides (Auto); sandbox off | sandbox on: no network, writes only in its folder |
| Instruction file | CLAUDE.md (also reads AGENTS.md) | AGENTS.md |
| Sibling for office work | Claude Cowork | ChatGPT Work |
| In the cloud | cloud sessions | Codex Cloud (not in Free or Go) |
As of 2 December 2026. Prices are in US dollars as shown by the providers; they differ by region.
What does each cost, and how far does the plan go?
Claude Code is part of the paid Claude plans. Pro costs $20 a month, or $17 a month billed yearly; Max costs $100 and Ultra $200. The free plan does not include it. According to Anthropic, Pro and Max have a five-hour session limit and a weekly limit, and Ultra has only the weekly one for verified accounts. These limits are shared: everything you do in the Claude chat and in Claude Code counts against the same allowance. When you hit a limit, you wait, or you turn on usage credits and pay for more. Some models cost extra on the small plan; on Pro, Anthropic's largest model is paid with usage credits.
Codex is part of ChatGPT. Plus costs $20 a month and Pro starts at $100, with tiers at $100, $200 and $500. OpenAI says Codex is included across plans, Free and Go ($8) among them, but there it is limited to the desktop app and one model. For Plus, OpenAI gives estimates of messages per five-hour period rather than fixed numbers, and adds that weekly limits may also apply; Pro plans currently have no five-hour limit. Codex shares its allowance with ChatGPT Work. Beyond the limit you can continue with credits.
What this means in practice:
- For trying it out, Codex is cheaper, because a limited version is in the free plan. Claude Code needs at least Pro.
- At $20 the two are level on price. How long a plan lasts depends on the model you pick and the size of the task, and neither provider promises a fixed number.
- Your chat and your agent draw from one pot. A long afternoon in the chat leaves less for the agent, with both providers.
- Neither plan protects you from extra cost once you allow credits. Spending limits are set in your account with the provider.
Using them without a terminal
Both makers now ship a normal desktop app.
Claude Code is the Code tab in the Claude desktop app for macOS and Windows, with Linux in beta. Anthropic says the app includes Claude Code, so nothing has to be installed separately, and that a paid subscription is required. You can install plugins and set up connectors there with clicks.
Codex is part of the ChatGPT desktop app for macOS and Windows, with Linux in preview. You choose between ChatGPT and Codex in the same window.
For someone who doesn't program, the two feel similar: you pick a folder, describe the task in plain language and watch the agent work. The differences show when you look at what happens before it touches a file.
What may it do on your computer without asking?
This is the point where the two differ most, and the one a beginner should look at first.
Codex starts in a sandbox. OpenAI's docs say the defaults include no network access and write permissions limited to the active workspace, and that Codex asks for approval before it edits files outside that folder or runs commands that need the network. On a Mac the sandbox works without extra setup.
Claude Code starts with questions or a checker. In Manual mode it asks before most edits, shell commands and network requests. In Auto mode, which Anthropic's docs name as the starting mode for terminal and VS Code sessions in current versions, routine questions are skipped and a background classifier checks actions before they run. In the desktop app you can switch to Manual to approve each change yourself. Claude Code also has a sandbox, but the docs say it is off by default and is turned on with a command; on native Windows, commands run without it.
Neither approach is wrong. A sandbox is a wall: whatever the agent tries, it cannot write outside its folder. Questions and checkers are a guard at the door: more flexible, and dependent on you reading what you approve. If you are new to agents and nervous about your files, a wall is the calmer start.
Everyday features side by side
- Standing instructions. Claude Code reads a file called
CLAUDE.md, Codex one calledAGENTS.md: plain text in which you write how you want things done. Claude Code can readAGENTS.mdtoo. Both also keep memories from earlier work. - Skills and plugins. Both can be taught a recurring task as a skill and extended with plugins.
- Connected services. Both use the same standard, MCP, to reach other tools such as your calendar or your documents.
- Scheduled tasks. Both offer them. For tasks that need the files on your computer, both makers say the same thing: keep the computer on and the app open. Cloud tasks run with the computer off but cannot work in a local folder. Codex can also start a task when a Gmail, Slack or GitHub event occurs.
- Using your computer's apps. Both can click through apps on macOS and Windows. For Claude this needs a Pro, Max or Ultra plan and is not available on Team or Enterprise; OpenAI limits it to supported regions.
- Several agents. Both can split work among sub-agents. OpenAI notes that this uses more of your allowance than a single agent.
Cowork and ChatGPT Work: the siblings for office work
Both makers have noticed that many people who use their coding agent don't code, and built a sibling for them.
Claude Cowork is Anthropic's agent for knowledge work and is included in the paid plans. Its tasks run on Anthropic's servers, and scheduled tasks continue with your computer off.
ChatGPT Work is OpenAI's counterpart: in the ChatGPT app you switch between Chat and Work above the message field. OpenAI describes it as the same core capabilities in an experience designed for everyday work, and it shares pricing, credits and limits with Codex.
If your tasks are reports, research and documents, these two are worth trying before the coding agents. Claude Code and Codex earn their place when you want the agent to work directly in your own folders, follow standing instructions, or run alongside others.
What happens to your data?
On the plans for individuals, both providers may use your content to improve their models, and both let you say no.
- Anthropic says it trains on data from Free, Pro, Max and Ultra accounts when the setting for that is on, Claude Code included. With the setting on, data is kept for five years; with it off, for 30 days. You change it in the privacy settings of your account.
- OpenAI says it may use content from its services for individuals to train its models, and that you can opt out in the data controls. Your choice there also applies to Codex.
- Business plans are different with both: Anthropic's Team and Enterprise and OpenAI's Business, Enterprise and Edu are not used for training by default.
Whichever you choose, look at this setting once before you give an agent real documents. For companies we go deeper in AI agents and GDPR.
So which one should you take?
- You already pay for Claude Pro or ChatGPT Plus: use the agent that comes with it. You know the chat, and it costs nothing extra.
- You pay for neither and want to try first: Codex, because the free plan includes a limited version.
- You are worried about your files: Codex's default sandbox is the more cautious start. With Claude Code, stay in Manual mode at first, or turn the sandbox on.
- Your work is mostly documents and research: look at Cowork or ChatGPT Work first.
- You hit the limits often: a bigger plan helps, and so does a second plan from the other provider, because then you have two allowances.
Why not both? Claude Code and Codex in one app
Mochi Squad is a free, open-source Mac app (Apache-2.0, macOS 14 or later) that runs the official Claude Code and Codex in one window. You talk to one assistant there, your Mochi, and you don't decide between the two programs once and for all.
- Your Mochi and its helpers are Claude Code or Codex, on your own plan. A new Mochi runs with Claude Code if you are signed in there, otherwise with Codex, and you can change its provider and model in its settings. One plan is enough to start. See What it costs.
- Helpers get a model that fits. Small things your Mochi does itself. For bigger work it starts helpers, one per part and each on a model that fits, and Claude and ChatGPT models both work. If you want a fixed pairing, for example one agent that writes and another, from the other provider, that reviews, you can set up permanent agents and choose the provider for each.
- The same safety level for both. A new Mochi starts with Work in its folder, and its helpers work in the same folder and get full access only when your Mochi has it. That level and Look only run in the sandbox of the program underneath, Claude Code's included. See Access levels.
- When one plan is used up, an agent can continue on another plan of yours. A switch to the other provider is always asked first, because your conversation then goes to another company. See Several plans.
Mochi Squad uses no API keys and never bills you; you sign in to the official programs yourself. Whether that is allowed with your plan is covered under Is this allowed with my subscription?. The current version is always the signed download for Mac, and Your first task shows how to start.
When Mochi Squad is not the right pick: if you use Windows or Linux (planned, not available yet), if you need tasks to run while your computer is off, or if you use only one of the two and its maker's own app is all you want. Then the desktop apps from Anthropic and OpenAI are the simpler choice.
Frequently asked questions
Is Claude Code or Codex better?
That depends on the task, and the lead in benchmarks changes with each new model. Give both the same real task from your week and compare the results; that tells you more than any ranking.
Is Codex free?
A limited version is included in ChatGPT's Free and Go plans, according to OpenAI. For regular use you need Plus or higher. Codex Cloud is not part of Free or Go.
Is Claude Code free?
No. It needs Claude Pro or a higher plan; the free Claude plan does not include it.
Do I need to know how to program?
No. In the desktop apps you describe the task in ordinary language. It helps to say clearly what the result should look like and in which folder the agent may work.
Which one has higher usage limits?
Neither provider publishes fixed numbers for the $20 plans. Both count in five-hour windows with weekly limits on top, and both let chat and agent share one allowance. How far you get depends on the model and the task.
Can I use Claude Code and Codex at the same time?
Yes, if you have both plans. You can run the two desktop apps next to each other, or use Mochi Squad, where your Mochi runs on one of the two and can start helpers on models from both.
Is my data used for training?
On individual plans it can be, with both providers, unless you switch it off in your account settings. On business plans it is not by default.
Are there other ways to use Claude Code without the terminal?
Yes, several. We compare them in Claude Code without the terminal.
Try Mochi Squad
Free and open source under Apache-2.0, for macOS 14 or later. Mochi works on your own Claude or ChatGPT plan.
Sources
All retrieved on 2 December 2026.
- Anthropic, Claude pricing: https://claude.com/pricing
- Anthropic Help, Use Claude Code with your Pro, Max, or Ultra plan: https://support.claude.com/en/articles/11145838-use-claude-code-with-your-pro-max-or-ultra-plan
- Anthropic, Claude Code overview: https://code.claude.com/docs/en/overview
- Anthropic, Claude Code Desktop: https://code.claude.com/docs/en/desktop
- Anthropic, permissions: https://code.claude.com/docs/en/permissions
- Anthropic, permission modes: https://code.claude.com/docs/en/permission-modes
- Anthropic, sandboxing: https://code.claude.com/docs/en/sandboxing
- Anthropic, memory and CLAUDE.md: https://code.claude.com/docs/en/memory
- Anthropic, scheduled tasks in the desktop app: https://code.claude.com/docs/en/desktop-scheduled-tasks
- Anthropic, data usage: https://code.claude.com/docs/en/data-usage
- Anthropic, Claude Cowork: https://claude.com/product/cowork
- OpenAI, ChatGPT pricing: https://chatgpt.com/pricing
- OpenAI, Codex pricing and limits: https://learn.chatgpt.com/docs/pricing
- OpenAI Help, Using Codex with your ChatGPT plan: https://help.openai.com/en/articles/11369540-using-codex-with-your-chatgpt-plan
- OpenAI, ChatGPT desktop app: https://learn.chatgpt.com/docs/app
- OpenAI, approvals and security: https://learn.chatgpt.com/docs/agent-approvals-security
- OpenAI, sandboxing: https://learn.chatgpt.com/docs/sandboxing
- OpenAI, AGENTS.md: https://learn.chatgpt.com/docs/agent-configuration/agents-md
- OpenAI, scheduled tasks: https://learn.chatgpt.com/docs/automations
- OpenAI, computer use: https://learn.chatgpt.com/docs/computer-use
- OpenAI, subagents: https://learn.chatgpt.com/docs/agent-configuration/subagents
- OpenAI, Get started with ChatGPT Work: https://learn.chatgpt.com/docs/get-started-with-work
- OpenAI Help, How your data is used to improve model performance: https://help.openai.com/en/articles/5722486-how-your-data-is-used-to-improve-model-performance