Anthropic's coding agent for terminal and IDEs: Pro $20, Max $100, Ultra $200
OpenCode
MIT-licensed coding agent for 200+ providers, free models and local LLMs

- Website
- opencode.ai
- Pricing
- Free
- Categories
- AI Coding
- Listed
- Sep 2026
- Updated
- Nov 2026
Details about OpenCode
Short verdict: OpenCode is a free, MIT-licensed coding agent from Anomaly that works with almost any model: 200+ providers through Models.dev, local models, a ChatGPT or GitHub Copilot sign-in and, since version 2.2.3, your Claude Code login. In our test, version 2.4.0 finished a small task on a free model, with no account, in 12.6 seconds. The catches are churn and defaults: npm serves version 1 and version 2 as two different packages, recent releases dropped session sharing, the GitHub Action and language-server support, and version 2 lets agents read and edit outside the project without asking. It suits developers who want an open-source agent and control over their models; if you want one vendor's tuned agent and stable integrations, look at Claude Code or Codex.
How we reviewed it: On 23 November 2026 we installed both npm packages into empty folders on Linux, opencode-ai 1.19.6 and @opencode/cli 2.4.0, and gave each the same small task on the free Big Pickle model without an account, after removing our own cloud credentials from the environment. We read opencode.ai, the version 2 and version 1 docs, the Console docs for OpenCode Models and Go, the changelog, the privacy policy and terms, and the anomalyco/opencode repository. We did not sign up for Go or Console, connect a paid provider or test the desktop and mobile apps. This review replaces our review of 21 October 2026.
What OpenCode costs and includes
| What | OpenCode on 23 November 2026 |
|---|---|
| Type | Open-source coding agent from Anomaly: terminal interface, desktop app, browser and phone access through pairing, and an Agent Client Protocol server for editors such as Zed |
| Where it runs | CLI for macOS, Windows and Linux; desktop app for macOS, Windows (x64, ARM64) and Linux (.deb, .rpm, AppImage); a browser or phone paired with opencode pair (mobile app in beta through TestFlight on iPhone, and on Android); GitHub Actions jobs with opencode run --standalone |
| Install | Version 2: npm @opencode/cli, Homebrew (anomalyco/tap/opencode-v2), the AUR or mise; no Windows package managers. npm opencode-ai still installs version 1 |
| Models | 200+ providers through Models.dev with your own keys; sign-in with ChatGPT Plus or Pro or GitHub Copilot; a Claude Agent provider that uses your local Claude Code login (2.2.3 or later); local models through Ollama, LM Studio or vLLM |
| Free tier | The agent is free. About a dozen free models, such as Big Pickle, work without an account under a daily request limit OpenCode doesn't publish |
| Paid plans (optional) | Go $10 a month and Go Plus $40 for about 30 tested models; Go Teams $20 per member a month, 2-member minimum. Console has no seat fees; Enterprise through sales |
| Pay as you go | OpenCode Models (formerly Zen) at cost, with credits from $10 plus a 4.6% + $0.31 processing fee; or any provider at its own API prices |
| How usage is limited | Free models: a daily request limit. Go: a monthly dollar cap per model ($15 to $200 on Go, $60 to $400 on Go Plus), at most 20% of it in 5 hours and 50% in a week; about 98 Kimi K3 requests per 5 hours on Go and 392 on Go Plus. Otherwise your provider's limits |
| Open source | MIT license; anomalyco/opencode, 228.7k GitHub stars on 23 November 2026 |
| Data use | OpenCode says code and context are stored only when you use its free models, some of which use data to improve the model; on Go, models that train on requests are blocked unless you allow them. Hosted agents keep sessions for 30 days after the last activity |
| Latest notable release | Version 2.4.0 (23 November 2026): a built-in desktop browser, automations on a timer or cron schedule, and video generation. Version 1.19.6 (17 November 2026) offers the upgrade to 2.0 |
What we found
Two npm packages for one command
OpenCode 2 is not where npm users expect it: npm install opencode-ai still gives version 1 (1.19.6), and version 2 is a separate package, @opencode/cli. Both install an opencode command. In empty folders with empty caches, version 1 took 8.7 seconds and 412 MB; version 2 took 12.6 seconds and 1.1 GB, because npm pulled four Linux builds (glibc and musl, each in a regular and a baseline variant).
A free model did the job without an account
We gave both versions the same task on the free Big Pickle model: create add.js exporting an add(a, b) function. Version 2.4.0 searched for files, wrote a working file and answered in 12.6 seconds. Version 1.19.6 took 20.6 seconds and went further on its own: it ran three shell commands, wrote the file and ran it with Node.js to check that add(2, 3) returns 5. Neither asked before writing or running anything. OpenCode says data sent to Big Pickle may be used to improve the model, so keep free models away from private code.

