Best for codex alternatives
Codex alternatives: AI coding agents to compare
Codex is OpenAI's coding agent for the terminal, an editor extension and ChatGPT, and the free ChatGPT plan includes only limited Codex access. If you want an agent from another company, a free or open-source one, one that runs on any model, or one inside your editor, these are the DreamBuilds listings to compare. Pricing tiers are shown only when we verified them.
10 tools. Ordered by how directly each listing matches this job, judged from its DreamBuilds description. This is an editorial order, not a benchmark or a test result.
Claude Code
Anthropic's coding agent for the terminal and supported editors. It is not included in Claude's free plan.
The closest swap: Anthropic's coding agent for the terminal and supported editors. It is not included in Claude's free plan.
PaidOfficial siteOpenCode
Open-source coding agent for the terminal, a desktop app, and IDE extensions. Free models are included, or you can connect models from other providers.
Open source, with a terminal agent, a desktop app and IDE extensions. Free models are included, or connect other providers.
FreeOfficial siteCusp
Public preview of a coding agent that works with any model or gateway, from Claude and GPT to local models, and adapts its edit tools to each one. Desktop app and CLI, with turn rewind and parallel worktrees.
Runs on any model or gateway, including local models, as a desktop app and CLI. Its free account covers 2,500 agent actions a month on your own keys. Public preview.
Praex
Coding agent that runs on its own model family. It reads your repo, edits with your approval and runs your tests, in the terminal (open source, MIT), desktop app or browser, and sessions can continue from your phone.
Runs on its own model family in the terminal, a desktop app or the browser. Its everyday model is free and Pro is $20 a month. The terminal agent is open source (MIT).
Aider
Open-source pair programmer in the terminal. You bring your own model key.
Free and open source, in the terminal. You bring your own model key.
FreeOfficial siteGoose
Open-source coding agent from Block. You bring your own model key.
Open-source agent from Block. You bring your own model key.
FreeOfficial siteCline
Open-source coding agent for VS Code. You bring your own model key.
If you would rather stay in VS Code: an open-source agent that uses your own model key.
FreeOfficial siteAmp
Coding agent that can run on remote machines. The Hobby tier is free and can use your own model keys.
Can run on remote machines. The Hobby tier is free and can use your own model keys.
FreemiumOfficial siteGitHub Copilot
Code completion and a coding agent in GitHub and supported editors.
Code completion plus a coding agent in GitHub and supported editors, with a free tier.
FreemiumOfficial siteCursor
Desktop code editor with agents that can edit a repository, run commands, and show the diff.
A desktop code editor with agents that edit your repository, run commands and show the diff, with a free tier.
FreemiumOfficial site
FAQ
- What is a free alternative to Codex?
- Aider, OpenCode, Goose and Cline are listed as Free on DreamBuilds. Aider, Goose and Cline use your own model key, and OpenCode includes free models. Praex has a free everyday model, and Amp's Hobby tier is free.
- Is Claude Code a good Codex alternative?
- It is the closest swap: Anthropic's coding agent for the terminal and supported editors, though it is not included in Claude's free plan. See the side-by-side comparison of Claude Code and Codex on DreamBuilds.
- Can I use a Codex alternative with any model?
- Cusp works with any model or gateway, including local models, and OpenCode can connect models from other providers. Aider, Goose and Cline use your own model key.
- Is there a Codex alternative inside my editor?
- Yes. Cline runs in VS Code, GitHub Copilot works in GitHub and supported editors, and Cursor is a full code editor with agents. The Cursor alternatives list covers more editors.
- Where can I compare more coding agents?
- The Claude Code alternatives list compares 10 coding agents, and the terminal coding agents list compares more command-line options.
More lists
- Best AI tools for building a website
- Best AI tools for building mobile apps
- Best AI tools for building AI agents
- Best AI tools for building voice apps
- Best AI tools for building landing pages
- Best AI tools for building a SaaS MVP
- Best AI tools for design to code
- Best AI-friendly databases and backends
- Best AI tools for image generation
- Best AI coding tools for beginners
- Best AI coding agents for the terminal
- Best open-source AI coding tools
- Best AI tools for 3D models and game assets
- Best tools for running several AI coding agents at once
- Cursor alternatives: AI code editors and coding agents
- Lovable alternatives: AI app builders to compare
- Claude Code alternatives: AI coding agents to compare
Built an AI tool? Get it listed.