Codex Alternatives: 11 Other Apps Like OpenAI Codex, Compared
OpenAI Codex alternatives grouped by need: rate limits, free and open-source tools, terminal agents, cloud agents and editors. Prices checked on 16 November 2026.
OpenAI Codex is OpenAI's coding agent. It runs as a desktop app, a command-line tool (the Codex CLI), an extension for code editors and a cloud agent inside ChatGPT, and all of them draw on your ChatGPT plan.[1] The name is older than the product. In 2021, "Codex" was a GPT model trained on public GitHub code, and a version of it powered the first GitHub Copilot.[2] This article is about the agent OpenAI ships today.
People look for other apps like Codex for three reasons. The first is limits: Codex counts messages in a five-hour window and may add a weekly limit, and a long task can use up the window.[1] The second is price, because the CLI, the editor extension and cloud tasks start at the $20 Plus plan.[1] The third is model choice, because with a ChatGPT login Codex runs OpenAI's models only.[1]
This comparison covers 11 OpenAI Codex alternatives and competitors, grouped by the reason you are leaving. It is based on each vendor's pricing pages, documentation and GitHub repositories, checked on 16 November 2026. We did not test the tools. The main finding: no subscription removes limits. Most tools now meter use in five-hour, daily or weekly windows or in credits. Only the open-source tools that bill your own API key have no cap of their own.
Before you switch: what Codex offers when you hit the limit
OpenAI publishes ranges, not fixed numbers. On Plus, the five-hour window allows an estimated 15 to 160 messages with GPT-6.1 Sol and 350 to 3,000 with the smaller GPT-6 Luna, for work that runs on your own machine. Cloud tasks share the same allowance and can use more of it.[1] When you reach the limit, OpenAI says the agent can finish the turn it is working on, subject to fair-use limits.[1]
You have four options before you change tools:
- Buy credits. Plus and Pro users can buy ChatGPT credits without upgrading the plan.[1]
- Move up to Pro. Pro costs $100, $200 or $500 a month and currently has no five-hour limit, though weekly limits may still apply.[1]
- Use an API key. Any user can run extra local chats in the CLI, SDK or IDE extension with an OpenAI API key, billed at API rates. An API key does not include cloud features such as GitHub code review or Slack.[1]
- Use a local model. The Codex CLI is open source under Apache 2.0.[3] Its
--ossflag switches it to an open-source model served by LM Studio or Ollama on your own machine.[4]
Using GPT-6 Luna for routine work also stretches the window, because OpenAI's estimated range for it is much higher than for GPT-6.1 Sol.[1]
Codex alternatives compared: 11 apps like Codex
Prices are in US dollars per month for one person, from each vendor's page on 16 November 2026.
| Tool | Type | Cheapest paid plan | Free option | Open source | Models | Where it runs |
|---|---|---|---|---|---|---|
| OpenAI Codex (for reference) | Agent: app, CLI, IDE, cloud | Plus $20[1] | Free plan: desktop app only, subject to rollout[1] | CLI yes (Apache 2.0)[3] | OpenAI; local via --oss[4] | Local and OpenAI cloud |
| Claude Code | Agent: terminal, IDE, desktop, web | Pro $20, or $17 billed annually[5] | No (not on Claude Free)[5] | No | Claude; third-party providers in CLI and IDE[6] | Local and Anthropic cloud |
| GitHub Copilot | IDE assistant and cloud agent | Pro $10[7] | 2,000 completions a month, no cloud agent[7] | No | Several vendors[7] | IDE and GitHub cloud |
| Cursor | AI code editor | Plus $8 (Grok models only)[9] | Limited agent requests[9] | No | Grok; other vendors at API list price from Premium up[9] | Editor and Cursor cloud |
| Google Antigravity | Agent app, IDE and CLI | Google AI Pro (price not on Antigravity's pages)[11] | Yes, weekly rate limits[11] | No | Gemini, Claude, GPT-OSS[13] | Local and Google cloud |
| Jules (Google) | Async cloud agent | Included in Google AI Pro[14] | 15 tasks a day[14] | No | Gemini[14] | Google cloud VM |
| Devin (formerly Windsurf) | Cloud agent, desktop app and CLI | Pro $20[16] | Light quota[16] | No | Several vendors and open models[16] | Local and Devin cloud |
| Kiro (AWS) | IDE, CLI and web agent | Pro $20 for 1,000 credits[17] | 50 credits a month[17] | No | Claude, GPT, open-weight[17] | Local and AWS cloud |
| Cline | Agent: VS Code, JetBrains, CLI | None; you pay for model use[19] | Yes[19] | Yes (Apache 2.0)[18] | Any provider, local via Ollama or LM Studio[18] | Your machine |
| OpenCode | Terminal agent and desktop app | Optional Go plan $10[22] | Yes[20] | Yes (MIT)[20] | Any provider, local, ChatGPT login[21] | Your machine |
| OpenHands | Self-hosted agent platform | Teams $500 for up to 10 users[24] | Yes (Agent Canvas)[24] | Yes (MIT)[23] | Any LLM[23] | Your machine or servers |
| Aider | Terminal pair programmer | None; you pay for model use | Yes[25] | Yes (Apache 2.0)[25] | Most LLMs, including local[25] | Your machine |
"No" under Open source means the vendor does not publish the code under an open-source licence. Gemini CLI is left out of the table: it is now aimed at Gemini Code Assist Standard and Enterprise licences, and on 18 June 2026 free individual access and Google AI Pro and Ultra moved to the Antigravity CLI.[10]
If the Codex usage limit or rate limit is the problem
Switching does not remove limits: every subscription in this list has a usage limit, like Codex. The difference is the unit, and how often it resets.
- Claude Code uses the same five-hour and weekly limits as the Claude chat plans. Max at $100 gives five times Pro's usage. Ultra at $200 gives ten times Pro's weekly usage and has no five-hour limit for verified accounts. Paid plans can add usage credits.[5]
- GitHub Copilot bills chat and agent work in monthly credits. Pro includes $15 of credits, Pro+ at $39 includes $70, and Max at $100 includes $200. Code completions are unlimited on all paid plans.[7]
- Cursor has one usage pool that refreshes weekly. Premium at $30 gives four times the usage of Plus, Super at $100 gives 15 times and Ultra at $200 gives 50 times. Third-party models are billed separately at API list price.[9]
- Google Antigravity gives free users a quota that refreshes weekly. Google AI Pro and Ultra refresh every five hours up to a weekly limit, and both can buy AI credits for overage.[12]
- Jules counts tasks, not messages: 15 a day with 3 at once on the free plan, 100 with Google AI Pro and 300 with Ultra.[14]
- Devin quotas refresh daily and weekly, and extra usage is charged at API prices.[16]
- Kiro sells a fixed number of credits a month, from 1,000 on Pro to 10,000 on Power at $200. Extra credits cost $0.04 each.[17]
Jules is the only tool here that counts tasks instead of messages or credits, so one long task costs the same as a short one.[14] Copilot and Kiro use a fixed monthly amount instead of a time window, so a heavy day takes from the same pool as the rest of the month.[7][17] The tools in the next section have no subscription limit at all. With your own API key, the only limits are your model provider's rate limits and your spending.
Free and open-source Codex alternatives
Four open-source tools charge nothing for the software. You connect your own model provider and pay it directly, or run a local model.
- Cline is free for individual developers, and you pay only for AI inference.[19] It runs as a VS Code extension, a CLI, a JetBrains plugin and a desktop app. It connects to Anthropic, OpenAI, Google, OpenRouter, AWS Bedrock and any OpenAI-compatible API, and to local models through Ollama or LM Studio.[18] The JetBrains plugin is not open source.[18]
- OpenCode is an MIT-licensed terminal agent with a beta desktop app, and it has about 227,000 GitHub stars.[20] It reads its model list from models.dev and finds local models in Ollama, LM Studio and vLLM. You can also sign in with a ChatGPT Plus or Pro account, so the same subscription works inside a different tool.[21] The optional OpenCode Go plan costs $10 a month for a set of open and low-cost models, with five-hour and weekly caps.[22]
- Aider is an Apache 2.0 pair-programming tool for the terminal that works with most LLMs, including local ones.[25] Development has slowed. The latest release, v0.86.2, was published on 12 February 2026, and the last push to the repository was on 22 May 2026.[25]
- OpenHands is MIT-licensed. Its free Agent Canvas is a self-hosted control centre for coding agents. It runs on a laptop or a shared virtual machine and works with any LLM through your own key.[23][24]
Three commercial tools have free plans that need no API key:
- Google Antigravity is free for individuals, with weekly rate limits.[11] Free users get Gemini 4 Hydrogen and Gemini 3.8 Flash. Claude Sonnet 4.6, Claude Opus 4.6 and GPT-OSS-120b are also on the free plan today, but Google lists them for removal on 18 November 2026.[13]
- Jules runs 15 tasks a day for free.[14]
- Kiro gives 50 credits a month with open-weight models and Claude Sonnet 4.5.[17]
Codex itself has a free plan, but it covers GPT-6 Luna in the desktop app only, and OpenAI says access is subject to rollout.[1]
If you want a terminal agent like the Codex CLI
These tools work in a terminal the way the Codex CLI does: they read the repository, edit files and run commands.
- Claude Code, created by Boris Cherny at Anthropic, is the closest commercial match. It also runs in VS Code, JetBrains IDEs, a desktop app and the browser. The terminal and IDE versions can use third-party model providers instead of a Claude login.[6] Claude Code is not on the free Claude plan.[5]
- Antigravity CLI is now Google's terminal agent for individuals, and every Antigravity plan includes it.[12] It replaced the Gemini CLI for free users.[10]
- OpenCode and Aider are open-source terminal agents that work with almost any model.[20][25]
- Cline CLI has interactive and headless modes, so it can also run in scripts.[18]
- Kiro CLI uses the same credits as the Kiro IDE.[17]
If you use Codex cloud for background tasks
Codex cloud takes a task, works on it in OpenAI's cloud and returns a change for review. These tools do the same:
- Claude Code on the web runs long tasks in the browser with no local setup, works on repositories you do not have locally and runs several tasks in parallel. You can move a cloud session into your terminal afterwards.[6]
- GitHub Copilot cloud agent researches the repository, plans the change and implements it in the background on paid plans. It runs in a cloud sandbox, a GitHub Actions runner or a remote environment you set up. Sessions on Actions runners stop after 59 minutes, and compute uses your GitHub account allowance, separate from Copilot credits.[8] Pro+ and Max can also hand tasks to third-party agents such as Claude Code and Codex.[7]
- Jules clones the repository to a cloud VM, writes a plan and opens a pull request. You can assign it a GitHub issue by adding the "jules" label.[15]
- Devin Pro at $20 includes Devin Cloud.[16]
- Kiro Web runs tasks in the cloud with no separate charge for compute.[17]
- OpenHands runs agents, schedules and webhook-triggered automations on your own machines, and it can drive Claude Code, Codex, Gemini CLI and OpenCode as well as its own agent.[23]
If you want an editor instead
The Codex IDE extension adds an agent to an existing editor. These options are editors built around an agent, or extensions for the editor you already use.
- Cursor, co-founded by Aman Sanger, now ties its cheapest paid plan to Grok: Plus at $8 gives Grok models only and no cloud agents. Premium at $30 adds cloud agents, code review and other vendors' models, which are billed at API list price.[9]
- Devin Desktop is listed on Devin's pricing page, and the old Windsurf pricing page now redirects there.[16] Devin's home page says you can work on a task in Desktop or the CLI, or tag @Devin, but it does not describe Desktop in more detail.[28]
- Kiro IDE is the editor of Kiro, which AWS builds and runs.[26] A Kiro subscription also works in other editors that support the Agent Client Protocol (ACP).[17]
- Antigravity IDE is Google's agentic editor. It sits next to the Antigravity app, which manages several local agents in parallel, and the CLI.[27]
- GitHub Copilot and Cline stay inside VS Code or JetBrains, so you keep your editor.[7][18]
For teams and self-hosting
Codex Business costs $20 per user a month billed annually, or $25 monthly. Enterprise adds SCIM, role-based access and data residency controls, at a price set by sales.[1] The team plans of the alternatives:
- Claude Team costs $25 per standard seat a month, or $20 billed annually. Premium seats cost $125, or $100 billed annually, with five times the usage of a standard seat.[5]
- Cursor Teams starts at $30 per user a month, and it is the first plan with SSO.[9]
- Devin Teams costs $80 a month plus $40 for each full developer seat, for up to 100 users.[16]
- Kiro Teams costs $20 per seat with 500 credits each, pooled across the team.[17]
- GitHub Copilot Business and Enterprise let admins set usage limits and decide whether paid overage is allowed. The plans page does not list their prices.[7]
If code must stay on your own infrastructure, the open-source tools are the main option. OpenHands Teams is self-hosted and costs $500 a month for up to 10 users plus $50 per extra seat, capped at 5,000 sessions a month.[24] Cline, OpenCode and Aider run on the developer's machine and can use a local model, so the code does not have to go to a model provider.[18][21][25] Devin Enterprise offers a dedicated deployment.[16]
Frequently asked questions
Is there a free alternative to OpenAI Codex?
Yes. Cline, OpenCode, Aider and OpenHands are free open-source tools where you pay only for the model you connect, or nothing with a local model. Google Antigravity has a free plan with weekly rate limits, Jules allows 15 tasks a day for free, and Kiro's free plan has 50 credits a month.
Is there an open-source alternative to Codex?
Yes. OpenCode (MIT), Cline (Apache 2.0), OpenHands (MIT) and Aider (Apache 2.0) are open source. The Codex CLI is also open source under Apache 2.0, and it can run local models through LM Studio or Ollama with the --oss flag.
What can I do when I hit the Codex usage limit?
On Plus and Pro you can buy ChatGPT credits without upgrading. Any user can keep working in the CLI or IDE extension with an OpenAI API key at API rates, and the CLI can switch to a local model with --oss. Pro plans currently have no five-hour limit, though weekly limits may apply.
Is Codex free?
Partly. Codex's free plan covers GPT-6 Luna in the desktop app only, and OpenAI says access is subject to rollout. The Codex CLI is free and open source under Apache 2.0, but using it with OpenAI's models needs the $20 Plus plan or higher, or an OpenAI API key.
What can replace Codex cloud?
Claude Code on the web, the GitHub Copilot cloud agent, Google's Jules, Devin Cloud and Kiro Web all take a task, work on it in a cloud environment and hand back changes. OpenHands is the self-hosted option, and it can run Codex and other agents on your own machines.
Which Codex alternative has the highest usage limits?
The tools that bill your own API key, such as Cline, OpenCode and Aider, have no request cap of their own; your model provider's limits apply. Among subscriptions, Claude's Ultra plan at $200 a month has no five-hour limit for verified accounts, and Codex Pro currently has no five-hour limit.
Sources
All pages were checked on 16 November 2026.
- OpenAI. "Codex pricing". OpenAI.
- Chen, M. et al. (2021). "Evaluating Large Language Models Trained on Code". arXiv:2107.03374.
- OpenAI. "openai/codex". GitHub.
- OpenAI. "Codex CLI shared options (--oss and --local-provider)". GitHub.
- Anthropic. "Plans and pricing". Claude.
- Anthropic. "Claude Code overview". Claude Code Docs.
- GitHub. "GitHub Copilot plans and pricing". GitHub.
- GitHub. "About the Copilot cloud agent". GitHub Docs.
- Cursor. "Pricing". Cursor.
- Google. "google-gemini/gemini-cli". GitHub.
- Google. "Antigravity pricing". Google Antigravity.
- Google. "Plans". Google Antigravity Docs.
- Google. "Models". Google Antigravity Docs.
- Google. "Usage limits". Jules Docs.
- Google. "Jules". Google.
- Devin. "Pricing". Devin.
- Kiro. "Pricing". Kiro.
- Cline. "cline/cline". GitHub.
- Cline. "Pricing". Cline.
- OpenCode. "anomalyco/opencode". GitHub.
- OpenCode. "Providers". OpenCode Docs.
- OpenCode. "Go". OpenCode Docs.
- OpenHands. "OpenHands/OpenHands". GitHub.
- OpenHands. "Pricing". OpenHands.
- Aider. "Aider-AI/aider" (v0.86.2 tag, 12 February 2026, also the current PyPI version). GitHub.
- Kiro. "Kiro". Kiro.
- Google. "Google Antigravity". Google.
- Devin. "Devin". Devin.