OpenCode
MIT-licensed AI coding agent that works with any model provider
Overview
OpenCode is an open-source (MIT) AI coding agent for the terminal, desktop and IDE from Anomaly, the team behind SST. It connects to 75+ model providers or an existing Copilot or ChatGPT account, with LSP support, parallel sessions, undo snapshots and GitHub integration. Optional paid plans (Zen, Go from $10/month) supply curated models.
Pricing
Pricing shown for reference only. These figures reflect RECATOOLS research as of 12 Oct 2026 and may be out of date or incomplete. This is not financial or purchasing advice — always confirm the current price on the provider’s official website before making any decision.
- 75+ providers via Models.dev, local models included
- Copilot or ChatGPT account login
- Free models included
- Tested models at cost, no markup
- Hosted in the US
- Auto top-up option
- Models tested for agentic coding
- Per-model 5-hour, weekly and monthly limits
- Higher limits and fewer interruptions
- For larger projects
- No data or context stored
- SSO
- Internal AI gateway integration
What you can produce with OpenCode
- Coding agent in the terminal, desktop app or IDE extension
- Connection to 75+ model providers, local models, or a Copilot or ChatGPT account
- Automatic language-server loading for code awareness
- Parallel agent sessions and shareable session links
- Undo snapshots and a read-only Plan agent
- GitHub integration that runs the agent from issue and PR comments
OpenCode is one of the strongest open-source coding agents: one-line install, any model provider or an existing Copilot or ChatGPT login, parallel sessions, undo snapshots and a GitHub integration, all under the MIT licence.
The paid plans sell model access, not the agent, so you only pay if you want its curated models. The pace of releases is the main caveat; OpenCode 2 has just shipped, and configuration can change between versions.
What we found
OpenCode is an open-source AI coding agent for the terminal, desktop and IDE, built by Anomaly, the San Francisco team behind the SST framework. The code is MIT-licensed on GitHub and written in TypeScript, and the project moves quickly: OpenCode 2 arrived on 11 October 2026 with a new installer and an upgrade command for existing users.
Its appeal is choice. OpenCode talks to more than 75 model providers through Models.dev, local models included, and you can sign in with an existing GitHub Copilot or ChatGPT Plus or Pro account instead of pasting keys; some free models come built in. Installation is one line in a terminal, or a package from npm, Homebrew and others. Inside, it loads language servers automatically, runs several agent sessions in parallel, keeps snapshots so changes can be undone, and offers a Plan agent that analyses code without editing it. A GitHub integration lets you mention it in issues and pull requests and have it work through GitHub Actions. Anomaly says it stores none of your code or context, and claims more than 16 million developers use it each month.
The paid parts are about models rather than the agent. Zen is a pay-as-you-go gateway to models the team has tested, topped up in $20 steps and hosted in the US. Go costs $10 a month and Go Plus $40, bundling curated coding models with usage limits per model that reset over five hours, a week and a month. An enterprise plan adds single sign-on and gateway integration.
Earlier versions of this page described OpenCode as a fork that split from Charm after a dispute. That was wrong: Charm's Crush continues a different, older Go project of the same name, and OpenCode has its own codebase.
For developers who want a capable, model-agnostic coding agent they can inspect and run anywhere, OpenCode is one of the strongest open options. Expect frequent releases and occasional breaking changes.
Compiled by RECATOOLS from public sources: vendor documentation and pricing, code repositories and published reporting.
About this listing
This entry was compiled from publicly available data including OpenCode's official website, press releases, documentation, and reputable third-party publications. RECATOOLS is not affiliated with OpenCode unless explicitly stated.
Third-party AI tools update their pricing, features, availability, and policies frequently. Information here may be outdated by the time you read this — we make reasonable efforts to keep listings current, but cannot guarantee absolute accuracy.
For the latest details, please refer to OpenCode directly →
Spotted something out of date? Suggest an update →
Related reading
From our guides
Guide · 9 min read
How to Set Up OpenCode on a Mac (2026)
Executed walkthrough of OpenCode v1.18.1 on macOS: Homebrew install, provider au...
Guide · 9 min read
The Best AI Coding Agents in 2026, Ranked by Real Traction
Eight AI coding agents ranked by our own GitHub traction data — from OpenCode to...
Alternatives to OpenCode
More in Code & Dev Tools