AI Coding

Claude Code vs Codex vs GitHub Copilot: The Real Difference

Claude Code vs Codex vs GitHub Copilot: three coding agents, three very different companies, and pricing pages that all changed in the last few months. Picking one shouldn’t take an afternoon.

Here’s the short version. Claude Code is a terminal-first agent from Anthropic. Codex is OpenAI’s agent, bundled into ChatGPT plans. GitHub Copilot started as autocomplete and is now an agent that lives inside GitHub itself. They overlap a lot, but they bill differently and they fit different habits.

Everything below comes from each vendor’s own docs and pricing pages as of November 10, 2026. Prices move often, so click through before you pay.

Claude Code vs Codex vs GitHub Copilot at a glance

Claude Code vs Codex vs GitHub Copilot feature comparison table
Claude CodeCodexGitHub Copilot
Made byAnthropicOpenAIGitHub (Microsoft)
Where it runsTerminal, VS Code, JetBrains, desktop app, webCLI, IDE extension, ChatGPT apps, Codex CloudYour IDE, GitHub.com, Copilot CLI, cloud sessions
How you payClaude subscription or API usageChatGPT plan or API keyCopilot plan with monthly AI credits
Free optionNo (paid plan or API)Yes, limited, on ChatGPT FreeYes, Copilot Free
Project instructions fileCLAUDE.md (can read AGENTS.md instead)AGENTS.md.github/copilot-instructions.md (also reads AGENTS.md)

Claude Code lives in your terminal

Anthropic’s overview page describes Claude Code as “an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.” You install it with one command, type claude inside a project, and talk to it. New to it? Our Claude Code tutorial for beginners walks through a first project step by step.

Its strongest side is control. Claude Code has six permission modes. In the default (Manual) mode it stops and asks before most actions that edit files, run shell commands or reach the network. You can loosen that to acceptEdits while you iterate, or use plan mode to let it explore before touching anything. There’s also a bypassPermissions mode, which the docs say is for isolated containers and VMs only. Believe them.

It also has the deepest customization of the three: a CLAUDE.md file for project rules, hooks that run shell commands before or after actions, skills for repeatable workflows, subagents, and MCP servers for outside tools. Same engine across terminal, VS Code, JetBrains, the desktop app and the web.

Pricing model: it isn’t on Claude’s free plan. The Claude pricing page includes Claude Code in Pro ($20 a month billed monthly, $17 a month on annual billing), Max (from $100 a month), Team and Enterprise. You can also sign in with an Anthropic Console account and pay per token at API rates.

Codex comes bundled with ChatGPT

OpenAI’s Codex runs in more places than people expect. The Codex docs list the ChatGPT desktop app, the mobile app, ChatGPT on the web, the Codex CLI, an IDE extension and Codex Cloud. The CLI page describes it as a way to “inspect code, make changes, run commands, and automate repeatable work without leaving your terminal.” A /permissions command lets you choose when it edits files or runs commands without asking.

Its big selling point is the price of entry. According to OpenAI’s Codex pricing page, Codex is included in ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise. Free is pitched for “quick coding tasks,” Go ($8 a month) for “lightweight coding tasks,” and Plus ($20 a month) to “power a few focused coding sessions each week.” Pro starts at $100 a month. Business is $20 per user per month on annual billing, or $25 monthly.

There’s also an API key option, which bills at API rates and suits automation like CI. The pricing page notes the API key route covers the CLI, SDK and IDE extension, but not the cloud features.

Codex reads AGENTS.md files before doing any work, according to OpenAI’s AGENTS.md page. If your team uses more than one agent, that’s handy: Claude Code can read a repo’s AGENTS.md in place of its own CLAUDE.md, and GitHub’s docs say Copilot accepts AGENTS.md files alongside its own .github/copilot-instructions.md.

GitHub Copilot is already in your editor

Copilot is the one most developers have touched, because it started as inline autocomplete. In 2026 it’s much more than that. Every plan includes agent mode in the IDE, and paid plans add “Copilot in the cloud,” where Copilot can, in GitHub’s words, “research a repository, plan changes, and implement them in the background.”

