Cody vs OpenAI Codex
Pricing
Cody: Enterprise only, from $16,000 a year
OpenAI Codex: Included in ChatGPT plans (Plus $20/mo, Pro from $100/mo), limited use on Free and Go
Description
Cody: Sourcegraph's AI coding assistant, sold only with Sourcegraph Enterprise since the Free and Pro plans ended in July 2025
OpenAI Codex: OpenAI's coding agent, which works in the ChatGPT desktop app, your terminal, your editor and the cloud on your ChatGPT plan
Pros
- Uses Sourcegraph's code search to answer questions across large codebases
- Works in VS Code, JetBrains, Visual Studio (experimental), the Sourcegraph web app and a CLI
- Sourcegraph says it does not use customer data to train models
- Runs in the ChatGPT desktop app, the CLI, an IDE extension and on the web, all tied to one ChatGPT account
- Cloud tasks keep going after you close your laptop, in a reusable environment for each repo
- Reviews GitHub pull requests when you tag @Codex or turn on automatic reviews
Cons
- No plan for individuals: Cody Free and Cody Pro ended on 23 July 2025
- Sourcegraph Enterprise requires a yearly contract starting at $16,000
- Built for engineering organizations, not solo founders
- Free and Go plans only get limited use in the desktop app, on the smaller GPT-6 Luna model
- Plus usage is counted per five-hour window and weekly limits can also apply, and how far it goes depends on the model and the size of the task
- Running it on an API key instead of a plan drops the cloud features, such as GitHub code review and Slack
Details
Cody’s strength is Sourcegraph’s code graph. While most AI tools see only the files you have open, Cody can draw on an index of your whole repository, so it can answer questions like “where is the authentication logic?” even when those files are closed.
Sourcegraph stopped new Cody Free and Pro sign-ups on 25 June 2025 and ended both plans on 23 July 2025. Cody is now available only on Sourcegraph Enterprise, which starts at a $16,000 yearly contract, and Sourcegraph pointed individual users to Amp, its separate coding agent. For a solo founder, GitHub Copilot is the closest low-cost editor assistant, Cursor gives whole-codebase context in a full editor, and Claude Code works across a repository from the terminal.
Codex is OpenAI’s coding agent. You hand it a task, such as a hard-to-find bug, a refactor or a new feature, and it reads the code, makes the changes and checks its own work, using browser and computer tools where it needs them. It can run several agents in parallel, and cloud tasks carry on while your laptop is closed.
It comes with ChatGPT, so if you already pay for Plus you already have it. The same account works in the desktop app, the terminal, your editor and on iOS.
OpenAI describes Plus at $20/month as enough for a few focused coding sessions a week. Heavier use means Pro, from $100/month, which currently has no five-hour limit, or buying extra credits when you hit the limit. You can also run the CLI on an API key and pay standard API rates, which suits automation such as CI.
Verified