Open-source (MIT)
$0
Forever
- Terminal, desktop app, and IDE extensions
- BYOK for 75+ providers
- Local model support
- No code or context data stored
OpenCode is an open-source AI coding agent from Anomaly that runs in the terminal, as a desktop app on macOS, Windows, and Linux, and as an extension for VS Code, Cursor, Zed, Windsurf, and VSCodium. It connects to 75+ LLM providers through Models.dev, including local models and existing GitHub Copilot or ChatGPT Plus/Pro accounts, and uses LSP for code understanding across languages.
The agent itself is free under the MIT license, and OpenCode doesn't store your code or context data. The paid options cover models rather than the agent. Zen is a pay-as-you-go service of models Anomaly has tested for coding agents, billed per million tokens with card fees passed through, and Go is a $10 or $40 monthly subscription for open coding models such as DeepSeek, Qwen, GLM, and Kimi. Zen's retention depends on the provider: most follow zero retention, but OpenAI keeps requests for 30 days and some free models may use data for training.
Against Claude Code, the main tradeoff is open model choice versus tighter integration with one provider, which is what OpenCode vs Claude Code works through, while the OpenCode alternatives cover the rest of the terminal and IDE agents.
Core capabilities this platform advertises.
What this tool does well, and the limitations to keep in mind.
Pros
Cons
What's included in each plan, and how the tiers compare.
$0
Forever
Pay-as-you-go
Per 1M tokens
$10
Per month
$40
Per month
Developers who want an open-source coding agent across terminal, IDE, and desktop with any model provider
Respan traces OpenCode sessions through OpenTelemetry. Running respan integrate opencode installs the opencode-otel plugin and configures the endpoint, and every turn is then captured with the prompt, response, thinking blocks, tool calls, token usage, and timing. Add Respan's OpenAI-compatible gateway as a provider to route OpenCode's model calls across 1,000+ models.
One command sends OpenCode's prompts, tool calls, and token usage to Respan, and the gateway routes its model calls across 1,000+ models. Start free.
Try Respan freeTop companies in Coding Agents you can use instead of OpenCode.
Claude Code
Agentic CLI that edits files, runs commands, and navigates codebases autonomously
Cursor
AI-native code editor (VS Code fork)
OpenAI Codex
GitHub Copilot
Inline suggestions and Next Edit across VS Code, JetBrains, Visual Studio, GitHub Mobile
Google Antigravity
Agent-first IDE with an agent manager and codebase-aware context
Windsurf
AI-powered code editor
Devin
Fully autonomous software engineer
Google Jules
Warp
AI-native terminal with block-based UI
Spec Kit
Spec-driven workflow for 30+ AI coding agents
Cline
Step-by-step permission gating for every file edit, command, and browser action
Amazon Q Developer
Mistral Vibe
Devstral 2 model: 72.2% SWE-bench Verified, Apache 2.0
Gemini Code Assist
Aider
BLACKBOX AI
CyberCoder autonomous coding agent
Sourcegraph Cody
Replit Agent
Browser-based development environment
Kilo Code
VS Code, JetBrains, and CLI
JetBrains AI
Continue
Autocomplete, chat, edit, and agent modes in VS Code and JetBrains
Tabnine
AI code assistant with privacy focus
Trae
TraeCode AI IDE with unlimited autocomplete
Codium (Qodo)
AI code quality and testing agent
Kavia AI
Multi-repo change control and traceability
Supermaven
Augment Code
AI coding assistant with deep codebase understanding
Pi Coding Agent
Minimal core with a small system prompt
Sweep
ECA
Editor-agnostic via LSP-inspired protocol
Emdash
Multi-agent parallel execution
Syntropy
Spec-driven development
Approxima
CI/CD integration
Qwen Code
Terminal coding agent with file, shell, and Git tools
Kiro
Spec-driven development: requirements, design, and task lists before code
Qoder
Quest Mode for long-running, multi-step delegation
Gemini CLI
Terminal agent with file, shell, web fetch, and Google Search tools
Side-by-side comparisons with other tools in this category.
Companies from adjacent layers in the AI stack that work well with OpenCode.
OpenAI
Foundation Models
Respan
Observability, Prompts & Evals
Anthropic
Foundation Models
Google AI
Foundation Models
Meta AI
Foundation Models
Wiz
AI Security
LangSmith
Observability, Prompts & Evals
Protect AI
AI Security
Mistral AI
Foundation Models
Snyk
AI Security
Lakera
AI Security
MLflow
Observability, Prompts & Evals
Last verified: April 29, 2026