OpenAI Codex vs GitHub Copilot: Which coding agent should you pay for?
Summary
Derived from sourced facts, not from builder opinions- Codex runs OpenAI models only. Copilot lists Claude, GPT-6 and Gemini models under one plan.
- Copilot Pro costs $10 a month with $15 of AI Credits. Codex comes with ChatGPT: Plus is $20, and Free and Go ($8) get GPT-6 Luna in the desktop app.
- You do not have to pick only one: Copilot Pro+ and Max can hand tasks to the OpenAI Codex agent, in preview.
- On the official Terminal-Bench 4.0 board, Codex scored 58.18% with GPT-6 Astra or GPT-6.1 Sol at max effort. Copilot has no entry on that board.
Choose OpenAI Codex if
Choose GitHub Copilot if
Follow both to get an email when either one changes its price, limits or behavior.
Plans
OpenAI Codex plans
GPT-6 Luna in the desktop app, rolling out
GPT-6 Luna in the desktop app, rolling out
Web, CLI, IDE and iOS · GPT-6.1 Sol and GPT-6 Luna
Plans at $100, $200 or $500 · no five-hour limit
Per user monthly · $20 billed annually
GitHub Copilot plans
Limited chat and agent usage
$15 of GitHub AI Credits a month
$70 of AI Credits a month
$200 of AI Credits a month
Subscription agents are priced per seat with usage limits, so this compares plans rather than dividing a subscription by a guessed number of tasks.
Side by side
Scores appear side by side only when both were published for the same test. Settings differ between sources, so small gaps can reverse under another harness.
Updates
OpenAI Codex
GitHub Copilot
Switching checklist
- Keep AGENTS.md: Copilot's cloud agent, VS Code chat and the Copilot CLI read it, and the nearest one in the tree wins.
- Move anything in AGENTS.override.md into AGENTS.md or .github/copilot-instructions.md. Copilot reads AGENTS.md, CLAUDE.md and GEMINI.md, not the override file.
- Rewrite each [mcp_servers] table from ~/.codex/config.toml as an entry in your editor's mcp.json.
- Add repository MCP servers on GitHub for the cloud agent and code review.
- If you want to keep Codex for some tasks, Copilot Pro+ and Max can delegate tasks to it, in preview.
- Compare your monthly use with Copilot's AI Credits: $15 on Pro, $70 on Pro+, $200 on Max.
- Run one real task in your own repository with both tools and compare the diffs before moving a team.
FAQ
Is Codex better than GitHub Copilot?
There is no shared test. Codex scored 58.18% on Terminal-Bench 4.0 with GPT-6 Astra or GPT-6.1 Sol, and Copilot has no entry on that board.
Can I use Codex inside GitHub Copilot?
Yes, in preview. Copilot Pro+ and Max can delegate tasks to third-party agents, including OpenAI Codex and Claude.
How much do Codex and Copilot cost?
Copilot is free, $10 (Pro), $39 (Pro+) or $100 (Max) a month. Codex comes with ChatGPT: Free, Go at $8, Plus at $20 and Pro at $100, $200 or $500.
Which models does Codex use?
OpenAI models only: GPT-6.1 Sol and GPT-6 Luna on Plus, with GPT-6 Astra and GPT-6 Sol also listed.
Does Copilot read AGENTS.md?
Yes, in the cloud agent, VS Code chat and the Copilot CLI. Visual Studio reads only copilot-instructions.md files.
Is Codex free?
Yes, on ChatGPT Free with GPT-6 Luna in the desktop app, still rolling out. Plus adds Codex on the web, CLI, IDE and iOS.
Are there usage limits on Copilot?
Yes. Each plan includes a monthly amount of GitHub AI Credits: $15 on Pro, $70 on Pro+, $200 on Max. Free has limited chat and agent usage.