OpenCode icon
AI Programming Tools

OpenCode

OpenCode is an MIT-licensed open-source coding agent for terminal, desktop, and SDK use that connects to 200+ model providers; OpenCode Go is $10/month.

OVERVIEW

About OpenCode

OpenCode is an open-source coding agent built by Anomaly and released under the MIT license. You can use it from a terminal interface, a desktop app, a mobile app, or your own code through an SDK. Its main idea is model freedom: it connects to more than 200 providers through Models.dev, including local models, so you are not tied to a single vendor.

Key features

  • Many providers — connect Claude, GPT, Gemini, and others, or use existing subscriptions such as ChatGPT Plus or Pro or GitHub Copilot.
  • Free models — a set of free models is available without creating an account.
  • Parallel sessions — run several sessions on one project at the same time.
  • Extensibility — plugins, MCP servers, custom agents, reusable skills, and custom slash commands.
  • Permission controls and undo — review actions and undo or redo file and conversation changes.
  • Several ways to run — CLI, desktop app, a web pairing link via opencode pair, and Docker images.

Pricing

The software is free and open source. You pay for model usage through your own provider accounts or subscriptions, or you can use the free models. OpenCode also offers OpenCode Go, a subscription for coding models that starts at $10 per month. Prices can change, so check the site before subscribing.

Who it’s for

Developers who like working in the terminal and want a flexible, open agent they can use with whichever model or subscription they already have.

Good to know

  • The CLI runs on macOS, Windows, and Linux; the docs state that Windows package managers are not supported for installation.
  • Quality and cost depend on the model you connect, not on OpenCode itself.
  • Check which data your chosen provider receives, since requests go to that provider.