Opencode Alternatives
9 alternatives to Opencode — free and paid AI coding tools covering similar jobs, with pricing and standout strengths.
Full comparison: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)
Looking for a Opencode alternative? Opencode is listed under CLI (open source). The 9 tools below cover similar jobs, closest matches first — the table compares pricing, license, and platforms so you can shortlist quickly, and each entry further down adds a fuller summary and a link to the full profile.
| Tool | Pricing | License | Platforms | Category |
|---|---|---|---|---|
| Aider | open source | — | — | CLI |
| Claude Code | paid | — | — | CLI |
| Codex CLI | open source | — | — | CLI |
| Gemini CLI | open source | — | — | CLI |
| Crush | free | FSL-1.1-MIT | macOS, Windows, Linux, Android | CLI |
| Qwen Code | open source | Apache-2.0 | macOS, Windows, Linux | CLI |
| Spec Kit | open source | MIT | macOS, Windows, Linux | CLI |
| Goose | open source | — | — | Agent |
| Warp | freemium | — | — | Terminal |
Free and open-source alternatives to Opencode
Opencode alternatives in detail
Aider
open sourceCLIAider is an open-source (Apache-2.0) command-line tool for AI pair programming. Run it inside a Git repository, describe a change in plain language, and it edits files on disk and commits each step with a descriptive message. Model-agnostic: bring your own API key for Claude, GPT, and others; a repo map gives the model context in large codebases.
Read: Aider vs Claude Code: Open-Source vs Anthropic's Agent (2026)
Read: AI Coding Agents in 2026: The Open-Source & CLI Edition
Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)
Claude Code
paidCLIClaude Code is Anthropic's official agentic coding tool for the terminal, IDE (VS Code, JetBrains), and web. It works as an agent rather than autocomplete: it reads your codebase, plans changes, edits files, runs commands, and iterates against test or build feedback. Extensible via MCP servers, slash commands, subagents, and hooks; requires a paid plan.
Read: Aider vs Claude Code: Open-Source vs Anthropic's Agent (2026)
Read: Claude Code vs OpenCode: First-Party vs Open Source (2026)
Read: Cline vs Kilo Code vs Roo Code (2026): Which to Use After Roo's Shutdown
Read: AI Coding Agents in 2026: The Open-Source & CLI Edition
Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)
Codex CLI
open sourceCLICodex CLI is OpenAI's open-source (Apache-2.0) terminal coding agent: it reads files, edits them on disk, and runs shell commands in an OS-level sandbox with network off by default and, in trusted folders, workspace-scoped writes. Sandbox modes and approval policies control what it can do and when it must ask; sign in with a ChatGPT plan or API key.
Read: AI Coding Agents in 2026: The Open-Source & CLI Edition
Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)
Gemini CLI
open sourceCLIGemini CLI is Google's open-source (Apache-2.0) terminal AI agent for Gemini models, with a 1M-token context window, file and shell tools, Google Search grounding, MCP, and GEMINI.md files. Since June 18, 2026 it no longer serves free or Google AI Pro/Ultra users, who are pointed to Antigravity CLI; paid API keys and enterprise Code Assist still work.
Read: AI Coding Agents in 2026: The Open-Source & CLI Edition
Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)
Crush
freeFSL-1.1-MITmacOS, Windows, Linux, AndroidCLICrush is Charm's free terminal coding agent. It continues opencode-ai/opencode (archived; last push September 2025), not today's OpenCode. It runs nearly any model, including local ones, switches models mid-session and adds LSP context, MCP and Agent Skills. It is source-available under FSL-1.1-MIT, not OSI open source; releases turn MIT after two years.
Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)
Qwen Code
open sourceApache-2.0macOS, Windows, LinuxCLIQwen Code is the Qwen team's free, Apache-2.0 coding agent, originally forked from Gemini CLI. It speaks OpenAI, Anthropic, Gemini and Qwen APIs, runs local models via Ollama or vLLM, and ships subagents, hooks, MCP and plan mode. The free Qwen OAuth quota ended April 15, 2026, so bring an API key, an Alibaba Cloud plan or a local model.
Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)
Spec Kit
open sourceMITmacOS, Windows, LinuxCLISpec Kit (GitHub, MIT, ~111k stars since its September 2025 launch) productized spec-driven development: specify init scaffolds a project, then /speckit.constitution, .specify, .plan, .tasks, and .implement walk your coding agent through the pipeline — each phase emitting a markdown artifact that feeds the next. Works with 30+ agents including Claude Code, Copilot, and Cursor.
Goose
open sourceAgentGoose is an open-source (Apache-2.0), general-purpose AI agent that runs entirely on your machine — it executes shell commands, edits files, runs tests, and chains multi-step tasks. MCP-native with 70+ documented extensions and model-agnostic across 15+ providers including local models, it ships as a Rust CLI and a desktop app for macOS, Linux, and Windows.
Read: AI Coding Agents in 2026: The Open-Source & CLI Edition
Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)
Warp
freemiumTerminalWarp is an AI-powered terminal whose agent can plan, run, and chain commands while you approve what executes. Output is grouped into navigable blocks, workflows share vetted commands, and the agent grounds itself in your indexed codebase. A standalone Warp Agent CLI followed in August 2026. The client is open source (mostly AGPL-3.0), with a free tier.
Read: The Best Claude Code Alternatives in 2026 (Free, Open-Source, and Paid)