Permissive by default
OpenCode 2's permission docs say "reads and edits outside the Location and worktree proceed without a prompt"; by default only reading .env files is blocked, and --auto approves anything not explicitly denied. OpenCode also picks up provider credentials from environment variables: before we removed ours, version 1.19.6's opencode models listed 169 Amazon Bedrock, 81 Cloudflare AI Gateway and 31 GitHub Copilot models besides its 12 free ones, because those keys were set in our environment for other work. Set permissions in the config before you point it at a real project.
Claude plans now work, through Claude Code
Since version 2.2.3 (30 October 2026), a Claude Agent provider lets OpenCode use "your Claude plan or another Claude Code login": you install Claude Code 2.1.248 or later, sign in with claude auth login and pick Claude Agent in /connect, and Claude Code runs underneath. OpenCode's version 1 docs still say Anthropic prohibits using Claude Pro or Max subscriptions in OpenCode; the current provider docs no longer do. ChatGPT Plus or Pro and GitHub Copilot sign-ins work too.
What recent releases dropped
Session sharing ended in version 1.19.1 (15 October 2026), the GitHub Action was removed in 2.2.0 (27 October), and version 2 accepts language-server settings but "does not run language servers". The product pages no longer list editor extensions; version 2 reaches Zed through the Agent Client Protocol. Version 1 plugins don't run in version 2, and its server API changed. In return, version 2 added /goal (2.2.1), background subagents (2.3.0) and cron automations (2.4.0).
Limits and costs to watch
Unpublished free limits. OpenCode no longer gives a number for its free models' daily request limit, and admins can block the signed-out free tier by policy.
Go is capped in dollars per model. Each model has a monthly cap, at most 20% of it can go in 5 hours and 50% in a week, and DeepSeek models count double during weekday peak hours (UTC).
Some models train on your prompts. Free models such as Big Pickle, Tidepool Alpha Free and Iceman Free may keep and use data to improve the model; on Go, models that train on request data stay blocked unless you allow them.
Card fees on credits. OpenCode Models credits carry a 4.6% + $0.31 processing fee, so a $50 purchase costs $52.61.
Unpaid accounts. The terms in force since 8 November 2026 say OpenCode may use content from unpaid accounts "to develop and improve the Services".
Pros and cons
Pros
Free and MIT-licensed, with free models that work without an account.
200+ providers, local models, and ChatGPT, Copilot or Claude Code logins.
Go from $10 a month for about 30 tested models, with training models blocked by default.
A desktop app, plus browser and phone access through pairing.
Background subagents,
/goaland cron automations in version 2.
Cons
Two npm packages for two major versions, and version 2 is a 1.1 GB npm install on Linux.
Permissive defaults: reads and edits outside the project go through without a prompt.
Recent releases dropped session sharing, the GitHub Action and language servers.
Free-model limits are unpublished, and some free models train on your prompts.
Quality and cost depend on the model you connect.
How OpenCode compares
Claude Code is Anthropic's closed agent with no free tier: Pro costs $20 a month, Max $100 and Ultra $200, and usage of Claude models comes with the plan. Choose it if Claude is your main model and you want Anthropic's hooks, permission modes and cloud sessions. See OpenCode vs Claude Code.
OpenAI Codex has an Apache-2.0 CLI that runs local models through Ollama or LM Studio, comes with ChatGPT plans from Plus at $20 a month, and in our Linux test its sandbox kept writes in the project and blocked the network. Choose it for an open-source CLI with a strict sandbox.
GitHub Copilot costs $10 a month on Pro, and its CLI also runs your own or local models without GitHub charges. Choose it if your team works on GitHub.
Browse all AI coding tools for more agents and AI code editors, or AI app builders for prompt-to-app vibe coding.
Who should use OpenCode
OpenCode fits developers who want a free, open-source agent and the freedom to switch models, from free and local ones to a ChatGPT, Copilot or Claude Code login, and teams that want cheap tested models through Go. Lock down its permissions first. It is a poor fit if you want one vendor's tuned agent, stable integrations such as a GitHub Action or session sharing, or a small install.
FAQ
Is OpenCode free?
Yes. The agent is free and MIT-licensed, and about a dozen free models work without an account under a daily limit OpenCode doesn't publish. You pay only for a provider you connect, or for OpenCode's optional Go ($10 a month), Go Plus ($40) or OpenCode Models credits. Prices as of 23 November 2026.
Can I use my Claude Pro or Max subscription with OpenCode?
Since OpenCode 2.2.3 (30 October 2026), yes, through its Claude Agent provider: install Claude Code 2.1.248 or later, sign in with claude auth login and select Claude Agent in /connect. Claude Code then runs underneath with your login.
What is the difference between OpenCode 1 and 2?
Version 2 is the current release (2.4.0 on 23 November 2026) and installs from npm as @opencode/cli; npm's opencode-ai package still installs version 1 (1.19.6). Version 2 changed the server API, doesn't run version 1 plugins or language servers, and dropped the GitHub Action.
Does OpenCode store or train on my code?
OpenCode says code and context are stored only when you use its free models, and some of those may use your data to improve the model. Hosted agents keep sessions for 30 days after the last activity, and its terms let it use content from unpaid accounts to improve its services. With your own provider, that provider's policy applies.
Can OpenCode run local models?
Yes. It detects Ollama at 127.0.0.1:11434 automatically and also discovers LM Studio and vLLM servers.
Compare OpenCode
The best developer tools, templates and UI components added to Tailkits, each reviewed by an editor. Free, unsubscribe in one click.
26 new in the last 30 days324 products reviewed so farSee what you get
Do you make OpenCode? Get a badge for your site
An optional "Featured on Tailkits" badge that links to this page. Pick light or dark and paste the code into your site, for example in the footer.