The cloud agent docs list real limits worth knowing: a session running on GitHub Actions has a maximum execution time of 59 minutes, works on one repository and one branch, and opens one pull request per task. GitHub also says the new cloud experience became available to paid plans on October 28, 2026, while Free users stay on the older Copilot Chat experience.

Pricing model: this is the biggest recent change. Copilot now meters usage in GitHub AI Credits. The plans page lists Copilot Free (an allowance of credits, 2,000 inline completions a month, auto model selection only), Pro at $10 a month, Pro+ at $39, Business at $19 per seat and Enterprise at $39 per seat. GitHub’s individual billing docs say one credit is worth $0.01 and you can buy more when you run out.

Monthly price of individual plans that include Claude Code, Codex and GitHub Copilot

The catch: the sticker price is the least useful number on these pages. All three tools are agents, and agents burn far more compute than chat. One long refactor can eat what a dozen quick questions would. Claude and ChatGPT plans have usage limits that reset over time, Copilot spends credits per request, and the API routes bill every token. So the real question isn’t “which is cheapest” but “which one lets me check usage and set a cap before I get surprised.” Look for the usage dashboard and spending controls before you commit, and on Copilot Business or Enterprise, ask your admin what happens when the pooled credits run out.

How they feel different in daily use

Ignore the model names for a second. The real difference is where the work happens.

  • Claude Code is happiest when you’re in a terminal, in a real repo, and want a back-and-forth while it reads, edits and runs tests. Its permission modes and hooks make it the most tunable.
  • Codex is the natural pick if you already pay for ChatGPT. You can start a task from your phone, let it run in Codex Cloud, and pick it up in the CLI later.
  • Copilot wins if your team lives on GitHub. Inline completions, chat in the IDE and cloud sessions that end in a pull request, all inside the tool you already review code in.

None of them is a safe “set it and forget it.” Each one can write code that looks right and isn’t. Our guide to fixing bugs with AI covers how to keep an agent honest with tests.

Which AI coding agent should you pick?

  • Student or hobbyist on zero budget: start with Copilot Free or Codex on ChatGPT Free. Both are limited, but they’re real. Our list of free AI coding tools has more options.
  • Already paying for ChatGPT Plus: try Codex first. You’ve paid for it already.
  • Terminal-heavy developer who wants fine control: Claude Code on a Pro plan. Move to Max only if you keep hitting limits.
  • Team on GitHub with code review habits: Copilot Business. The cloud agent ending in a PR fits how your team already works.

Can you use two? Plenty of people do. A shared AGENTS.md keeps the instructions in one place.

Our verdict

If you only try one, match it to the subscription you already have. That’s honestly the deciding factor for most people, since all three now do multi-file edits, run commands and connect to MCP servers. If you have none: Copilot Free costs nothing to test, and Claude Code is the one we’d pick for serious terminal work where you want to approve each step. Skip paying for a top tier until you’ve hit the limits of the cheaper one at least twice.

Next: learn the plug that connects these agents to your tools in What is an MCP server? Whichever tool you pick, these 9 habits for coding faster with AI matter more than the brand.

FAQ

Is Claude Code free?

No. Claude’s pricing page doesn’t include it on the Free plan. You need Pro, Max, Team or Enterprise, or an Anthropic Console account billed at API rates.

Can I use Codex without paying?

Yes, in a limited way. OpenAI lists Codex on ChatGPT Free for “quick coding tasks,” subject to rollout. Heavier use needs a paid plan or an API key.

What are GitHub AI Credits?

They’re how Copilot now measures usage. Each plan includes a monthly allowance; GitHub’s billing docs value one credit at $0.01 and let individuals buy more when they run out.

Which one is best for beginners?

Copilot, because it shows up inside VS Code with no terminal skills needed and has a free tier. Once you’re comfortable in a terminal, Claude Code and the Codex CLI give you more control.

Leave a Comment