Blog cover with the title "Claude Code alternatives: 7 tools compared" on a cream background, next to an isometric illustration of a small office where two developers work at desks with monitors.
All articles

Claude Code alternatives: 7 tools compared (November 2026)

Claude Code alternatives compared as of November 2026: Codex CLI, OpenCode, Gemini CLI, Aider, Goose, Cline and Crush, with licenses, models and prices.

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 Grid

Everything 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.
Animated diagram: a five-hour session bar fills and resets while a weekly bar keeps growing slowly; both are shared across claude.ai, Claude Desktop and Claude Code.
Every request counts against two windows at once: the five-hour session and the weekly limit. A session reset does not reset the weekly total.

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.

ToolWhat it isOpen source?Models it can usePlatformsPrice note (as of November 2026)
Codex CLIOpenAI's coding agent that runs locally in your terminalYes, Apache 2.0OpenAI models, through a ChatGPT plan or an API keymacOS and Linux installer, PowerShell installer for WindowsListed in every ChatGPT plan, including Free ($0), Go ($8) and Plus ($20)
OpenCodeCoding agent with a terminal interface, desktop app and web appYes, MITCatalog of providers from models.dev, plus local models through Ollama or LM StudiomacOS, Windows, LinuxNo fee for the tool. You pay your provider. Optional OpenCode Go plan at $10 per month
Gemini CLIGoogle's agent that brings Gemini into the terminalYes, Apache 2.0Gemini modelsnpm, Homebrew on macOS and LinuxFree tier: 60 requests per minute and 1,000 per day with a personal Google account
AiderAI pair programming in your terminalYes, Apache 2.0Almost any LLM, including local modelsInstalls with Python pipNo price listed for the tool. You pay the model provider
GooseGeneral-purpose AI agent with a desktop app and a CLIYes, Apache 2.015+ providers, including Anthropic, OpenAI, Google, Ollama and OpenRoutermacOS, Linux, WindowsNo price listed for the tool. You pay the model provider
ClineCoding agent as an IDE extension, CLI or SDKYes, Apache 2.0 (the JetBrains plugin is not open sourced)Anthropic, OpenAI, Google, OpenRouter, Bedrock, Ollama, LM Studio, any OpenAI-compatible APIVS Code, JetBrains, npm CLI, desktop app for macOS and WindowsNo price listed in the repository. You pay the model provider
CrushTerminal coding agent from CharmSource published under FSL-1.1-MITMany providers through OpenAI- or Anthropic-compatible APIs, plus local modelsmacOS, Linux, Windows (PowerShell and WSL), Android, BSDNo price listed in the repository. You pay the model provider
VibeiDENot a replacement: runs Claude Code, Codex and OpenCode side by sideNot applicableWhatever your installed CLIs usemacOS, Windows, LinuxPaid license after a 14-day trial, separate from provider plans
Claude Code connects to Claude models through a Claude plan or the Anthropic API; OpenCode connects to many providers including Anthropic API, OpenAI or ChatGPT, GitHub Copilot, OpenCode Zen, Ollama and LM Studio
Claude Code runs Claude models. OpenCode runs whichever provider or local model you connect.

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 needStart withWhy
A second subscription agentCodex CLISame shape as Claude Code, different vendor and separate allowance
Pick the model per taskOpenCodeProvider catalog, plus local models
Pay nothing to startGemini CLIFree tier stated in the repository
Local models onlyOpenCode, Aider or CrushEach documents local model support
Agent inside the editorClineVS Code extension and JetBrains plugin
Desktop app beyond codingGooseDescribed as a general-purpose agent with a desktop app
Two columns: pick OpenCode for local or private models, mixing providers per task, or a ChatGPT or Copilot plan; pick Claude Code for a Claude Pro or Max plan, hooks that enforce rules, or Anthropic's own agent
The deciding question is usually where your model access comes from.

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/crush

Then keep the trial fair:

  1. Share the instructions. The Claude Code overview says that if a repository already has an AGENTS.md for other coding agents, Claude Code can read it in place of a CLAUDE.md. One file keeps both agents on the same rules.
  2. Use a separate git worktree or branch for the second agent, so two tools never edit the same checkout.
  3. 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.

Share this article

Post on XShare on LinkedIn

Related articles

Necessary cookies support sign-in, security, your language and this choice. Optional categories stay off until accepted.

First-party page views and acquisition measurement, plus Google Analytics 4 (Google Ireland, data may reach the US). Advertising personalization stays off.

With Analytics enabled, retain Google, Microsoft and Reddit ad click identifiers and share download, signup, activation and purchase conversions with the relevant ad provider. No personalized advertising.

Privacy · Cookie inventory