# OpenCode alternatives: 5 terminal coding agents, compared on price and licence

*OpenCode alternatives: Claude Code, Codex CLI, Kilo CLI, goose and Crush. Price, licence, platforms and models, from each maker's own pages, November 2026.*

Dmitriy Solodukha, checked 2026-11-18 · https://caprock.dev/guides/opencode-alternatives/

OpenCode is an open-source coding agent (MIT) for the terminal, with a desktop app in beta, that runs 200+ model providers, local models included, and signs in with ChatGPT or GitHub Copilot. The alternatives as of November 2026: Claude Code, Anthropic's agent, on Claude Pro at $20; Codex CLI (Apache-2.0), in every ChatGPT plan, Free included; Kilo CLI (MIT), a fork of OpenCode with 500+ models; goose (Apache-2.0), with a desktop app; and Crush, Charm's agent, source-available under FSL. Caprock is not an agent: free and Apache-2.0, it runs OpenCode beside Claude Code and Codex in tabs and shows what each session cost.

**In short**
- **A vendor's own agent:** Claude Code (Claude Pro, $20) or Codex CLI (Apache-2.0, in every ChatGPT plan).
- **OpenCode's own code:** Kilo CLI, an MIT fork with VS Code and JetBrains extensions.
- **Other open agents:** goose (Apache-2.0, desktop app and CLI); Crush (source-available, FSL).
- **Not an agent:** Caprock runs OpenCode beside the others and reads OpenCode's own cost.
- **Read 18 November 2026** on each maker's own site, docs and repository.

## What are the best alternatives to OpenCode?

*OpenCode and its alternatives, from each maker's own pages, read 18 November 2026.*

| Tool | What it is | Price for one person | Open source | Runs on | Models |
| --- | --- | --- | --- | --- | --- |
| OpenCode | Open-source coding agent for the terminal, with a desktop app | Free; Go $10 a month; or your ChatGPT, Copilot or API account | Yes, MIT | macOS, Windows, Linux; the desktop app in beta | 200+ providers through Models.dev, local models included |
| Claude Code | Anthropic's coding agent, in the terminal and in editors | Claude Pro $20 a month ($17 billed yearly) or higher, or an API key; not on Free | No (“All rights reserved”) | macOS 13+, Windows 10 1809+, Linux | Claude models only, also through Bedrock, Google Cloud or Microsoft Foundry; extensions for VS Code and its forks, and JetBrains |
| Codex CLI | OpenAI's coding agent for the terminal | In every ChatGPT plan, Free ($0) and Go ($8 a month) up; or an API key | Yes, Apache-2.0 | macOS, Linux, Windows (native or WSL2) | OpenAI models |
| Kilo CLI | Kilo's terminal agent, a fork of OpenCode | Free; models at provider rates with no markup, or your own key; Kilo Pass $19 a month | Yes, MIT | macOS, Windows x64, Linux; also VS Code and JetBrains | 500+ models from 60+ providers; local models through Ollama or LM Studio |
| goose | Open-source agent with a desktop app and a CLI | Free; your API keys, or Claude, ChatGPT or Gemini subscriptions through ACP | Yes, Apache-2.0 | macOS, Linux, Windows | 15+ providers: Anthropic, OpenAI, Google, Ollama, OpenRouter, Azure, Bedrock |
| Crush | Charm's coding agent for the terminal | No price for Crush itself; Charm's Hyper provider by subscription or prepaid; or your own key | Source-available: FSL-1.1-MIT, MIT two years after each release | macOS, Linux, Windows, Android, FreeBSD, OpenBSD, NetBSD | Many providers, any OpenAI- or Anthropic-compatible API, local models |
| Caprock | Not an agent: a desktop app that runs agents in tabs and records every session | Free; optional Premium $30 a year | Yes, Apache-2.0 | macOS, Windows, Linux (x64) | Claude Code, Codex, OpenCode, Gemini CLI, Cursor's CLI, Hermes Agent, Grok Build; reads OpenCode 1 and 2 |

*A cell says what the maker documents. “Free” means the agent; the model is paid for separately unless a plan includes it. Crush's licence is source-available, not open source, until each release turns MIT two years on.*

