Codex and Copilot now overlap a lot. Both have a terminal tool, an editor integration, a desktop app and a cloud agent that works in the background and hands back a pull request. The difference is where each one starts from.
Codex is OpenAI's coding agent. Its open-source CLI (openai/codex, Apache-2.0, updated in November 2026) runs in your terminal under explicit sandbox and approval settings, and the same engine powers the IDE extension, the desktop app and Codex Cloud. You sign in with a ChatGPT account or pay per use with an API key.
Copilot is GitHub's assistant, and it starts from the editor and the repository. It gives completions as you type across many IDEs, chat and agent work, code review on pull requests, and a cloud agent that runs in GitHub Actions or a cloud sandbox and opens pull requests on GitHub-hosted repositories. It also lets you choose models from several vendors, including OpenAI.
How they compare
| Aspect | OpenAI Codex | GitHub Copilot |
|---|---|---|
| Starting price | Included in ChatGPT Plus at $20 a month; Go at $8 a month covers lightweight tasks (USD, as listed in November 2026). | Pro at $10 a month, with $15 of AI credits in total (USD, as listed in November 2026). |
| Free option | ChatGPT Free has limited Codex in the desktop app, subject to rollout. | Copilot Free: 2,000 completions a month and limited chat and agent use; no cloud agent. |
| Higher tiers | ChatGPT Pro from $100 a month; Business $20 per user a month billed annually ($25 monthly). | Pro+ at $39 and Max at $100 a month; Business and Enterprise prices go through sales on the plans page. |
| Pay as you go | API key billing at API rates for the CLI, SDK and IDE extension, without cloud features. | Usage is metered in GitHub AI credits; completions do not use credits. |
| Inline completions | Not its focus; it is built as an agent. | A core feature, with next edit suggestions. |
| Cloud agent | Codex Cloud runs tasks remotely and can review pull requests through the GitHub integration. | Runs in GitHub Actions (59-minute cap, one repository per run) or a cloud sandbox; works only with GitHub-hosted repositories. |
| Models | OpenAI models. | Models from Anthropic, OpenAI, Google and others, plus third-party agent delegation on higher plans. |
| Open source | The CLI is open source under Apache-2.0. | Not open source. |
Price at a glance
| Plan detail | OpenAI Codex | GitHub Copilot |
|---|---|---|
| Free option | Ongoing free plan | Ongoing free plan |
| How paid plans charge | Flat subscription | Per user or seat |
| Cheapest paid plan | $8 a month per account | $10 a month per user |
Entry plans differ in what they include, so read the full pricing in the OpenAI Codex and GitHub Copilot reviews. From the same data as our AI tool pricing overview, checked November 2026.
Choose OpenAI Codex if…
- You already pay for ChatGPT and want a capable terminal agent at no extra cost.
- You want an open-source CLI you can read, and explicit sandbox and approval modes.
- Your code is not on GitHub, or you want to work with an API key and pay per use.
- You prefer delegating whole tasks over getting suggestions as you type.
Choose GitHub Copilot if…
- Your team lives in GitHub and wants agent work to flow through issues, pull requests and org policies.
- You want fast inline completions in VS Code, JetBrains, Visual Studio, Xcode or Neovim.
- You want to switch between models from several vendors in one subscription.
- You want the cheapest paid entry point, at $10 a month.
Researched November 2026 from each product's official documentation and pricing pages. Prices and features change often, so check the vendors' sites before you decide.
Sources
- github.com /openai/codex
- learn.chatgpt.com /docs/pricing
- github.com /features/copilot/plans
- docs.github.com /en/copilot/concepts/agents/coding-agent/about-coding-agent