opencode

OpenCode is an open-source AI coding agent that developers use in a terminal, IDE, or desktop app. It connects to included free models or models from more than 75 providers to assist with coding.

One of 61 tools in Coding

opencode screenshot

Who it's for

  • Developers who want an AI coding agent in a terminal, IDE, or desktop workflow.
  • Engineering teams that want to run multiple agents in parallel on the same project.
  • Developers in privacy-sensitive environments, given the site's statement that OpenCode does not store code or context data.

How it fits your workflow

Install OpenCode using the command provided on the site, then use it in a terminal, desktop app, or IDE extension.

Use included free models or connect a model from one of the supported providers. The site also describes multi-session agents and shareable session links.

Pricing

Free: Includes free models by default; users can also connect external models from any provider.

The vendor doesn't publish prices. Check with opencode directly.

Prices checked on Jul 15, 2026 from the vendor's site. They can change; confirm before you buy.

Key features

LSP enabled
Automatically loads the right language servers (LSPs) for the selected LLM.
Multi-session
Start multiple agents in parallel on the same project.
Share links
Share a link to any session for reference or to debug.
GitHub Copilot integration
Log in with GitHub to use your Copilot account.
ChatGPT Plus/Pro support
Log in with OpenAI to use your ChatGPT Plus or Pro account.
Any model
Support for 75+ LLM providers through Models.dev, including local models.

Works with

  • GitHub Copilot
  • OpenAI / ChatGPT Plus/Pro
  • Models.dev (75+ providers)
  • Editors and IDEs

Limitations to know

  • Desktop application is referred to as a beta (desktop beta), indicating the desktop experience may still be under active development.
  • Zen (a handpicked set of optimized models) is available via a waitlist for early access, implying limited immediate availability.

Alternatives to consider

Compare opencode side by side

Getting started

curl -fsSL https://opencode.ai/v2/install | bash
  1. Run the installation command shown on the OpenCode site.
  2. Choose a terminal, desktop, or IDE workflow.
  3. Use an included free model or connect a supported provider.