Claude Code vs Codex vs Copilot comes down to three sentences. Claude Code is Anthropic's terminal agent: it reads your files, edits them and runs commands, without GitHub and without any programming knowledge. Codex is OpenAI's counterpart, per its docs also an agent for the terminal, the editor and the cloud, running on the GPT-6 model family since September; OpenAI lists the command line and the editor from ChatGPT Plus up, while the Free and Go plans only get the desktop app, subject to rollout. GitHub Copilot is the one most tied to GitHub: editor completions, a cloud agent that prepares pull requests, and its own command line. If you want to work on files and folders in your own business, Claude Code or Codex fits; if you already live in GitHub, Copilot gives you the shortest path to a pull request.
I have used Claude Code every day since it came out, and I run my AI workforce on it. I use Codex regularly, to see how it changes and for correction loops. GitHub Copilot I tested, but never ran day to day. Prices and feature lists still come from the vendors' official docs, for Claude Code and Codex as of October 26, 2026. Copilot only gets an overview here; the details as of October are in Claude vs Copilot for Coding: Which One?. Where my own impression comes in, I say so. Everything else I write about Claude is collected on the Claude page.
Three tools, three basic ideas
The three tools sound alike because all three are called "agents" and all three can run in a terminal. The difference lies in where they come from. According to Anthropic's documentation, Claude Code is "an agentic coding tool that reads your codebase, edits files, runs commands", available in the terminal, in VS Code, Cursor and JetBrains, as a desktop app for macOS and Windows (Linux in beta), on the web at claude.ai/code including the mobile app, in GitHub Actions, GitLab CI/CD, Slack and Chrome. It requires a paid Claude plan or an Anthropic Console account. If you are weighing up the Cursor editor rather than Codex or Copilot, the direct comparison is in Claude Code vs Cursor: Which Fits You?.
OpenAI describes Codex in its CLI documentation like this: "Inspect code, make changes, run commands, and automate repeatable work without leaving your terminal." There is the command line, an extension for VS Code, Cursor and Windsurf, integrations for JetBrains and Xcode, a cloud variant in the browser, and a GitHub integration. The desktop app is now the ChatGPT app for macOS, Windows and Linux, where you pick ChatGPT or Codex. You sign in with your ChatGPT account or an API key, and you set permissions with /permissions. In its basic idea, Codex is the closest to Claude Code: an agent that works in your folder.
GitHub Copilot is built differently. Its core is completion in the editor; on top of that come chat, an agent mode in the IDE, a cloud agent and a command line called Copilot CLI, according to the GitHub docs. Per the vendor, the cloud agent works in a short-lived environment at GitHub, only with GitHub repositories, and delivers its result as a pull request. Copilot is less a tool for your folder than a tool for your repository.
Copilot vs Claude Code vs Codex: the comparison table
The table sums up what the vendors state in their docs, retrieved on October 26, 2026. Prices are entry prices in US dollars; the full pricing logic follows below.
Two things stand out. First, the free entry points, which are less alike than they look. Copilot Free includes the command line, per GitHub. OpenAI still lists Codex under Free and Go on its pricing page, but only as "GPT-6 Luna at Standard speed in the desktop app, subject to rollout"; web, command line and editor extension only appear from Plus. Claude Code has no free entry point, it requires a paid plan per Anthropic. So of the three, only Copilot lets you work in the terminal for free. Second: Copilot brings in both competitors. GitHub's plan overview lists "Access to 3rd party agents (Claude Code and Codex)" for Pro. So you do not necessarily have to choose between the three if your team already pays for Copilot.
Prices and usage logic compared
I have summarized Claude's prices with sources in Claude Pricing and Plans Explained. According to the pricing page, retrieved on October 26, 2026, Max and Ultra on October 30, 2026: Free 0 dollars (without Claude Code), Pro 20 dollars a month (17 on annual billing), Max 100 dollars, Ultra 200 dollars a month, Team from 20 dollars per seat a month on annual billing. Anthropic counts usage in five-hour windows, and paid plans add weekly limits on top; Max offers five times the usage per window that Pro does, per the vendor. Since October 30, 2026, Ultra has no five-hour limit for verified accounts, per Anthropic, and offers 10x Pro usage per week; the weekly limit stays.
OpenAI's Codex pricing page, as of October 26, 2026, lists: Free at 0 dollars and Go at 8 dollars, both only with GPT-6 Luna in the desktop app; Plus at 20 dollars with Codex on the web, in the CLI, in the editor and on iOS; Pro in three tiers at 100, 200 or 500 dollars a month, with the fastest mode, "Ultrafast", included only in Pro 500; Business at 20 dollars per user on annual billing with at least two users, 25 dollars billed monthly. For Plus, OpenAI now gives estimates: with GPT-6.1 Sol, 15 to 160 local messages per five-hour window, explicitly not fixed limits. For Pro the page says "Pro plans currently have no five-hour limit"; that does not rule out weekly limits, as the note under the table says "Weekly limits may also apply". When you run out, Plus and Pro let you buy credits. ChatGPT Work, the Codex technology inside chat, draws on the same allowance, per OpenAI.
GitHub bills Copilot differently again: through a monthly allowance of "AI Credits" that agent sessions draw down by model and token. How much each plan includes, and what that means for Claude models inside Copilot, I broke down in Claude vs Copilot for Coding: Which One?.
What does that mean for the comparison? Three vendors, three units of measure: five-hour windows with a weekly limit at Claude (on Ultra, verified accounts no longer have the five-hour window), estimated messages per window plus credits at OpenAI, an allowance in AI Credits at GitHub. A direct cost comparison is therefore only a rough heuristic. From my own experience with Claude Code: I did not start on Max, I moved only when Pro's allowance stopped covering long sessions. For business data I also use Claude Team, because of the data processing agreement and privacy. The full picture for Codex, with credits, Business and what works in the EU, is in Codex Pricing and Usage Limits 2026.
What makes the difference if you do not code
If you do not write software but want to work on proposals, meeting notes, checklists and folder structures, three questions count: Does the tool run in a normal folder without a repository? Can I set rules that always apply? Can I reuse workflows?
Claude Code answers all three with yes, shown step by step in Claude Code: A Guide for Beginners. A CLAUDE.md in the project folder is the house rule, skills are reusable workflows, and hooks are rules that run on every event; more on that in Claude Code Hooks: Rules That Always Apply. Codex also works in any folder with permission levels. I use it regularly, but for correction loops rather than as the home of my workforce, so how far rules and reusable workflows carry there I have not tested systematically. Copilot requires a GitHub account even for its command line, and the cloud agent needs a GitHub repository. For a business without GitHub, that is a high hurdle.
An example from my workforce that uses exactly these three points: Sebastian, my SEO employee, keeps his workflows as skills named seo-audit and geo-audit in his folder. On September 16, 2026 he asked Conny, my content editor-in-chief, through our mailbox protocol for her experiences for five blog posts; Conny answered as a subagent and dropped the letter into Sebastian's inbox. No repository, no pull request, just a folder structure with rules in which two Claude Code sessions work together. What sits in Sebastian's folder, and what a finished audit looks like, is on Sebastian, my employee for SEO and GEO.
My choice: Claude Code, and where its limits are
My choice was made before the other two existed in their current form: I have used Claude Code every day since its start as a research preview on February 24, 2025, and my AI workforce runs on it. Each of my AI employees on Claude Code has its own CLAUDE.md as a personnel file, its own skills and its own mailbox, and Conny and Ralf regularly run in long, continuous sessions. My most concrete hook use case: six hook events report to my employee OS, and when a permission request comes up I can decide there instead of in the terminal; that has been running live, verifiably, since September 2026.
To be honest, there are limits. Claude Code has no free tier, and with heavy use on Pro and Max you hit the five-hour windows. A point-and-click interface is not the concept, even though a desktop app and a web version exist. And if your team is already organized on GitHub, Copilot gives you a pull request workflow that I would have to build myself with Claude Code. How Claude Code differs from Claude Cowork is covered in Claude Code or Cowork: What For?. Cowork runs not only on the desktop but also on the web and on mobile, and since September 16, 2026 Anthropic has been gradually merging it with chat into one Claude, starting with Pro, Max and Ultra (claude.com).
One tool writes, another checks
One house rule applies here: whoever creates something does not correct it. The reasoning is the same as for the review pass in my workforce, that a model is poor at finding its own mistakes in the same context. In practice one tool writes and another reads it back, and that is what I use Codex for. Claude Code builds something, Codex checks the result with a fresh view, or the other way around.
This is not a benchmark, I measure nothing here. What counts is the separation, not the vendor: two separate sessions of the same tool work too, as long as the checker does not know the path to the result. What Anthropic itself offers for this, from the /code-review command to the review service for pull requests, is in Claude Code Review: Cost, Setup, Limits. How a checking role like that fits into a setup of several agents, and who may see and change what, is in Orchestrating Multiple AI Agents.
When Codex or Copilot is the better choice
My assessment, for Codex from ongoing use, for Copilot from the docs and one test:
- You already pay for ChatGPT Plus and do not want a second vendor: from Plus up, Codex is included in the terminal, the editor and on the web, and the basic idea is the same as Claude Code's. Whether the model behind it suits you better is a separate question; for chat and text work I answered it in Claude vs ChatGPT 2026: Compared.
- Your team lives in GitHub, every change goes through pull requests, and you want to hand tasks to an agent in a clean environment: that is what the Copilot cloud agent is for, included from Pro up per the GitHub docs.
- You want to try things out for free first: of the three tools here, only Copilot Free gets you working in the terminal without a subscription and without cost, per GitHub with 2,000 completions a month and Copilot CLI. On Free and Go, OpenAI offers Codex only in the ChatGPT desktop app with GPT-6 Luna, subject to rollout; it lists the command line from Plus up. Claude Code has no free tier.
- You want Claude Code but your company only has Copilot: according to GitHub's plan overview, Copilot Pro includes access to Claude Code and Codex as third-party agents; GitHub lists them as a public preview, for the paid plans and not for Free. The page does not state which limits apply, so check that in your own account.
If none of these four cases applies and you want to work with files in your own business, Claude Code is in my view the choice that needs the least infrastructure. More alternatives, including Gemini CLI, OpenCode and Grok Build, are covered in Claude Code Alternatives in 2026.
For the workflow shared by both tools, read Agentic Coding: Beyond Vibe Coding.
For how a specification makes the assignment verifiable, read Spec-Driven Development With AI Agents.
Frequently asked questions
Can I use Claude Code inside GitHub Copilot?
According to GitHub's plan overview, Copilot Pro includes "Access to 3rd party agents (Claude Code and Codex)". What you get is a Claude agent inside GitHub's workflow, in public preview per GitHub, not a full Claude Code with your own rules on your machine. What that means in allowance is not stated. If you want Claude Code as a standalone tool in your terminal, you still need a Claude plan.
Do I need a paid ChatGPT plan for Codex?
No, according to the Codex pricing page it is also included in Free and Go. There, though, only in the ChatGPT desktop app with GPT-6 Luna, subject to rollout; OpenAI lists web, command line and editor extension from Plus up. Without a subscription, the command line only runs with an API key, and then you pay API prices. For regular work in the terminal, a paid tier is realistic in my view, just as with Claude.
Claude Code vs Copilot: which one runs without GitHub?
Claude Code and Codex run in any folder, no repository required. Copilot is tied to a GitHub account, and the cloud agent to a GitHub repository. Copilot CLI runs locally but also needs the GitHub account.
What is the difference between a cloud agent and the terminal?
In the terminal, the agent works directly on your machine, in your files, and asks before risky steps. A cloud agent like Copilot's or Codex's works in an environment at the vendor, fetches your repository and returns a pull request. For folders without a repository, the terminal is the only way.
Claude Code vs Codex 2026: which tool is better if you do not code?
Both run in a normal folder and without a repository according to their docs. For Claude Code I can say from my own use that CLAUDE.md, skills and hooks hold up for pure text work as well. I use Codex regularly, but for correction loops rather than as a place to keep rules and workflows, so I have not tested it for that purpose.
Does any of the three tools run on Windows without WSL?
According to the docs, yes, all three: Claude Code via the PowerShell installer or WSL, Codex with its own installer for PowerShell, Copilot CLI via PowerShell and WSL. The Windows steps are in Install Claude Code: Windows, Mac, Linux. For Codex on Windows, Mac and Linux, see how to install Codex.
Where to go next
If you decide on Claude Code, start with Claude Code: A Guide for Beginners: installation, CLAUDE.md and your first task. If you are torn between terminal and desktop, Claude Code or Cowork: What For? helps. And if your real question is whether Claude or ChatGPT suits you better, Claude vs ChatGPT 2026: Compared is the starting point. How my AI employees are built on Claude Code is what I show in my community.