## What OpenCode does well

Its README: “The open source AI coding agent.” Its site: “200+ LLM providers through Models.dev, including local models.”

- MIT, and “100% free to use”.
- Any provider: sign in with ChatGPT Plus or Pro or GitHub Copilot, use an API key, local models through LM Studio, vLLM or Ollama, or its own Go plan at $10 a month.
- A terminal interface, and a desktop app, in beta, on macOS, Windows and Linux.
- Integrates with “VS Code, Cursor, or any IDE that supports a terminal”.

## Why people look for an OpenCode alternative

- Two lines at once: on 18 November 2026 its releases page marks v1.19.6 “Latest” while v2.3.2, of OpenCode 2, is newer.
- The desktop app is still in beta.
- Any model means you choose and pay for one: per request through its console, a subscription you already hold, or your own key.

## Claude Code: Anthropic's coding agent for the terminal

Claude as the agent, on a flat Claude plan, with Anthropic's own harness. Not open source; on Claude Pro ($20 a month) or higher, or an API key. [code.claude.com/docs/en/overview](https://code.claude.com/docs/en/overview), code.claude.com docs (overview, setup), claude.com/pricing and the anthropics/claude-code repository, read 18 November 2026.

- “An agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.”
- Pro at $20 a month, $17 billed yearly; also through Bedrock, Google Cloud or Microsoft Foundry.
- macOS 13+, Windows 10 1809+ natively or in WSL, and Linux; extensions for VS Code and JetBrains.

**Limits:**

- Claude models only: no other vendors and no local models in its docs.
- Not open source: LICENSE.md reads “All rights reserved”.

## Codex CLI: OpenAI's open-source coding agent for the terminal

