Codex alternatives compared: price, plans and background runs
| Tool | What it is | Pricing (official) | Subscriptions or keys it can use | Runs in background |
|---|---|---|---|---|
| Codex | OpenAI's coding agent: CLI, IDE extension, desktop and web app, Codex cloud | Limited in ChatGPT Free and Go ($8); Plus $20; Pro $100, $200 or $500 a month | ChatGPT plan sign-in, or an OpenAI API key (no cloud features) | Yes: Codex cloud, on Plus and higher plans |
| Claude Code | Anthropic's coding agent for the terminal, IDE, desktop and web | Pro $20 a month ($17 billed annually); Max $100; Ultra $200 | Claude Pro, Max or Ultra sign-in, or an Anthropic API key | Yes: cloud sessions keep running after you close your laptop (paid plans, claude.ai sign-in) |
| Cursor | AI code editor with Cloud Agents and a CLI | Free; Plus $8 (Grok models only); Premium $30; Super $100; Ultra $200 a month | A Cursor or X Subscription plan; your own OpenAI, Anthropic, Google, Azure or Bedrock key for chat models | Yes: Cloud Agents, on Premium and higher |
| GitHub Copilot | GitHub's coding assistant: IDE, Copilot CLI, Copilot app and Copilot in the cloud | Free; Pro $10; Copilot Pro+ $39; Max $100 a month; Business $19 per seat | A Copilot plan, billed in AI credits; Copilot CLI also takes your own provider keys | Yes: Copilot in the cloud; sessions on GitHub Actions run at most 59 minutes |
| Devin | Cognition's AI software engineer: Devin Desktop and Devin Cloud | Free; Pro $20; Max $200 a month; Teams $80 a month for up to 100 users | A Devin plan; Pro, Max and Teams also list using your ChatGPT plan | Yes: Devin Cloud, on Pro and higher |
| Jules | Google's experimental coding agent for GitHub repositories | 15 tasks a day free; 100 with Google AI Pro; 300 with Google AI Ultra | A Google account; Google AI Pro or Ultra for more tasks | Yes: runs in a virtual machine, so you can move on while it works |
| opencode | Open-source (MIT) coding agent: a terminal interface and desktop, mobile and web apps | Free; optional OpenCode Go $10 or Go Plus $40 a month | ChatGPT Plus or Pro or GitHub Copilot sign-in, OpenCode Go, or your own keys for 200+ providers | No hosted runner documented; runs on your computer |
| Aider | Open-source (Apache-2.0) AI pair programmer in your terminal | Free; you pay your model provider | API keys for OpenAI, Anthropic, Gemini, xAI, DeepSeek, OpenRouter and others, local models, or a GitHub Copilot token | No: runs on your computer |
| Folsom | Always-on teammate and coding agent: its own cloud computer per Session, memory, Loops and Slack | Pro $50 and Max $200 a month; no free plan | ChatGPT, Claude, SuperGrok or X Premium+ and GitHub Copilot sign-ins, or your own API keys | Yes: Sessions run on Folsom's cloud computers with your laptop closed |
Prices and plans from each vendor's official pricing page or docs, checked Nov 20, 2026; US list prices. Sources are listed at the end of the page.
Free Codex alternatives
A coding agent can be free in two ways: open-source software where you bring a local model or pay per token, or a hosted $0 tier with weekly, daily or monthly caps (checked Nov 22, 2026).
| Tool | Free tier or license | Models on the $0 route | Limits and catches | Source |
|---|---|---|---|---|
| opencode | Free open source (MIT) | Local models via Ollama, LM Studio or vLLM; free models in OpenCode; BYOK for 200+ providers | Hosted API providers bill per token; optional OpenCode Go starts at $10/month | opencode.ai · github.com/anomalyco/opencode |
| Aider | Free open source (Apache-2.0) | Local models via Ollama or llama.cpp, or your own API keys | Terminal only; hosted API keys bill per token | aider.chat · github.com/Aider-AI/aider |
| Cline | Free open source (Apache-2.0; JetBrains plugin excepted) | Local models via Ollama or LM Studio, or your own API keys | Hosted model inference bills per token | cline.bot · github.com/cline/cline |
| Google Antigravity | $0 individual plan | Gemini models (pricing page also lists Claude models) | Basic weekly rate limits; no BYOK | antigravity.google/pricing |
| Google Jules | $0 tier (15 tasks a day) | Gemini models in Google's cloud VM | Experimental; 15 tasks/day cap unless on Google AI Pro or Ultra | jules.google/docs/usage-limits |
| GitHub Copilot Free | $0 tier | Auto model selection only | 2,000 completions and a limited AI credits allowance per month | docs.github.com/en/copilot/get-started/plans |
| Cursor Free | $0 tier | Cursor's free-tier selection | Limited agent and chat requests per month | cursor.com/pricing |
| Devin Free | $0 tier | Limited model availability | Light trial quota; full models and Devin Cloud start on Pro ($20/mo) | devin.ai/pricing |
Codex itself also has a $0 entry route: ChatGPT Free includes limited Codex access with GPT-6 Luna in the ChatGPT desktop app (subject to rollout, without Codex Cloud), and Codex CLI is Apache-2.0 and runs local models with codex --oss and Ollama.
Try a Codex alternative on a real task in Folsom
Open Folsom on the web or the Mac app
Sign in at reasonmachines.com, or download the Folsom app for macOS from reasonmachines.com/download. Both open the same Sessions. Sending work to Folsom needs a Pro or Max plan.
Connect the plans you already pay for
In Settings › Models, connect subscriptions such as Claude (Pro or Max), ChatGPT (Plus, Pro or Business), Grok (SuperGrok or X Premium+) or GitHub Copilot, or add API keys. Choose a connected model or account in the composer to use it. Automatic routing starts with Folsom; subscriptions are not always used before API keys.
Give it a task you know the answer to
In the composer, name the repository and paste a task you've already solved, such as a failing test. Folsom works on its own cloud computer, runs the tests and opens a pull request, so you can compare its diff with your other agent's.
Switch the model and compare
Start a second Session on the same branch with a model from another provider, and ask it to review the first diff. Each Session shows the model and account it ran on.
Codex alternatives at a glance
| Made by | Open source | Where it runs | Price | |
|---|---|---|---|---|
| Claude Code | Anthropic | Not open source | Terminal, IDE, desktop, web; cloud sessions keep running with the laptop closed | Claude Pro $20, Max $100, Ultra $200 a month |
| Cursor | Anysphere | Not open source | AI code editor; Cloud Agents run in cloud VMs, from the editor, web, iOS or Slack | Free; Plus $8 (Grok models only); Premium $30; Super $100; Ultra $200 a month |
| Devin | Cognition | Not open source | Cloud workspace with shell, IDE and browser; CLI, desktop; Slack and Teams | Free; Pro $20; Max $200 a month; Teams $80 a month for up to 100 users |
| GitHub Copilot in the cloud (older: Copilot cloud agent) | GitHub | Not stated | Works in the background in a cloud environment; sessions on Actions run at most 59 minutes | Copilot paid plans from $10 to $100 a month; Business $19 per seat |
| Jules | Not stated | Experimental; runs tasks in a virtual machine | 15 tasks a day free; more with Google AI Pro and Ultra | |
| opencode | The opencode project | MIT | Terminal, desktop and mobile apps; 200+ providers and local models | Free; optional OpenCode Go from $10 a month |
| Aider | Aider-AI (GitHub) | Apache-2.0 | Pair programming in your terminal; almost any LLM, local ones included | Free; you pay your model provider |
| Folsom | Folsom AI | Not open source | Web, Mac and iOS apps, Slack, command line; its own cloud computer per Session, or yours | Pro $50, Max $200 a month; credits |
From each vendor's own pages, checked Nov 20, 2026; prices are US list prices. For reference, Codex itself is included in ChatGPT Free and Go, Plus is $20 a month, and its CLI is open source under Apache-2.0.
Which alternative for which reason
A higher index score than Codex: Claude Code. On Artificial Analysis's Coding Agent Index v2.1 (November 2026: FrontierCode-AA 2.0, Terminal-Bench 4.1 and SWE-Atlas-QnA-AA), Claude Code on Fable 5.2 scores 58, Codex on GPT-6.2 Astra 53 and Grok Build on Grok 4.7 42, as listed on its comparison pages, checked Nov 20, 2026. Scores measure a harness and model together; try the same task in each on your own repository.
An editor instead of a terminal: Cursor. A teammate you tag in Slack that works in its own cloud workspace: Devin, or Folsom. Already pay for GitHub: Copilot in the cloud. Free and open source with any model, local ones included: opencode or Aider.
Related alternatives
For more options by editor workflow, compare free Cursor alternatives.
To see open-source tools for autonomous software work, read about an open source Devin alternative.
What people on Reddit say
Two Reddit threads on the same question, read in full:
In a small r/GithubCopilot thread from June 2026 (18 replies) asking which assistant developers actually use, the top reply likes both Claude Code and Codex, several say they moved to Codex for its limits, a few call Cursor the default answer, and several use Copilot because it's the tool their employer approves. Others mention opencode with DeepSeek and Antigravity for lower cost.
In an r/LocalLLaMA thread from April 2026 (over 150 replies) asking for a Claude Code-style agent for local models, many replies recommend opencode as the most plug-and-play option, several prefer pi for its small system prompt on consumer hardware, and others suggest Cline, Kilo Code or Roo Code in VS Code. A few point out that Claude Code itself can talk to a local model once its base URL is set.
Folsom: all your AI subscriptions in one coding agent
Use the subscriptions you already pay for (ChatGPT, Claude, SuperGrok/X Premium+, Copilot) or your own API keys in one coding agent. Hit your limit and Folsom keeps going on your other connected accounts or Folsom credits.
Folsom is an always-on teammate that is also a coding agent: its own cloud computer per Session, memory across Sessions, Loops and Slack, with the model picked per task. Work that runs on your own subscription or API key is billed by that provider and keeps its limits; Folsom's plans are Pro at $50 and Max at $200 a month, with no free plan, and it isn't open source.
On cost: in Folsom's published benchmark on GPT-6 Astra at xhigh effort, with the same tasks and graders, Folsom 1.1 scored 65.1 against Codex's 62.5 on Coding Agent Index v1.5, at 22% lower cost per solved task. That's Folsom's own reproduction on GPT-6 Astra, not endorsed by Artificial Analysis, with the runner published to reproduce it.
Sources (checked Nov 20, 2026; Reddit threads checked Nov 5, 2026)
- OpenAI: Codex pricing
- openai/codex on GitHub (Apache-2.0)
- Ollama docs: Codex
- Anthropic: Claude plans and pricing
- Claude Code license (checked Nov 21, 2026)
- Cursor: pricing
- Cursor docs: Cloud Agents
- Cursor: terms of service (checked Nov 21, 2026)
- Devin: pricing
- Cognition: platform terms of service (checked Nov 21, 2026)
- GitHub Docs: Copilot plans
- GitHub Docs: Copilot on GitHub.com and GitHub Mobile
- Jules docs: usage limits
- Google Antigravity: pricing
- opencode.ai
- anomalyco/opencode on GitHub (MIT)
- Aider-AI/aider on GitHub (Apache-2.0)
- cline/cline on GitHub (Apache-2.0)
- Artificial Analysis: coding agent methodology (v2.1)
- Artificial Analysis: Claude Code vs Codex
- Artificial Analysis: Claude Code vs Grok Build
- Folsom: Folsom 1.1 Coding Agent Index results (Oct 10, 2026)
- Folsom docs: plans
- Anthropic: what is the Ultra plan?
- Claude Code docs: Claude Code on the web
- Cursor Help: API keys
- GitHub Docs: GitHub Copilot CLI
- Devin
- Jules docs
- OpenCode Go
- opencode docs: providers
- opencode docs
- opencode.ai
- Aider docs: connecting to LLMs
- Aider docs: GitHub Copilot
- GitHub Docs: about third-party agents
- OpenAI: Codex pricing by ChatGPT plan, Business seats (checked Nov 21, 2026)
- r/GithubCopilot: Which AI coding assistant are developers actually using in 2026? (Jun 2026)
- r/LocalLLaMA: What is the best coding agent (CLI) like Claude Code for local development? (Apr 2026)
Questions
What is the best alternative to Codex?
For a higher score on a public index, Claude Code: on Artificial Analysis's Coding Agent Index v2.1 it scores 58 on Fable 5.2 against Codex's 53 on GPT-6.2 Astra. For an editor, Cursor; for a free open-source tool, opencode or Aider.
Is there a free open-source Codex alternative?
Yes. opencode (MIT), Aider (Apache-2.0) and Cline (Apache-2.0) are free and work with almost any model provider or a local model via Ollama. For hosted $0 tiers without running models locally, Google Antigravity, Google Jules (15 tasks a day) and GitHub Copilot Free each include limited usage.
Is Claude Code better than Codex?
On Artificial Analysis's Coding Agent Index v2.1, Claude Code on Fable 5.2 scores 58 and Codex on GPT-6.2 Astra 53, and the two tie on its Terminal-Bench 4.1 part at 64. Codex is cheaper to start, since ChatGPT Free and Go include it.
Can I keep using my ChatGPT plan in another agent?
In Folsom, yes: Settings › Models has Sign in with ChatGPT for Plus, Pro and Business plans. opencode also supports ChatGPT Plus. That plan's own limits still apply.
What happens when an agent hits its usage limit?
Claude Code, Codex and Cursor stop or offer paid usage at their plan's limits. Hit your limit? Folsom keeps going on your other connected accounts or Folsom credits.
Is Folsom affiliated with these vendors?
No. Folsom is built by Folsom AI and is not affiliated with or endorsed by Anthropic, OpenAI, Anysphere, Cognition, GitHub, Google or SpaceXSI (xAI). Facts about their products come from their own pages, linked under Sources.
Is Codex free?
Partly. ChatGPT Free and Go ($8 a month) include limited Codex in the desktop app; the CLI, IDE extension, web and iOS start with Plus at $20.
How much does Codex cost?
It comes with ChatGPT: Plus $20 a month, Pro $100, $200 or $500, and Business $20 per user billed annually ($25 monthly) for a Standard seat or $100 ($125 monthly) for a Premium seat. With an API key you pay per token, without the cloud features.
Can I use Codex with my Copilot plan?
Yes, on GitHub: the OpenAI Codex coding agent runs on a Copilot subscription (public preview), and the Codex extension for VS Code has Sign in with Copilot on Copilot Pro+ and Max.
