AI agent profile

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

by Anomaly (formerly SST)AI Coding AgentsOpen-source terminal AI coding agent

  • 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
Quick answer

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
Overview

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.
Key features

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.
Pricing

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 alternatives
Integrations and compatibility

OpenCode 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.

AI agent details

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).

AttributeDetails
Supported models75+ providers through a Models.dev integration, including Anthropic, OpenAI, Google and local models. [1] [2]
Tools and integrationsMCP tools, AGENTS.md, a permission system and LSP servers. [1] [3]
Ability to execute actionsRuns an agent loop that edits files and uses tools in the terminal, per a catalogue. [1]
Execution environmentRuns locally in the terminal, with VS Code, desktop and web or server interfaces listed. [1]
Human-in-the-loop controlsNot documented in the sources reviewed.
Permissions and accessA fine-grained permission system; organisations can disable other providers centrally per the documentation as summarised. [1]
Memory and contextAGENTS.md instruction files; LSP diagnostics provide code context. [1] [3]
Deployment optionsInstalled via npm, Homebrew or an install script. [1]
Data handling and privacyNot documented in the sources reviewed.
Security and complianceNot documented in the sources reviewed.
Pricing and usage limitsGo has usage limits per window, week and month; open-source use is limited only by your provider. [2]
Languages and platformsNot documented in the sources reviewed.
Limitations and known constraintsPlans 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
Strengths, limitations and best fit

OpenCode pros and cons.

Strengths, limitations and best fit. Each point cites a source; editorial summaries are not customer reviews.

Strengths

  • Free, open source and MIT licensed, per a catalogue. [1]
  • Works with 75+ providers and local models. [1]
  • LSP integration gives real diagnostics. [3]
  • Low-cost optional hosted plans. [2]

Limitations

  • Terminal-first, with the desktop app still in beta. [1]
  • Plan names, prices and model lists change quickly. [2]
  • Go models can only be used inside OpenCode, per a review. [2]
  • This profile relies on third-party sources because OpenCode's pages were not read. [1]

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
How it compares

OpenCode compared with similar AI coding agents.

Summaries come from each profile. This is a side-by-side aid, not a ranking.

ProductInterfaceModel choiceFree tierPricing modelHuman oversight
OpenCodeTerminal, VS Code, desktop (beta) and web75+ providers and local modelsYes (open source)Free software; optional Go and ZenPermission system (third-party)
AiderTerminal (command line)Almost any LLM, including local modelsYes (open source)Free software; pay model usageGit commits can be reviewed and undone (third-party)
AmpCLI and editor extensionsSeveral frontier modelsYes (ad-supported daily grant)Credits and subscriptionsNot documented in sources reviewed
Augment CodeVS Code, JetBrains, CLI and SlackFrontier models; credit cost variesNo (trial reported)Credit-based subscriptionsNot documented in sources reviewed
Bolt.newBrowser-based AI app builderNot documented in sources reviewedYes (1M tokens a month)Subscription with token allowancesNot documented in sources reviewed
Claude Code CompareTerminal, VS Code, JetBrains, desktop app, webClaude models (Anthropic)Not documented in sources reviewedIncluded in paid Claude plans, or usage-based API billingPermissions, sandboxing and checkpoints documented

Browse all AI Coding Agents →

Discussions

OpenCode discussions and buying questions.

No published discussions mention this product yet.

FAQ

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.

Sources and freshness

Where this information comes from.

  1. OpenCode innFactory AI Third-party Accessed 4 Nov 2026 Used for licence, interfaces and providers.
  2. OpenCode Pricing 2026: Plans, Costs & Free Tier VibeCodeHQ Third-party Accessed 4 Nov 2026 Used for Go, Zen and Black plan details.
  3. OpenCode review 2026 AI Coder Scope (DEV Community) Third-party Accessed 4 Nov 2026 Used for LSP integration and Go models.
  4. 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.

Next step

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.