An open-source agent whose model use comes with a ChatGPT plan. Apache-2.0; included in every ChatGPT plan, Free ($0) and Go ($8 a month) up. [github.com/openai/codex](https://github.com/openai/codex), github.com/openai/codex and its releases, and the Codex pricing and WSL docs on learn.chatgpt.com, read 18 November 2026.

- “A coding agent from OpenAI that runs locally on your computer.”
- “Included in your ChatGPT Free, Go, Plus, Pro, Business, Edu, or Enterprise plan”; API-key sessions are billed separately.
- macOS, Linux and Windows, natively or in WSL2; release 0.170.0 on 18 November 2026.

**Limits:**

- OpenAI models: no other vendors in its docs.
- OpenCode can already sign in with ChatGPT Plus or Pro, so the plan alone is not a reason to switch.

## Kilo CLI: A fork of OpenCode, with Kilo's editor extensions

OpenCode's code with Kilo's model gateway, and the same agent in VS Code and JetBrains. MIT, free; models at provider rates with no markup; Kilo Pass $19 a month. [github.com/Kilo-Org/kilocode](https://github.com/Kilo-Org/kilocode), github.com/Kilo-Org/kilocode, kilo.ai and its pricing page, read 18 November 2026.

- “Kilo CLI is a fork of OpenCode, enhanced to work within the Kilo agentic engineering platform.”
- “500+ models”, with “No API keys required to start”.
- The same maker's extensions for VS Code, Cursor, Windsurf and JetBrains, and a desktop app.

**Limits:**

- Its README says main “is not accepting new features”; they go to the v2 branch.
- Its site says “Kilo has been acquired by Anaconda”.

## goose: An open-source agent with a desktop app and a CLI

A desktop app and a CLI from one open-source project, on the subscriptions you already have. Apache-2.0, free. [github.com/aaif-goose/goose](https://github.com/aaif-goose/goose), github.com/aaif-goose/goose and its releases (v1.60.1, 18 November 2026), read 18 November 2026.

- “A native desktop app for macOS, Linux, and Windows. A full CLI for terminal workflows.”
- “15+ providers”: Anthropic, OpenAI, Google, Ollama, OpenRouter, Azure, Bedrock.
- “API keys or your existing Claude, ChatGPT, or Gemini subscriptions via ACP.”

**Limits:**

- “A general-purpose AI agent”, not only for code.
- v1.60.0 removed chat mode.

## Crush: Charm's coding agent for the terminal

A polished terminal agent on almost any system, any provider. FSL-1.1-MIT, source-available; your own key, or Charm's Hyper provider. [github.com/charmbracelet/crush](https://github.com/charmbracelet/crush), github.com/charmbracelet/crush, its LICENSE.md and releases, read 18 November 2026.

- “First-class support in every terminal on macOS, Linux, Windows (PowerShell and WSL), Android, FreeBSD, OpenBSD, and NetBSD.”
- Any OpenAI- or Anthropic-compatible API, and local models such as Ollama.
- Release v0.101.0 on 12 November 2026.

**Limits:**

- Not open source today: the Functional Source License bars a “Competing Use” until a release turns MIT two years on.
- Hyper, its default provider, is a subscription or prepaid; its prices are not in the README.

## Caprock: Desktop app for coding agents; not an agent

Keeping OpenCode and adding the others beside it, with one record of what each cost. Apache-2.0, free; optional Premium, $30 a year or $100 once. [github.com/dspv/caprock](https://github.com/dspv/caprock), README at master (v0.182.4), “OpenCode, Codex and DeepSeek Harness”, read 18 November 2026.

- Starts OpenCode 1 or 2, whichever is installed, and Claude Code, Codex, Gemini CLI and Cursor's CLI, in real terminal tabs per project and per git worktree.
- Reads OpenCode's own database, read-only, sessions from before you installed it included, and passes through the cost OpenCode computed.
- One projects list, history and cost across every agent on the machine, each row with its agent's own mark.
- macOS, Windows and Linux; no account, no telemetry.

**Limits:**

- Not an agent and no models of its own: it runs and records the agents you have.
- The Windows installer is not code-signed yet: SmartScreen asks for Run anyway once.
- Every dollar Caprock shows is an estimate at API list price, as Claude Code's own /usage is: not a bill, and on a flat plan not money saved.

## Also named in "OpenCode alternatives" lists

- **Aider** — Apache-2.0, pair programming with almost any model; its latest release, v0.86.0, is from 9 August 2025.
- **Gemini CLI** — Apache-2.0; free individual access moved to Antigravity CLI on 18 June 2026.
- **Cline** — an open-source agent that started in VS Code and now has a CLI: [Cline alternatives](https://caprock.dev/guides/cline-alternatives/).

## Which OpenCode alternative to pick

Pick by what you need besides OpenCode: a vendor's own agent, a plan that includes the model, or a different licence. Several can run side by side.

- **Stay on OpenCode** — any model, open source, on your own accounts.
- **Claude Code** — claude on a flat Claude plan.
- **Codex CLI** — open source, with the model in your ChatGPT plan.
- **Kilo CLI** — openCode's code with an editor extension and a gateway.
- **goose** — a desktop app and a CLI on your Claude, ChatGPT or Gemini subscription.
- **Crush** — a terminal agent on almost any system.
- **Caprock** — openCode, Claude Code and Codex side by side, with cost per repository.

The two most compared, row by row: [OpenCode vs Claude
Code](https://caprock.dev/guides/opencode-vs-claude-code/) and [OpenCode vs
Codex](https://caprock.dev/guides/opencode-vs-codex/). What OpenCode's own plans cost:
[OpenCode pricing](https://caprock.dev/guides/opencode-pricing/).

## Sources

- [OpenCode — "MIT licensed", "200+ LLM providers through Models.dev, including local models", "Log in with ChatGPT Plus or Pro or GitHub Copilot", read 18 November 2026](https://opencode.ai/)
- [OpenCode docs — Go: $10/month, Go Plus $40/month, read 18 November 2026](https://opencode.ai/docs/go)
- [OpenCode — download: desktop app (beta) on macOS, Windows and Linux, read 18 November 2026](https://opencode.ai/download)
- [OpenCode on GitHub — "The open source AI coding agent", MIT; release v2.3.2 (18 November 2026), read 18 November 2026](https://github.com/anomalyco/opencode)
- [Claude Code docs — setup: macOS 13.0+, Windows 10 1809+, Ubuntu 20.04+, Debian 10+; "The free claude.ai plan does not include Claude Code access", read 18 November 2026](https://code.claude.com/docs/en/setup)
- [Claude pricing — Pro "$17 per month with annual subscription discount", "$20 if billed monthly", read 18 November 2026](https://claude.com/pricing)
- [Claude Code on GitHub — LICENSE.md: "© Anthropic PBC. All rights reserved."; release v2.1.327 (17 November 2026), read 18 November 2026](https://github.com/anthropics/claude-code)
- [Claude Code docs — VS Code: the extension "also installs in forks like Devin Desktop or Kiro", and in Cursor, read 18 November 2026](https://code.claude.com/docs/en/vs-code)
- [Claude Code docs — JetBrains plugin, read 18 November 2026](https://code.claude.com/docs/en/jetbrains)
- [Codex CLI on GitHub — "licensed under the Apache-2.0 License"; release 0.170.0 (18 November 2026), read 18 November 2026](https://github.com/openai/codex)
- [ChatGPT docs — Codex pricing: "included in your ChatGPT Free, Go, Plus, Pro, Business, Edu, or Enterprise plan", read 18 November 2026](https://learn.chatgpt.com/codex/pricing)
- [ChatGPT docs — Codex on WSL2, read 18 November 2026](https://learn.chatgpt.com/codex/windows/wsl)
- [goose on GitHub — "A native desktop app for macOS, Linux, and Windows. A full CLI"; "15+ providers"; Apache-2.0; release v1.60.1 (18 November 2026), read 18 November 2026](https://github.com/aaif-goose/goose)
- [Crush on GitHub — README: every terminal on macOS, Linux, Windows (PowerShell and WSL), Android and the BSDs; release v0.101.0 (12 November 2026), read 18 November 2026](https://github.com/charmbracelet/crush)
- [Crush — LICENSE.md: Functional Source License, Version 1.1, MIT Future License, read 18 November 2026](https://github.com/charmbracelet/crush/blob/main/LICENSE.md)
- [Kilo Code on GitHub — README: MIT; "Kilo CLI is a fork of OpenCode"; release v7.8.27 (5 November 2026), read 18 November 2026](https://github.com/Kilo-Org/kilocode)
- [Kilo — pricing: Individual "Free", "Usage is billed separately"; Kilo Pass $19/mo; Teams $15/user/month; "500+ models across 60+ providers", read 18 November 2026](https://kilo.ai/pricing)
- [Kilo — home: VS Code, "Also Cursor, Windsurf and any Open VSX editor", JetBrains, the CLI, the desktop app; "Kilo has been acquired by Anaconda", read 18 November 2026](https://kilo.ai/)
- [OpenCode docs — IDE: "integrates with VS Code, Cursor, or any IDE that supports a terminal", read 18 November 2026](https://opencode.ai/docs/ide/)
- [OpenCode on GitHub — releases: v1.19.6 marked Latest (17 November 2026), v2.3.2 (18 November 2026), read 18 November 2026](https://github.com/anomalyco/opencode/releases)
- [Aider on GitHub — Apache-2.0, release v0.86.0 (9 August 2025), the latest, read 18 November 2026](https://github.com/Aider-AI/aider)
- [Gemini CLI on GitHub — Apache-2.0; "Free individual access and Google AI Pro / Ultra (Google One) moved to Antigravity CLI on June 18, 2026", read 18 November 2026](https://github.com/google-gemini/gemini-cli)
- [Caprock README — OpenCode, Codex and DeepSeek Harness (v0.182.4), read 18 November 2026](https://github.com/dspv/caprock/blob/master/README.md#opencode-codex-and-deepseek-harness)
- [Caprock README — the agents it starts and reads; Apache-2.0](https://github.com/dspv/caprock#readme)
- [Caprock docs — installing the app: macOS (Apple silicon and Intel), Windows and Linux x64 (docs/install-app.md)](https://github.com/dspv/caprock/blob/master/docs/install-app.md)
- [Caprock source — the agents New agent starts (internal/agents/binaries.go)](https://github.com/dspv/caprock/blob/master/internal/agents/binaries.go)
