Codex vs GitHub Copilot
At a regular workload: OpenAI Codex's cheapest plan that fits is OpenAI API at $260.14/mo (pay per use), or Pro 100 at $100/mo if our estimate holds (OpenAI Codex doesn't publish that limit); GitHub Copilot's cheapest plan that fits is Max at $160.14/mo (published or measured limit). Pick OpenAI Codex if you already pay for ChatGPT and want the coding agent on that bill. Pick GitHub Copilot if you want the agent meter printed in dollars and you already work in GitHub.
Head to head
Light, Regular, and Heavy use daily-driver models and leave team seats off. Full plan cards stay on the tool pages.
Light
OpenAI Codex. $59.98 · OpenAI API (pay per use) Our estimate: ~$20 · Plus likely covers it (estimate; OpenAI Codex doesn't publish the limit)
GitHub Copilot. $39 · Pro+ (published or measured limit)
Regular
OpenAI Codex. $260.14 · OpenAI API (pay per use) Our estimate: ~$100 · Pro 100 likely covers it (estimate; OpenAI Codex doesn't publish the limit)
GitHub Copilot. $160.14 · Max (published or measured limit)
Heavy
OpenAI Codex. $659.79 · OpenAI API (pay per use) Our estimate: ~$100 · Pro 100 likely covers it (estimate; OpenAI Codex doesn't publish the limit)
GitHub Copilot. $559.79 · Max (published or measured limit)
Usage model
OpenAI Codex. Plan allowance plus model-specific message ranges on Plus and standard Business. The range unit is not labeled on the page. API is per million tokens.
GitHub Copilot. GitHub AI Credits. 1 credit = $0.01. Pro 1,500, Pro+ 7,000, Max 20,000 per month including flex.
Key gotcha
OpenAI Codex. OpenAI prints no hour or token quota for Plus or Pro. Pro at $100, $200 and $500 is monthly only.
GitHub Copilot. Copilot's included credits are the allowance for agent and chat. Past them, each credit is $0.01.
Open the calculator to change days, tokens, or the model class. OpenAI Codex · GitHub Copilot · OpenAI Codex source · GitHub Copilot source
Good to know
- Codex comes with a ChatGPT plan: Plus $20, and Pro at $100, $200 or $500 a month. OpenAI describes Plus as a few focused coding sessions a week and Pro as full workdays.
- Copilot prints its allowance in dollars: Pro $10 includes $15 of credits, Pro+ $39 includes $70 and Max $100 includes $200, at $0.01 a credit, overage included.
- Both run OpenAI models. On Copilot they spend credits at GitHub's rate card; in Codex they draw on the ChatGPT plan's allowance, which OpenAI does not size.
- Inline completions on paid Copilot plans do not spend credits; agent and chat do.
- Copilot stays forecastable past its grant, at a cent a credit. Codex prints no remainder, so you only see the limit when you reach it.
From the vendors' pages. The verdict and table above are computed from today's data; trust them where the two differ.
Where the docs differ
Rows where OpenAI Codex and GitHub Copilot say the same thing are left off this page. The full matrix is on extensibility.
| Capability | OpenAI Codex | GitHub Copilot |
|---|---|---|
| Harness | Terminal CLI that works on the local repo, plus an IDE extension that uses the files already open in the editor. Codex CLI Codex IDE extension | IDEs, Copilot CLI, GitHub.com, and the Copilot cloud agent. Copilot instruction support |
| Bring your own model or key | Custom model_providers with a base URL and key, plus built-in Bedrock and GCP. Codex advanced config | User bring-your-own-key can target a cloud host or a model server on your computer, in supported clients including the CLI. Copilot bring your own key |
| Local or open-weight models | --oss with Ollama or LM Studio (oss_provider). Codex advanced config | Copilot CLI auto-discovers Ollama models, and MAI Code 1.1 Flash can run locally. Copilot CLI models |
| MCP | STDIO and Streamable HTTP in config.toml, shared by the CLI and the IDE. Codex MCP | Cloud-agent profiles can declare MCP servers. The IDE also uses .vscode/mcp.json. Copilot chat MCP |
| Adding a custom connector | A custom remote server is a name plus a URL in config.toml or the CLI. OpenAI Docs MCP | A cloud-agent profile can add a local command server. A published connector count is not on the page. Copilot custom agents |
| Rules and instruction files | AGENTS.md files are read from ~/.codex and from the repo, root to the working directory. Codex prompting guide | .github/copilot-instructions.md, path instructions, and AGENTS.md, CLAUDE.md, or GEMINI.md where that client supports them. Copilot custom instructions |
| Hooks | hooks.json events include PreToolUse, PostToolUse, and SubagentStop. Codex hooks | Hooks in Copilot CLI and the cloud agent. Copilot hooks |
| Subagents or background agents | Subagents are documented. Codex subagents | Custom agents are markdown profiles. Copilot cloud agent is a separate hosted agent. Copilot custom agents in the IDE |
| CLI or CI | codex exec, and the GitHub Action openai/codex-action@v1. Codex non-interactive mode | copilot -p in GitHub Actions. Copilot CLI actions |
| Privacy controls | ChatGPT sign-in follows the workspace's retention and residency. An API key follows the API org's settings. Local history.persistence. Codex auth Codex config reference | No-training agreements with model providers, zero data retention with OpenAI, and session data under org policy. Copilot model hosting Copilot session data |
| Offline use | Partial: local OSS providers. Full offline is not stated. Codex advanced config | COPILOT_OFFLINE=true with a local model. Copilot CLI models |
| Lock-in and export | The CLI and SDK are open source. Instructions live in AGENTS.md. openai/codex | Works on your local repo; rules and MCP config are repo files; no account-data export is documented. Copilot chat MCP |
Report an error to hello@codeburn.dev.