The best Claude Code alternatives in November 2026 are Codex CLI (OpenAI's terminal agent, included in ChatGPT plans), OpenCode (an MIT-licensed agent that runs the model you connect) and Gemini CLI (Google's Apache 2.0 agent with a free tier). Aider, Goose, Cline and Crush are four more coding agents that work with many model providers, including local models. Which one fits depends on why you are looking: price, usage limits, model choice or an open license.
Every terminal in one Grid.Six agents typing at once, no tab juggling. VibeiDE Grid view.See the GridEverything below was checked on each tool's own site or repository on 19 November 2026. Prices and limits change often, so follow the links.
Why do people look for Claude Code alternatives?
People usually look for a Claude Code alternative for one of four reasons: it needs a paid account, its plans have usage limits, it is built around one vendor's models, and it is not open source.
- Price. The Claude Code setup page says Claude Code requires a Pro, Max, Team, Enterprise or Console account, and that the free claude.ai plan does not include it. As of November 2026, Claude pricing lists Pro at $20 per month ($17 per month billed annually), Max at $100 and Ultra at $200.
- Usage limits. The same pricing page says every plan has usage limits: most accounts have a rolling five-hour session window, paid plans add weekly limits, and Claude Code shares one pool with Claude on web, desktop and mobile. Our guide to Claude Code usage limits covers how the windows work.
- Single vendor. Claude Code signs in with a Claude plan or Console account. The setup page also allows a third-party API provider such as Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry, but the product is built around Claude models.
- Closed source. The license file in the Claude Code repository reads "All rights reserved" and points to Anthropic's Commercial Terms of Service. It is not an open source license.
None of this is a flaw as such. It only shows which alternative answers which concern.
What are the best Claude Code alternatives in November 2026?
Seven coding agents cover almost every reason to look elsewhere: Codex CLI, OpenCode, Gemini CLI, Aider, Goose, Cline and Crush. The table uses what their own pages state.
| Tool | What it is | Open source? | Models it can use | Platforms | Price note (as of November 2026) |
|---|---|---|---|---|---|
| Codex CLI | OpenAI's coding agent that runs locally in your terminal | Yes, Apache 2.0 | OpenAI models, through a ChatGPT plan or an API key | macOS and Linux installer, PowerShell installer for Windows | Listed in every ChatGPT plan, including Free ($0), Go ($8) and Plus ($20) |
| OpenCode | Coding agent with a terminal interface, desktop app and web app | Yes, MIT | Catalog of providers from models.dev, plus local models through Ollama or LM Studio | macOS, Windows, Linux | No fee for the tool. You pay your provider. Optional OpenCode Go plan at $10 per month |
| Gemini CLI | Google's agent that brings Gemini into the terminal | Yes, Apache 2.0 | Gemini models | npm, Homebrew on macOS and Linux | Free tier: 60 requests per minute and 1,000 per day with a personal Google account |
| Aider | AI pair programming in your terminal | Yes, Apache 2.0 | Almost any LLM, including local models | Installs with Python pip | No price listed for the tool. You pay the model provider |
| Goose | General-purpose AI agent with a desktop app and a CLI | Yes, Apache 2.0 | 15+ providers, including Anthropic, OpenAI, Google, Ollama and OpenRouter | macOS, Linux, Windows | No price listed for the tool. You pay the model provider |
| Cline | Coding agent as an IDE extension, CLI or SDK | Yes, Apache 2.0 (the JetBrains plugin is not open sourced) | Anthropic, OpenAI, Google, OpenRouter, Bedrock, Ollama, LM Studio, any OpenAI-compatible API | VS Code, JetBrains, npm CLI, desktop app for macOS and Windows | No price listed in the repository. You pay the model provider |
| Crush | Terminal coding agent from Charm | Source published under FSL-1.1-MIT | Many providers through OpenAI- or Anthropic-compatible APIs, plus local models | macOS, Linux, Windows (PowerShell and WSL), Android, BSD | No price listed in the repository. You pay the model provider |
| VibeiDE | Not a replacement: runs Claude Code, Codex and OpenCode side by side | Not applicable | Whatever your installed CLIs use | macOS, Windows, Linux | Paid license after a 14-day trial, separate from provider plans |
A few details the table cannot hold:
- Codex CLI is the closest like-for-like option: one vendor, one subscription, a terminal agent. Its pricing page says Plus and standard Business usage is estimated per five-hour period and that weekly limits may also apply, so it has windows of its own. See Codex vs Claude Code.
- OpenCode is the usual pick when the model should be your choice. Its docs describe connecting a provider with
/connect, and its provider page says a ChatGPT Plus or Pro plan can be used instead of an OpenAI API key. See OpenCode vs Claude Code. - Gemini CLI signs in with a Google account, a Gemini API key or Vertex AI.
- Aider pair programs on a new project or an existing codebase.
- Goose is part of the Agentic AI Foundation at the Linux Foundation. Its README says it accepts API keys or existing Claude, ChatGPT or Gemini subscriptions through ACP.
- Cline puts the agent inside VS Code or JetBrains.
- Crush can discover models from local runtimes such as Ollama, LM Studio and llama.cpp.
Editor products such as Cursor and Windsurf are a different category (an editor with an agent inside) and are not covered here.
Which Claude Code alternative is free?
Gemini CLI and Codex CLI are the two with a free path stated by their vendors, and OpenCode can run at no model cost while free models are on offer. "Free" has two parts: the tool and the model behind it.
- Gemini CLI: its repository lists a free tier of 60 requests per minute and 1,000 requests per day with a personal Google account, as of November 2026.
- Codex CLI: the Codex pricing page lists a Free ChatGPT plan at $0 for exploring Codex on quick coding tasks. It does not state the limits of that plan.
- OpenCode: the tool is MIT licensed, and its docs list models marked free for a limited time, some with data-use caveats. Our guide to OpenCode free models tracks what is free now.
- Aider, Goose, Cline and Crush: their repositories list no price for the tool. The cost is the model: an API key you pay for, or a local model through Ollama or LM Studio, which costs hardware rather than tokens.
Free tiers have limits and sometimes data retention terms, so read them before sending private code.
Which Claude Code alternative is open source?
Codex CLI, OpenCode, Gemini CLI, Aider, Goose and Cline are open source under MIT or Apache 2.0 licenses. As read in each repository on 19 November 2026:
- MIT: OpenCode.
- Apache 2.0: Codex CLI, Gemini CLI, Aider, Goose and Cline. Cline's README notes that its JetBrains plugin is not open sourced.
- FSL-1.1-MIT: Crush. Its source is public, but this is not MIT or Apache 2.0, so read the license file before you build on it.
An open source agent does not make the model open. For a fully open stack, pair an open agent with a local model.
How do you choose a Claude Code alternative?
Choose by the reason you started looking, because no single tool wins on every point.
| Your need | Start with | Why |
|---|---|---|
| A second subscription agent | Codex CLI | Same shape as Claude Code, different vendor and separate allowance |
| Pick the model per task | OpenCode | Provider catalog, plus local models |
| Pay nothing to start | Gemini CLI | Free tier stated in the repository |
| Local models only | OpenCode, Aider or Crush | Each documents local model support |
| Agent inside the editor | Cline | VS Code extension and JetBrains plugin |
| Desktop app beyond coding | Goose | Described as a general-purpose agent with a desktop app |
How do you try one without leaving Claude Code?
Install the alternative next to Claude Code and give it one small task in the same repository; nothing needs to be uninstalled. These commands come from each project's own page:
# Codex CLI
npm install -g @openai/codex
# OpenCode
curl -fsSL https://opencode.ai/v2/install | bash
# Gemini CLI
npm install -g @google/gemini-cli
# Aider
python -m pip install aider-install
aider-install
# Goose CLI
curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash
# Cline CLI
npm i -g cline
# Crush
brew install charmbracelet/tap/crushThen keep the trial fair:
- Share the instructions. The Claude Code overview says that if a repository already has an
AGENTS.mdfor other coding agents, Claude Code can read it in place of aCLAUDE.md. One file keeps both agents on the same rules. - Use a separate git worktree or branch for the second agent, so two tools never edit the same checkout.
- Give both the same small task, such as a failing test, and compare the diffs.
Do you have to replace Claude Code at all?
No: if the reason is a usage limit or wanting a second model, you can add an alternative next to Claude Code instead of switching.
That is where VibeiDE fits, and it is not a Claude Code replacement. VibeiDE is a desktop app that coordinates the Codex, Claude Code and OpenCode CLIs you already installed. Codex and Claude Code run in embedded terminals that show the original CLI interface, and each user signs in to their own provider accounts, so provider subscriptions and usage stay separate from the VibeiDE license. Each project has its own task queue, and a task starts when its provider has a free slot. The usage display shows provider-reported usage and reset countdowns where the provider reports them. When Claude Code reaches a usage limit, its terminal explains that you can continue there after the reset, while tasks queued for Codex or OpenCode run on those accounts. Slots control how many processes run at once; they do not raise a provider allowance, and VibeiDE does not bypass provider limits. See the Claude Code page and Claude Code rate limits.
Claude Code alternatives: frequently asked questions
Short answers to the questions people type most often.
Is there a free Claude Code alternative?
Yes. As of November 2026, Gemini CLI lists a free tier with a personal Google account, and Codex is listed in the free ChatGPT plan. OpenCode, Aider, Goose and Cline are open source tools that can run local models.
What is the best open source Claude Code alternative?
There is no single best one. OpenCode (MIT) is the closest in shape to Claude Code with a free choice of model. Codex CLI and Gemini CLI are Apache 2.0 agents tied to their vendor's models. Aider, Goose and Cline are Apache 2.0 and work with many providers.
Can I use Claude models in a Claude Code alternative?
Yes, where the tool supports Anthropic as a provider. Goose, Cline and Crush list Anthropic among their providers, and Aider's README names Claude models. That route usually means an Anthropic API key.
Takeaways
- The main Claude Code alternatives are Codex CLI, OpenCode and Gemini CLI. Aider, Goose, Cline and Crush work with many providers and local models.
- Free: Gemini CLI has a stated free tier, Codex is listed in the free ChatGPT plan, and OpenCode offers free models for limited periods.
- Open source: OpenCode is MIT. Codex CLI, Gemini CLI, Aider, Goose and Cline are Apache 2.0. Crush uses FSL-1.1-MIT.
- You can install any of these next to Claude Code, so switching is optional.



