# OpenCode — card for AI agents

Open-source coding agent from Anomaly (the team behind SST) that runs as a terminal UI, desktop app or IDE extension and connects to 75+ model providers, including local models and existing ChatGPT or GitHub Copilot logins. OpenCode 2 is now available; per the docs, OpenCode 1 and 2 both use the opencode command and cannot be installed side by side under the default command.

Maker: Anomaly (SST team) · category: Terminal coding agents · open source (MIT)

## Price
- OpenCode is free and open source, with free models under a daily request limit. Paid plans: OpenCode Go ($10/month) and Go Plus ($40/month) with monthly usage limits per curated model; you can add credit and turn on extra usage.
- Free tier: yes
- Paid from $10/month with monthly billing
- Pricing page: https://opencode.ai/go
- Checked: 2026-11-17

## Install
- npm: `npm install -g opencode-ai`
- Homebrew: `brew install opencode`
- VS Code: `code --install-extension sst-dev.opencode`

## Facts
- Interfaces: CLI, Desktop, IDE extension, Web, SDK
- Platforms: macOS, Linux, Windows
- Bring your own API key: yes
- Repository: https://github.com/anomalyco/opencode

## Numbers (AgentGid data)
- Gid Score: 80 (rank #3) (public popularity and activity, not quality)
- Downloads last 7 days: 3,905,825
- VS Code installs: 1,347,282
- GitHub stars: 227,882

## Details (plan limits, live status, safety; from AgentGid's data)
OpenCode by Anomaly (SST team). Category: Terminal coding agents. Type: terminal agent + desktop app + IDE extension. Open-source coding agent from Anomaly (the team behind SST) that runs as a terminal UI, desktop app or IDE extension and connects to 75+ model providers, including local models and existing ChatGPT or GitHub Copilot logins. OpenCode 2 is now available; per the docs, OpenCode 1 and 2 both use the opencode command and cannot be installed side by side under the default command. Open source (MIT) Pricing (checked 2026-11-17): OpenCode is free and open source, with free models under a daily request limit. Paid plans: OpenCode Go ($10/month) and Go Plus ($40/month) with monthly usage limits per curated model; you can add credit and turn on extra usage. Free tier: yes. Interfaces: CLI, Desktop, IDE extension, Web, SDK Platforms: macOS, Linux, Windows Models: 75+ providers via Models.dev incl. local models; OpenCode Zen/Go curated models; GitHub Copilot and ChatGPT Plus/Pro logins Supports: mcp, local, byok, multi_agent, headless Data: Gid Score 80/100, #3 overall; #3 in its category; 227,882.0 GitHub stars; usage +29% over 30 days; latest release 2.3.2 (2026-11-18). Safety: sandbox none – No sandbox documented; a permission limits access to paths outside the working directory. Approvals: Per-tool permission rules (allow, ask or deny); --auto approves anything not denied. Default: Runs freely: most permissions default to allow (paths outside the project ask; .env reads are denied).

## Price history (from archived copies of the official pricing page)
- Archived pricing pages read: 8 months, 2026-03 to 2026-10 (Internet Archive copies of https://opencode.ai/go)
- Cheapest paid plan: $10/mo in 2026-03, $10/mo in 2026-10; lowest seen $10/mo (2026-03)
- Price changes seen: 3: 2026-04: Free plan removed; 2026-05: Free plan added; 2026-08: Free plan removed
- Full history with links to each archived copy: https://agentgid.com/pricing/history/opencode/

## Alternatives in the same category
- Claude Code: https://agentgid.com/agents/claude-code/agent.md
- OpenAI Codex: https://agentgid.com/agents/openai-codex/agent.md
- Pi: https://agentgid.com/agents/pi/agent.md
- Gemini CLI: https://agentgid.com/agents/gemini-cli/agent.md
- Cline: https://agentgid.com/agents/cline/agent.md
- GitHub Copilot CLI: https://agentgid.com/agents/github-copilot-cli/agent.md

## Links
- AgentGid page: https://agentgid.com/agents/opencode/
- Source: https://opencode.ai/
- Source: https://opencode.ai/go
- Source: https://opencode.ai/zen
- Source: https://opencode.ai/docs
- Source: https://opencode.ai/changelog
- Source: https://github.com/anomalyco/opencode

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
