Coding agent Open source Anomaly · United States · since 2025
OpenCode
Open-source coding agent from Anomaly that works with models from many providers, in the terminal, a desktop app, the browser and a phone app.
- Price
- Free Go $10 · Go Plus $40 Plans ↓
- Free use
- Yes Free models for a limited time, with a daily request limit Ways to pay ↓
- Runs in
- 6 places Terminal, VS Code and forks (in part), Desktop app, Web, Mobile, CI (in part) Where ↓
- Models
- OpenCode · OpenAI · GitHub 6 named · other makers’ models: yes Models ↓
- Editors
- 7 VS Code, Cursor, Devin Desktop… Editors ↓
- Install
- 6 ways macOS, Windows, Linux Install ↓
Checked 30 Nov 2026 against 30 official pages · Method
Screenshots
The picture marked "From the maker" is Anomaly’s own, used under the MIT licence of its repository, until we take our own with the same prompts as every agent. Source: github.com/anomalyco/opencode/blob/dev/services/site/public/v1/docs/assets/lander/screenshot.png
Section 01 · Cost
Price
Is OpenCode free? Yes. OpenCode itself is free and open source, and it includes a few free models for a limited time, with a daily request limit and no account. Other models are paid to their provider with your own key or subscription, or bought from Anomaly as Console credits or a Go subscription from $10 a month.
One plan covers every way to use it.
Go
$10a month
A set of mostly open-weight coding models, with a monthly allowance of $15 to $200 per model.
Go Plus
$40a month
The same models with higher allowances, $60 to $400 per model.
For teams
- Go Teams $20 per user a month At least 2 members; each member has their own allowance, $5 a month above Go on every model.
Plan terms and limits
- You pay for
- With your own key, the provider’s own billing. Go: a dollar allowance per model each month, of which 20% can be used per 5 hours and 50% per week. Console credits: per token.
- Limits
- None from OpenCode with your own key. Go: a dollar allowance per model each month, 20% of it per 5 hours and 50% per week
- Past the limit
- With Extra Usage turned on, Go draws on Console credits after a limit is reached; otherwise the free models stay available. Console requests fail when the credit balance reaches zero.
- Own key
- Yes · Own provider keys, ChatGPT or Copilot sign-in, or Console credits
- Trial
- No trial is listed. The free models need no account, and a Go charge can be refunded within 14 days if almost none of the allowance was used.
- Students
- No student offer is listed.
- The older name Zen now redirects to the Console’s pay-as-you-go models.
- The Console’s model page and its docs page list different models and prices; for example, one shows Claude Opus 5.5 and the other Claude Opus 5.
- Some Go models are off by default because they are hosted outside Europe and the United States or train on requests; an owner or admin can turn them on.
- The free models may use what you send to improve the model; the paid Console models mostly do not keep data, with 30 days at OpenAI, Anthropic and xAI.
- An Enterprise page exists; its price was not confirmed.
Prices checked 30 Nov 2026
Ways to pay for it
| Way | What you get | Cost |
|---|---|---|
| OpenCode plans | Go, Go Plus, Go Teams | Free |
| Your own API key | Yes, and it is the main way to use it: API keys for many providers, sign-in with ChatGPT Plus or Pro or GitHub Copilot, custom OpenAI-compatible endpoints, and local models through Ollama, LM Studio or vLLM. | the provider’s price |
| Free use | Free models for a limited time, with a daily request limit | Free |
Section 02 · Where it runs
Ways to use it
One product: the same agent, account and plan wherever you use it. Select one to see what you get there.
Desktop app Available
OpenCode desktop app
A desktop client of the same local OpenCode server as the terminal, browser and phone; no beta label on the download page.
Desktop app Available
OpenCode in the browser
A browser interface served from your own machine or container; opencode pair gives a one-time link that expires in 5 minutes.
opencode pair Terminal Available
OpenCode (terminal)
The terminal interface of OpenCode 2; opencode run drives it from scripts and opencode acp runs it as an ACP agent. Windows package managers are not supported.
curl -fsSL https://opencode.ai/v2/install | bash 5 more ↓ In your editor Available
OpenCode for VS Code
Opens OpenCode in the editor's terminal and shares the selection or tab as context; needs the CLI. Documented only in the OpenCode 1 docs.
- VS Code and forks
- In part · Terminal-launcher extension, documented for OpenCode 1 only; also Cursor, Windsurf, VSCodium
- Works in
- VS Code , Cursor , Devin Desktop , VSCodium , Kiro , Google Antigravity Editors ↓
In your editor Available
OpenCode in Zed (ACP)
opencode acp runs it as an Agent Client Protocol agent; Zed is the only editor the docs name.
Phone Available
OpenCode app
Phone client for sessions on your own OpenCode server; marked New on the download page.
Pipelines Available
OpenCode GitHub Action
anomalyco/opencode/github runs OpenCode in GitHub Actions when someone comments /opencode or /oc; set up with opencode github install. Documented for OpenCode 1.
opencode github install By place
- Terminal Yes
- VS Code and forks In part
- JetBrains IDEs Not stated
- Desktop app Yes
- Web Yes
- Mobile Yes
- Slack Not stated
- CI In part
Section 03 · AI
Models
The models it names, and whether others can be used.
- Models named
- 6
- Other makers’ models
- Yes Over 200 providers through Models.dev, and local models
- Own key
- Yes Own provider keys, ChatGPT or Copilot sign-in, or Console credits
| Model | Kind | On plans | API price, in / out | Context | Released |
|---|---|---|---|---|---|
| OpenCode Go | Not stated | Not stated | Not stated | Not stated | Not stated |
| OpenAI (ChatGPT sign-in) | Not stated | Not stated | Not stated | Not stated | Not stated |
| GitHub Copilot | Not stated | Not stated | Not stated | Not stated | Not stated |
| Amazon Bedrock | Not stated | Not stated | Not stated | Not stated | Not stated |
| OpenRouter | Not stated | Not stated | Not stated | Not stated | Not stated |
| Ollama | Not stated | Not stated | Not stated | Not stated | Not stated |
Go covers mostly open-weight models plus a few small models from OpenAI, Anthropic, Google and xAI. The larger Claude, GPT and Gemini models are sold per token through Console credits. The Go model list may change. API prices are the makers’ list prices per million tokens, in and out.
Section 04 · In your editor
Editors it works in
7 editors in the directory where OpenCode runs as an extension, a plugin or built in, as Anomaly documents it.
OpenCode for VS Code
Opens OpenCode in the editor's terminal and shares the selection or tab as context; needs the CLI. Documented only in the OpenCode 1 docs.
- VS Code 1.4 M installs VS Code Marketplace
- Cursor
- Devin Desktop
- VSCodium 749 k installs Open VSX (all Open VSX installs, every editor)
- Kiro
- Google Antigravity
Section 05 · Setup
Install OpenCode
The command-line tool, started with the command opencode.
Pick one command
curl -fsSL https://opencode.ai/v2/install | bash npm install -g @opencode/cli bun install -g --trust @opencode/cli brew install anomalyco/tap/opencode-v2 paru -S opencode-beta mise use -g opencode - Command
opencode- Systems
- macOS, Windows, Linux
- In the terminal
- Yes · macOS, Windows, Linux (glibc and musl)
Setup page ↗ Checked 30 Nov 2026
Section 06 · Abilities
What it can do
The things that differ from one agent to the next. OpenCode has 7 of the 10 in full; the notes say where there is a catch.
Control
How much it may do on its own
- Yes Approval modes Allow, ask or deny rules; allows all by default
- No Sandbox for commands Shell runs with the user’s own rights
- Yes Undo its changes /undo and /redo; needs a Git repository; not shell side effects
Extend
What can be added to it
- Yes MCP servers
- Yes Hooks Through plugins
- Yes Subagents Run in the background
- Yes Skills or plugins Plugins and skills
Automate
Working without you
- Yes Runs unattended opencode run
- No Cloud sessions Sessions run on your machine or your own server
- Not stated Commits and pull requests Worktree tools documented; commits not described
Section 07 · Fit
Who it is for
OpenCode is an open-source coding agent under the MIT licence, built by Anomaly and outside contributors. It runs on your own computer as a server with several clients, a terminal interface, a desktop app, a browser interface and a phone app, and it can be driven from scripts through an SDK. It is not tied to one model maker; it connects to many providers, to ChatGPT and GitHub Copilot subscriptions and to local models, and it ships with a few free models. Anomaly sells optional model access through the OpenCode Console, as prepaid credits or as the Go subscriptions from $10 a month. OpenCode 2 is the current version; OpenCode 1 still receives releases.
What stands out
- Open source under the MIT licence, with several releases a week; OpenCode 2 changed the plugin and server interfaces, and OpenCode 1 plugins do not run in it.
- Not tied to one model maker. It connects to many providers, to ChatGPT Plus or Pro and GitHub Copilot subscriptions, and to local models through Ollama or LM Studio.
- One server on your machine is shared by the terminal interface, the desktop app, the browser and the phone app, so a session can be started in one and steered from another.
- /undo restores the files an answer changed, from snapshots kept outside your Git history; it needs a Git repository and does not reverse what shell commands did.
- Go subscriptions from $10 a month cover mostly open-weight models and also work in Claude Code, Codex and other agents.
Suits
- People who want an open-source agent and a free choice of model, including local ones.
- Developers who already pay for ChatGPT Plus or Pro or GitHub Copilot and want to use that subscription in a different agent.
- People who want low-cost access to open-weight coding models through one $10 subscription.
Look elsewhere if
- Anyone who needs commands run in a sandbox; shell commands run with your own rights, and the default permissions allow every action.
- Teams that want cloud sessions that keep working while the computer is off; sessions run on your own machine or server.
- People who rely on OpenCode 1 plugins, the VS Code extension or the GitHub Action, which the OpenCode 2 docs do not cover.
Section 08 · Alternatives
Compare
The agents people weigh against OpenCode, on the same facts.
| Agent | From | App | CLI | VS Code | JetBrains | Cloud | Own key | Open source |
|---|---|---|---|---|---|---|---|---|
| OpenCode This page | Free | Yes | Yes | In part | Not stated | No | Yes | Yes |
| Claude Code | $20/mo | Yes | Yes | Yes | Beta | Yes | Yes | No |
| Codex | $20/mo | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Google Antigravity | Free | Yes | Yes | Yes | Yes | Yes | Yes | No |
| GitHub Copilot | Free | Yes | Yes | Yes | Yes | Yes | Yes | No |
Yes runs there Beta, In part in part or beta No Not stated App counts an agent’s own editor.
Section 09 · Short answers
OpenCode questions
14 short answers, each from an official page. Checked 30 Nov 2026.
Price and licence
Yes Is OpenCode free?
OpenCode is open source under the MIT licence and comes with a set of free models that need no account.
Source: OpenCode home page ↗
Yes Is OpenCode open source?
It is released under the MIT licence, and the source is on GitHub.
Source: OpenCode repository ↗
What does OpenCode Go cost?
Go costs $10 a month, Go Plus $40 a month and Go Teams $20 a member a month, for at least 2 members. Each model has a monthly allowance, of which 20% can be used in any 5 hours and 50% in a week. Go also works in other agents such as Claude Code and Codex.
Source: Go docs ↗
Systems and setup
Yes Does OpenCode work on Windows?
There are command-line binaries for Windows on x64 and ARM64, as for macOS and Linux, and a desktop app for all three. Windows package managers are not supported; install it with npm, Bun or another listed method.
Source: Install docs ↗
Switching to OpenCode
Partly Does OpenCode work in VS Code?
The OpenCode 1 docs describe an extension for VS Code and forks such as Cursor, Windsurf and VSCodium, and say OpenCode works in any IDE with a terminal. The OpenCode 2 docs do not cover an extension.
Source: IDE docs (OpenCode 1) ↗
Yes Can I use OpenCode in Zed?
opencode acp runs it as an Agent Client Protocol agent, so Zed and other ACP clients can use it. In Zed, add it under agent_servers in settings.json.
Source: ACP ↗
AI and privacy
Which models does OpenCode work with?
It connects to more than 200 LLM providers through Models.dev, local models included, and ships with a set of free models.
Source: OpenCode home page ↗
Yes Can I use my ChatGPT or GitHub Copilot subscription in OpenCode?
A ChatGPT Plus or Pro plan can be used instead of an OpenAI API key, and GitHub Copilot signs in through device OAuth.
Source: Providers ↗
Yes Can OpenCode use local models?
It works with Ollama, LM Studio and vLLM. For Ollama it checks the local server on port 11434 and adds the models it finds to /models.
Source: Providers ↗
Partly Are my prompts used for training with OpenCode's models?
Some free models may use what you send to improve the model during their free period. For paid models, the providers keep no data and do not train on it, except that OpenAI, Anthropic and xAI keep requests for 30 days and Google for up to 55 days.
Source: Console models ↗
Features
No Does OpenCode ask before it edits files or runs commands?
By default every action is allowed without a prompt; only reading .env files asks first. Rules in opencode.jsonc can set edits or shell commands to ask or deny.
Source: Permissions ↗
No Does OpenCode run commands in a sandbox?
Shell commands run with your own user's access to files, processes and the network. The docs recommend a narrow allowlist of shell commands instead.
Source: Permissions ↗
Yes Can I undo OpenCode's changes?
/undo restores the files changed after the chosen point and /redo cancels it. Restoring files needs a Git repository, and what shell commands did is not reversed.
Source: Snapshots ↗
Yes Does OpenCode support MCP?
It connects to local MCP servers over stdio and remote ones over Streamable HTTP, with OAuth for remote servers. Servers are set under mcp.servers in opencode.jsonc.
Source: MCP servers ↗
Sources: 30 official pages, last checked 30 Nov 2026 ShowHide
- Source code ↗
- Home page ↗
- Docs intro and install ↗
- Repository ↗
- Product page ↗
- Go plans and allowances ↗
- Go docs ↗
- Console ↗
- Console models and prices ↗
- Console billing ↗
- Providers ↗
- Permissions ↗
- Snapshots and undo ↗
- Agents and subagents ↗
- Plugins ↗
- Plugin hooks ↗
- Skills ↗
- MCP servers ↗
- Command-line tool ↗
- Web interface ↗
- ACP and Zed ↗
- Migrate from V1 ↗
- Changelog ↗
- Terms of use ↗
- Download page ↗
- IDE extension (OpenCode 1 docs) ↗
- GitHub Action (OpenCode 1 docs) ↗
- VS Code Marketplace listing ↗
- iOS app ↗
- Android app ↗