OpenCode is an open-source (MIT) coding agent with a terminal UI, plus desktop and mobile apps. It’s maintained by Anomaly; the repository moved from sst/opencode to anomalyco/opencode.

Its main draw is breadth: it works with more than 200 model providers, including local models, and lets you sign in with an existing ChatGPT or Copilot plan. Version 2.3.0 (November 13, 2026) made subagents run in the background by default.

Who it’s for

Terminal-first developers who want a Claude Code-style agent without being tied to one model vendor. It suits anyone who already pays for ChatGPT or Copilot, wants to try open-weight models cheaply, or needs to run models locally.

What stands out

  • Two built-in agents. Press Tab to switch between “build”, which has full access, and “plan”, which is read-only and asks before running commands.
  • Use the subscription you have. Sign in with ChatGPT Plus/Pro or GitHub Copilot instead of paying for API keys.
  • Parallel sessions. Run several agents on the same project at once.
  • Extensible. Plugins, custom agents, skills and custom commands, plus an SDK for scripts and CI jobs.
  • Free models built in. Limited-time free models work without an account.

Drawbacks and things to watch

  • Frequent breaking changes. Releases 2.2.x to 2.3.0 changed the SDK, plugins and opencode run, which now waits for background jobs with no time limit, so set timeouts in CI.
  • Desktop app is in beta.
  • Free models have privacy caveats. Some free models may use or retain your data, and OpenAI and Anthropic requests through Zen are kept for 30 days.
  • No published security certifications. We couldn’t find SOC 2 or a documented telemetry opt-out.

Privacy and security

OpenCode says it doesn’t store your code or context data: prompts go straight to your model provider. Hosted agents are the exception and keep sessions for 30 days after last activity. Enterprise is priced per seat and adds SSO through central config and private npm registry support.

Getting started

Install with curl -fsSL https://opencode.ai/v2/install | bash, or use npm (npm install -g @opencode/cli) or Homebrew (brew install anomalyco/tap/opencode-v2). Run opencode in your project and connect a provider.

Plans and prices

OpenCode plans
PlanPriceWhat you get
Free$0Free models, no account needed.
Console (Zen)Pay as you goPlus a 4.6% + $0.31 processing fee per top-up.
Go$10/mo32 curated models with per-model monthly caps.
Go Plus$40/mo
Go Teams$20/member/moExtra Usage on by default.

OpenCode FAQ

Is OpenCode free?

Yes. OpenCode is open source (MIT) and includes free models that need no account, with a daily request limit. You can also bring your own provider, or pay for OpenCode Go from $10 a month for 32 curated models.

Can I use OpenCode with my ChatGPT or Copilot subscription?

Yes. OpenCode supports signing in with ChatGPT Plus or Pro and with GitHub Copilot instead of using API keys.

Does OpenCode support local models?

Yes. It discovers Ollama automatically, has built-in discovery for LM Studio and vLLM, and supports other OpenAI-compatible runtimes as custom providers.

Does OpenCode store my code?

OpenCode says it doesn't store your code or context. Prompts pass through to the model provider, except for hosted agents, which keep session content for 30 days after last activity. Some free models may retain data, so check the Zen docs before using them on private code.

How do OpenCode Go's limits work?

Each model has a monthly dollar cap, and you can use at most 20% of it in any five hours and 50% in a week. When you hit it, you can fall back to free models or turn on Extra Usage.

Latest changes

Nov 13, 2026releaseOpenCode 2.3 runs subagents in the background by defaultOct 27, 2026releaseOpenCode 2.2 adds desktop plugins, with a breaking SDK change

Sources

Facts last checked November 15, 2026.