OpenCode
An open-source, provider-agnostic AI coding agent for the terminal, with 75+ model providers, MCP, LSP integration and optional Go and Zen plans.
- Free plan
- Agentic tool
- Independent sources
- Verified 4 Nov 2026Sources are dated on this profile
- 4 sourcesLinked, typed and dated
- Independent third-party sourcesHow this profile was compiled
- Not an endorsementStack18 has not tested this product
What is OpenCode?
OpenCode is an open-source AI coding agent built for the terminal, with a TUI, a VS Code integration, a desktop app in beta and a web or server mode. It works with 75+ model providers through your own keys, with optional hosted plans.
- Best forTerminal-native developers
- PricingFree open source; optional Go at about $10 per month and pay-as-you-go Zen. Free plan available.
- Main limitationTerminal-first, with the desktop app still in beta.
- AlternativesClaude Code, Aider, Cline, Gemini CLI · compare all
OpenCode overview: who it is for and what it does.
OpenCode is an open-source terminal coding agent maintained by Anomaly, formerly SST. A third-party catalogue lists the licence as MIT, interfaces including a terminal CLI, VS Code, a beta desktop app and a web or server mode, and support for AGENTS.md, MCP tools and a fine-grained permission system. Its documentation is described as listing 75+ model providers through Models.dev.
The software is free and you pay the model providers you choose, or run local models. Optional hosted offerings include OpenCode Go, described by reviews as $10 per month ($5 for the first month) for curated open-weight coding models with usage caps, OpenCode Zen, a pay-as-you-go model marketplace with zero markup, and a paused flat-rate Black plan.
A review notes LSP integration, so the agent receives real diagnostics from language servers. Version numbers, plan names and hosted model lists change quickly, and this profile relies on third-party sources, so confirm details on opencode.ai.
Main problem it solves
Provides a free, open-source terminal agent that is not tied to one model vendor.
Typical customer segment
Individual developers (free) with optional paid hosted models.
Target users
- Terminal-native developers
- Teams that want model and provider freedom
- Developers who want an open-source alternative to proprietary CLI agents
Primary use cases
- Terminal coding sessions
- Using local or open-weight models
- Switching between model providers
- Language-server-aware edits
- Team control over approved providers
What makes it distinct
- Provider-agnostic with 75+ providers documented.
- MIT-licensed open source.
- LSP integration for real diagnostics.
OpenCode features explained.
Agent features
- Agent loop with permissions
- A fine-grained permission system governs actions, per a catalogue.
- MCP tools and AGENTS.md
- MCP tool support and AGENTS.md instruction files.
- LSP integration
- Connects to language servers such as gopls, pyright and rust-analyzer, per a review.
Interfaces
- Terminal UI
- The primary interface.
- VS Code and desktop app
- A VS Code integration and a beta desktop app.
- Web or server mode
- Listed among interfaces by a catalogue.
Models and plans
- Bring your own key
- Connect providers such as Anthropic, OpenAI, Google, DeepSeek or local models.
- OpenCode Go
- Reported at $10 per month for curated open-weight models with usage limits.
- OpenCode Zen
- Pay-as-you-go curated models with zero markup, per reviews.
OpenCode pricing and plans.
Structure only; figures not recorded. Checked 4 Nov 2026 against innFactory AI · VibeCodeHQ · AI Coder Scope (DEV Community).
Pricing model
Free open-source software with bring-your-own-key; optional hosted plans Go (subscription) and Zen (pay as you go).
Free plan
Yes
Free trial
Not documented Not applicable.
OpenCode plans and prices (USD)
Open source
Free
Usage-based inference
Bring your own API key, or use local or bundled free models.
Go
$10 per month ($5 first month, reported)
Monthly
Curated open-weight coding models with usage limits per window, week and month, per reviews.
Zen
Pay as you go
Credits
Reported $20 top-ups with zero markup on model costs.
OpenCode's own pricing pages were not read. Plan names, prices and hosted model lists changed during 2026; confirm on opencode.ai.
Prices change. Confirm current plans and terms on the vendor's site before you decide.
Visit official website (external) ↗See alternativesOpenCode integrations, API and platforms.
Important integrations
- 75+ model providers
- MCP tools
- LSP servers
- AGENTS.md
- VS Code
Supported platforms
- Terminal
- VS Code
- Desktop app (beta)
- Web or server
API
Bring your own API keys; optional hosted models through Zen or Go.
Data import and export
Not reviewed for this profile.
Interface list is from a third-party catalogue.
How OpenCode works as an AI product.
Attributes are listed only where documented. We do not infer autonomy levels, certifications or model capabilities.
Classification: Agentic tool. A human-directed tool that can plan, edit and run actions, with the user reviewing or approving changes. Developer: Anomaly (formerly SST).
| Attribute | Details |
|---|---|
| Supported models | 75+ providers through a Models.dev integration, including Anthropic, OpenAI, Google and local models. [1] [2] |
| Tools and integrations | MCP tools, AGENTS.md, a permission system and LSP servers. [1] [3] |
| Ability to execute actions | Runs an agent loop that edits files and uses tools in the terminal, per a catalogue. [1] |
| Execution environment | Runs locally in the terminal, with VS Code, desktop and web or server interfaces listed. [1] |
| Human-in-the-loop controls | Not documented in the sources reviewed. |
| Permissions and access | A fine-grained permission system; organisations can disable other providers centrally per the documentation as summarised. [1] |
| Memory and context | AGENTS.md instruction files; LSP diagnostics provide code context. [1] [3] |
| Deployment options | Installed via npm, Homebrew or an install script. [1] |
| Data handling and privacy | Not documented in the sources reviewed. |
| Security and compliance | Not documented in the sources reviewed. |
| Pricing and usage limits | Go has usage limits per window, week and month; open-source use is limited only by your provider. [2] |
| Languages and platforms | Not documented in the sources reviewed. |
| Limitations and known constraints | Plans and hosted model lists change quickly, and the Black flat-rate plan was reported paused. [2] [3] |
Primary tasks
- Terminal coding
- Multi-file edits
- Tool use via MCP
- Language-server-aware changes
Best-fit workflows
- Terminal users who want provider freedom
- Developers who want an open-source Claude Code-style agent
- Teams that want to restrict approved providers
OpenCode pros and cons.
Strengths, limitations and best fit. Each point cites a source; editorial summaries are not customer reviews.
Strengths
Limitations
Best for
- Terminal-native developers
- Model-flexible teams
- Open-source-minded users
May be less suited to
- Developers who want a polished all-in-one editor
- Buyers who need first-party verified pricing
Top OpenCode alternatives and competitors.
Claude Code
Anthropic's agentic coding tool for the terminal, IDEs, a desktop app and the web, built around permissions…
Explore →Related productAider
An open-source terminal tool for AI pair programming that edits your local git repository and commits each…
Explore →Related productCline
An open-source AI coding agent for VS Code and the terminal that asks before each action and works with your…
Explore →Related productGemini CLI
Google's open-source terminal agent for Gemini models, with a free tier for personal Google accounts and a…
Explore →OpenCode compared with similar AI coding agents.
Summaries come from each profile. This is a side-by-side aid, not a ranking.
| Product | Interface | Model choice | Free tier | Pricing model | Human oversight |
|---|---|---|---|---|---|
| OpenCode | Terminal, VS Code, desktop (beta) and web | 75+ providers and local models | Yes (open source) | Free software; optional Go and Zen | Permission system (third-party) |
| Aider | Terminal (command line) | Almost any LLM, including local models | Yes (open source) | Free software; pay model usage | Git commits can be reviewed and undone (third-party) |
| Amp | CLI and editor extensions | Several frontier models | Yes (ad-supported daily grant) | Credits and subscriptions | Not documented in sources reviewed |
| Augment Code | VS Code, JetBrains, CLI and Slack | Frontier models; credit cost varies | No (trial reported) | Credit-based subscriptions | Not documented in sources reviewed |
| Bolt.new | Browser-based AI app builder | Not documented in sources reviewed | Yes (1M tokens a month) | Subscription with token allowances | Not documented in sources reviewed |
| Claude Code Compare | Terminal, VS Code, JetBrains, desktop app, web | Claude models (Anthropic) | Not documented in sources reviewed | Included in paid Claude plans, or usage-based API billing | Permissions, sandboxing and checkpoints documented |
OpenCode vs competitors: head-to-head comparisons.
OpenCode discussions and buying questions.
No published discussions mention this product yet.
OpenCode questions and answers
What is OpenCode?
OpenCode is an open-source AI coding agent for the terminal. It works with 75+ model providers and supports MCP tools, AGENTS.md and LSP.
Is OpenCode free?
The software is free and open source. You pay the model providers you use, or run local models; optional hosted plans exist.
What is OpenCode Zen?
Reviews describe Zen as a pay-as-you-go model marketplace with curated coding models and zero markup on model costs.
What is OpenCode Go?
Reviews describe Go as a $10 per month subscription ($5 the first month) for curated open-weight coding models with usage limits.
Who makes OpenCode?
A catalogue says Anomaly, formerly SST, maintains it, with the repository at anomalyco/opencode.
Is OpenCode autonomous?
We classify it as an agentic tool; it has a permission system so developers can control actions.
How does OpenCode compare with Claude Code?
Both are terminal agents. OpenCode is open source and provider-agnostic, while Claude Code uses Claude models. See the Claude Code vs OpenCode comparison.
What integrations does OpenCode support?
Documented integrations and ecosystem items include 75+ model providers, MCP tools, LSP servers, AGENTS.md, VS Code. API details: Bring your own API keys; optional hosted models through Zen or Go.
What are the limitations of OpenCode?
Terminal-first, with the desktop app still in beta. Plan names, prices and model lists change quickly. Go models can only be used inside OpenCode, per a review.
Which platforms does OpenCode run on?
OpenCode is documented as available on: Terminal, VS Code, Desktop app (beta), Web or server.
Is OpenCode an AI agent or an AI assistant?
We classify OpenCode as: Agentic tool. A human-directed tool that can plan, edit and run actions, with the user reviewing or approving changes. The classification is based on vendor documentation and is not an endorsement.
When was the OpenCode profile last verified?
Sources for this profile were last reviewed on 4 Nov 2026. 4 sources are listed under Sources, and prices and plans can change, so confirm with the vendor.
What are the main alternatives to OpenCode?
The main alternatives to OpenCode covered on Stack18 are Claude Code, Aider, Cline and Gemini CLI. Claude Code may suit Terminal-first developers. Aider may suit developers who live in the terminal and use git heavily. Cline may suit developers who prefer open-source tools and their own API keys. See the OpenCode alternatives guide for a side-by-side table.
Where this information comes from.
- OpenCode innFactory AI Third-party Accessed 4 Nov 2026 Used for licence, interfaces and providers.
- OpenCode Pricing 2026: Plans, Costs & Free Tier VibeCodeHQ Third-party Accessed 4 Nov 2026 Used for Go, Zen and Black plan details.
- OpenCode review 2026 AI Coder Scope (DEV Community) Third-party Accessed 4 Nov 2026 Used for LSP integration and Go models.
- What Is OpenCode? The Open-Source Terminal AI Agent (2026) TechJack Solutions Third-party Accessed 4 Nov 2026 Used for provider count and cost model.
Further official pages: OpenCode (external)
Secondary-source profile. Vendor pages were not reviewed directly for this profile. Facts and prices are corroborated across independent third-party sources and may differ from the vendor's current pages. Confirm with the vendor before buying.
This profile is built from four third-party sources; OpenCode's own pages were not read. Prices are recorded as reported. Agent behaviour was not tested.
Stack18 has not tested this product or received anything from the vendor for this profile. Editorial summaries of vendor information are not endorsements. Confirm details with the vendor before buying.
Evaluating OpenCode?
Check the vendor's current pricing and terms, compare it with similar products, or read how others approach the decision. If off-the-shelf is not the answer, Stack18 builds around how your business works.
Logos provided by Logo.dev. Product names and logos are trademarks of their respective owners and appear for identification only; they do not imply endorsement.