Skip to content
Agents tracked: 492 Releases (7d): 545 Agent status: 1 with issuesSince last limit reset: Claude 9d · Codex 7d For AI agents: Markdown Updated Nov 20, 2026

OpenCode by Anomaly (SST team)

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.

Terminal coding agents Terminal agent + desktop app + IDE extensionOpen source · MITFree to start

Use it in: CLI Desktop app IDE Web app API / SDK Works with: MCP Local models Own API key Multi-agent Headless / CI

Price
Free + $10/mo
free tier available
Popularity
#3 in Terminal
Gid Score 80 / 100 · #3 of 251 ranked AI agents
Trend
Growing fast
downloads up 28.7% over 30 days · up 15.4% last week
Development
Actively updated
latest 2.3.2, 2d ago
Community
228K GitHub stars
VS Code rating 3.6 / 5

Usage data: latest readings Nov 15 to Nov 19, 2026, last checked Nov 19, 06:32 UTC. Not updated since Nov 15: Wikipedia views. Date of each number

What OpenCode does

OpenCode is a terminal agent + desktop app + IDE extension from Anomaly, first released in May 2025. You use it through a command-line tool, a desktop app, IDE extensions, a web app and an SDK on macOS, Linux and Windows. Its documentation covers MCP servers, subagents or parallel agents, a non-interactive mode for scripts and CI, your own API key and local models. It can run models from Anthropic, OpenAI, Google, xAI, Mistral and DeepSeek and others. Paid plans start at $10 a month; there is a free tier.

Teams use it for: DevOps and CI, Workflow automation, Internal tools, Building apps, Prototyping. See examples.

Key facts

MakerAnomaly (SST team)
TypeTerminal agent + desktop app + IDE extension
First releasedMay 2025
LicenseMIT
InterfacesCLI, Desktop, IDE extension, Web, SDK
PlatformsmacOS, Linux, Windows
Models75+ providers via Models.dev incl. local models; OpenCode Zen/Go curated models; GitHub Copilot and ChatGPT Plus/Pro logins
Local modelsOllama, LM Studio, llama.cpp or any OpenAI-compatible local server (docs)
Bring your own API keyYes
Main languageTypeScript
Open issues and PRs4,086
Open VSX downloads739,353 (includes updates)
Homebrew installs47,742 in 30 days · 423,449 in a year

Pricing

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.

Source: official pricing page, checked Nov 17, 2026. Prices change often; confirm before you buy.

OpenCode pricing history since 2024 · Compare prices of all agents

Quick answers

  • Free to start?Yes
  • Open source?Yes (MIT)
  • Works with local models?Yes
  • Bring your own API key?Yes
  • Runs onmacOS, Linux, Windows
  • Where you use itCLI, Desktop, IDE extension, Web, SDK
  • Supports MCP?Yes
  • Model providersanthropic, openai, google, xai, mistral, deepseek, moonshot, qwen, amazon, openrouter, any OpenAI-compatible, local
  • Subagents / multi-agent?Yes
  • Runs in scripts / CI?Yes
  • Feature comparisonAll agents
  • Closest alternativeClaude Code · all alternatives

What's new in OpenCode: November 2026 so far

Full monthly summary

November brought improvements to agent workflows, GUI extensibility, and model routing, along with better shell command handling and session management. Key additions include shared MCP connections, background subagents, and new control options for runs.

  • Subagents now run in the background by default, returning immediately while continuing work and reporting results when idle.
  • MCP server connections can be pooled across projects to reduce process overhead and startup time.
  • GUI plugins can now add color themes, render code block actions, and use native settings components.
  • Jump to Message search lets you navigate across prompts in the current session from the desktop app.

5 releases this month · summarised from the official release notes · all months

How teams use OpenCode

All OpenCode use cases · All use cases

AgentGid articles about OpenCode

All guides

Get started with OpenCode

npmnpm install -g opencode-ai
Homebrewbrew install opencode
VS Codecode --install-extension sst-dev.opencode

These commands use the packages tracked on this page. The vendor may recommend a different installer; see the official documentation.

OpenCode safety and permissions

Compare agents

Out of the boxRuns freely: most permissions default to allow (paths outside the project ask; .env reads are denied).
Sandboxnone No sandbox documented; a permission limits access to paths outside the working directory.
Approval modesPer-tool permission rules (allow, ask or deny); --auto approves anything not denied.
HooksPlugins: a tool.execute.before hook can block a tool call.

From the official docs · 1 · 2, checked Oct 9, 2026.

What OpenCode users report right now

All 7 reports, questions and fixes →

Open Request Users ask for an option to bring back the previous layout with an always-visible left sidebar for projects and sessions, which they say the new unified interface removed.

Reported on GitHub · 47 👍

Open Users report that OpenCode's free models fail inside the official OpenCode app with "free tier can only be used from within OpenCode", across new sessions and different free models, including on v2.0.32.

Workaround: Update to the latest OpenCode v2; maintainers say v1 (0.x and 1.x builds) no longer supports free models.

Reported on GitHub · 31 👍

Open Users report that OpenCode v2 replaces a symlinked ~/.config/opencode/cli.json with a regular file whenever a CLI preference is saved, which breaks dotfile managers such as GNU Stow and home-manager.

Reported on GitHub · 14 👍

Open Request Plugin authors report that the OpenCode v2 plugin API has no hook to change assistant text before it is shown or saved, unlike v1's experimental.text.complete, so plugin-internal markers end up in the visible transcript.

Reported on GitHub · 13 👍

Fixed Users report that after updating to v1.18.30, every prompt on macOS failed with the error "undefined is not an object (evaluating 'a.name')", which made OpenCode unusable. A maintainer closed the issue with a linked fix.

Reported on GitHub · 47 👍

The most discussed problems in its GitHub repository, checked Nov 17, 2026. Written by AgentGid in its own words; statuses and fix versions come from the project's own pages. Reports are users' accounts, not AgentGid tests.

Add-ons for OpenCode: save tokens, add memory and tools

All agent tooling

Listed because each tool documents support for OpenCode. Savings and results depend on your workload.

OpenCode supports Agent Skills. Add ready-made skills for code review, slides, design, marketing and more: browse the Agent Skills catalog, with install commands for OpenCode.

Compare OpenCode with another agent

vs
# Agent Gid Score Downloads 7d 7d 30d Stars Latest release Price
1
Claude CodeAnthropic
88 18.9M up 15.1% up 15.5% 156K+136/day 2.1.328yesterday $20/mo
2 84 26.6M up 2.4% up 7.4% 136K+144/day 0.168.07d ago Free + $8/mo
7
PiEarendil Inc. (created by Mario Zechner)
73 6.4M up 1.6% up 36.3% 123K+193/day 1.5.210d ago Free (OSS)
15 62 495K up 16.9% up 6.8% 109K+35/day 0.69.0yesterday API usage or license
20
ClineCline Bot Inc.
58 84.3K down 8.7% up 14.9% 71.8K+38/day 4.1.2625d ago Free + $9.99/mo
22
GitHub Copilot CLIGitHub (Microsoft)
56 1.7M down 8.3% up 8.3% 11.4K+6/day 1.0.1142d ago Free + $10/mo

Head to head: OpenCode vs Claude Code · OpenCode vs OpenAI Codex · OpenCode vs Pi · OpenCode vs Cline · OpenCode vs Hermes Agent · OpenCode vs Aider · OpenCode vs Kilo Code · OpenCode vs Gemini CLI · OpenCode vs mini-SWE-agent

Tools in projects built with OpenCode

All tools

Most used libraries and frameworks in 342 public GitHub repos set up for OpenCode, from their dependency files.

  1. TypeScript62.0%
  2. ESLint40.4%
  3. Tailwind CSS36.8%
  4. Vite31.9%
  5. Vitest28.9%
  6. Zod28.7%
  7. React28.4%
  8. Prettier27.5%
  9. Playwright (JavaScript)25.7%
  10. clsx19.9%

Used far more often here than in AI-built projects overall: what sets OpenCode projects apart.

  1. markdownlint-cli4.1% · 8.2×
  2. @nx/devkit3.5% · 5.0×
  3. Inertia.js React3.2% · 4.6×
  4. Laravel Vite Plugin11.1% · 4.0×
  5. Ultracite4.4% · 4.0×
  6. oxlint-tsgolint4.7% · 3.4×
  7. Knip7.6% · 3.2×
  8. oxlint9.4% · 2.9×

Ratings from people who use OpenCode

No ratings yet. Used OpenCode? Rate it and say what it is good and bad at.

OpenCode news

All AI agent news

  1. Release GitHub Releases

    OpenCode 2.3.2 released

    GPT-6.2 Prompt Caching: GPT-6.2 models don't cache a system prompt sent in the Responses instructions field, so every step re-billed it as uncached input.; Fixed GPT-6.2 models re-billing the system prompt as uncached input on every step. On GitHub Copilot…

  2. Release GitHub Releases

    OpenCode 1.19.6 released

    OpenCode 1 now offers the upgrade to OpenCode 2.0. OpenCode 2 downloads in the background and installs only when you choose: Restart to upgrade, Upgrade on quit, or Later.; Sessions with many images no longer send oversized requests. When the images in a…

  3. Hacker NewsHot opencode.ai

    OpenCode Browse

  4. Official AWS Machine Learning

    Introducing explicit prompt caching with open-weight models on Amazon Bedrock

    Amazon Bedrock now supports prompt caching for open-weight models, reducing input costs and latency by reusing long context across requests. The post demonstrates caching with the Chat Completions API and an OpenCode coding agent.

  5. Official AWS Machine Learning

    Introducing Kimi K3.1 Pro on Amazon Bedrock

    Kimi K3.1 Pro from Moonshot AI is now available on Amazon Bedrock with support for OpenAI-compatible APIs, prompt caching, and coding assistance.

What changed: recent OpenCode releases

38 stable releases in the last 90 days · Monthly summary · Full changelog

2.3.2
  • GPT-6.2 Prompt Caching: GPT-6.2 models don't cache a system prompt sent in the Responses instructions field, so every step re-billed it as uncached input.
  • Fixed GPT-6.2 models re-billing the system prompt as uncached input on every step. On GitHub Copilot gpt-6.2-sol, uncached input per step dropped from about 14,000 tokens to 3.
  • webfetch structured output no longer repeats the url and format it was called with.
2.3.1
  • Timed-Out Shell Commands Keep Running: A shell command still running when its timeout expires now moves to the background instead of being killed, so long builds and test runs finish and report back.
  • Compaction Without the Wait: As a session nears automatic compaction, the summary is now written in the background, so your next prompt doesn't pause for it.
  • GPT 6.2 with ChatGPT Sign-In: GPT 6.2 Sol and GPT 6.2 Astra, plus their fast variants, now show up in the model picker when you sign in with ChatGPT.
  • Update Plugins from Settings: Open Settings › Extensions, click Check for updates, then Update on any plugin with a new version.
  • Comment on Selected Code: Selecting code in diff and file viewers now just selects it, so you can copy it, and an Add comment toolbar appears beside the selection.
  • Shell commands still running when their timeout expires now move to the background instead of being killed, in every build. The shell_timeout_background flag is gone.
Earlier releases
1.19.6
  • OpenCode 1 now offers the upgrade to OpenCode 2.0. OpenCode 2 downloads in the background and installs only when you choose: Restart to upgrade, Upgrade on quit, or Later.
  • Sessions with many images no longer send oversized requests. When the images in a session's history pass 25 MiB, the oldest are replaced with a placeholder.
  • A provider error for a request body that is too large now starts compaction and a retry instead of failing the turn.
0.6.0
  • opencode-pty 0.6.0 (protocol 9) from packages/process-daemon, published to npm as @opencode/pty@0.6.0.
2.3.0
  • Background Subagents by Default: Subagents now return immediately, continue in the background, and report back whenever they become idle.
  • Quieter Transcripts by Default: The TUI now summarizes each run of tool calls and thoughts into one collapsible activity row, so the answer is easier to follow.
  • Jump to an Earlier Prompt: In the desktop app, open Jump to message from the command palette or press Cmd+Alt+G (Ctrl+Alt+G on Windows and Linux) to search prompts across the current session and…
  • Subagents now always run in the background, return their session ID immediately, and report results to their parent whenever they become idle.
  • Added experimental support for MCP events, behind the mcp_events flag.
  • Shell commands now survive server handoffs and keep their output when interrupted.
0.5.2
  • opencode-pty 0.5.2 (protocol 8) from packages/process-daemon, published to npm as @opencode/pty@0.5.2.

OpenCode prices over time

Full pricing history →

OpenCode plan pricesfrom archived copies of the official pricing page
Cheapest paid planMost expensive self-serve plan
Token prices of Anthropic modelsnewest Anthropic model in each family, output price per 1M tokens
Anthropic OpusAnthropic SonnetAnthropic Haiku

OpenCode popularity and usage data

OpenCode was downloaded 3.9M times from npm in the week ending Nov 17, 2026, up 15.4% on the week before and up 28.7% over the last 30 days compared with the 30 before. Its VS Code extension has 1.3M installs and average 3.6 out of 5 across 30 marketplace ratings. The GitHub repository has 228K stars, 10,874 of them added in the last 30 days. The latest stable release is 2.3.2, published Nov 18, 2026; there were 20 stable releases in the past 30 days. On public GitHub, 676 pull requests were opened from branches with OpenCode's default opencode/ prefix in the week of Nov 9, 2026, and 82% of the pull requests from the four weeks before that were merged. On Terminal-Bench 2.0 its best listed result is 51.7% with Claude Opus 4.5, ranking 36 of 43 agents on that board. It was mentioned in 472 Hacker News posts and comments over the last 30 days.

Downloads per daynpm, 7-day average 558K/day
GitHub starsrunning total 228K
VS Code installsVisual Studio Marketplace, daily snapshots 1.3M
Hacker News mentionsposts and comments, rolling 7-day total 108 this week
Wikipedia page viewsEnglish Wikipedia, 7-day average
Website rankTranco list; a lower rank means more traffic #4,345
Pull requests opened per weekpublic GitHub repositories 676/week

Download the raw daily series: opencode.csv

Gid Score breakdown

Adoption89
Community98
Attention55
Momentum64

Gid Score shows public popularity and activity (usage, GitHub stars, mentions, growth), not the quality of the product. Each component is scored 0 to 100 from public signals; a dash means no data for it. How the Gid Score works.

How fresh these numbers are

NumberLatest readingLast checked
Package downloadsNov 17, 2026Nov 19, 06:22 UTC
GitHub starsNov 19, 2026Nov 19, 06:26 UTC
VS Code installsNov 19, 2026Nov 19, 06:26 UTC
Open VSX downloadsNov 19, 2026Nov 19, 06:26 UTC
Homebrew installsNov 19, 2026Nov 19, 06:26 UTC
Website rank (Tranco)Nov 18, 2026Nov 19, 06:32 UTC
Wikipedia viewsNov 15, 2026 not updated for 5 daysNov 19, 06:26 UTC
Hacker News mentionsNov 18, 2026Nov 19, 06:26 UTC

We fetch every source once a day. Registries publish downloads and page views a day or two late, so their latest reading trails the check. A reading more than 4 days old is marked out of date; the Gid Score still uses it until a newer one arrives.

OpenCode benchmark results

All agents on Terminal-Bench

BenchmarkModelEffortTasks solvedCost of runPlace
Terminal-Bench 2.0 Claude Opus 4.5 — 51.7% — #36 of 43

Up to four best runs per board. Scores are not comparable between Terminal-Bench versions. Source: Terminal-Bench (tbench.ai).

Pull requests by OpenCode on GitHub

Compare all coding agents

In the week of Nov 9, 2026, 676 pull requests matching OpenCode's signature (head:opencode/) were opened in public repositories; 82% of those opened in the four weeks before were merged. A branch prefix identifies the tool; the pull request itself is usually opened under the developer's own account.

OpenCode FAQ

How much does OpenCode cost?

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.

Is OpenCode open source?

Yes. OpenCode is open source, released under the MIT license.

How popular is OpenCode?

OpenCode was downloaded 3.9M times from npm in the week ending Nov 17, 2026, up 15.4% on the week before and up 28.7% over the last 30 days compared with the 30 before. Its VS Code extension has 1.3M installs and average 3.6 out of 5 across 30 marketplace ratings. The GitHub repository has 228K stars, 10,874 of them added in the last 30 days.

What is the latest version of OpenCode?

The latest stable release we track is 2.3.2, published on Nov 18, 2026.

What are the alternatives to OpenCode?

The closest alternatives in the same category by Gid Score are Claude Code, OpenAI Codex, Pi, Gemini CLI.

For the makers of OpenCode badges, corrections

Add a live badge to your README or site:

AgentGid: #3 in Terminal Gid Score: 80/100 downloads: 3.9M/week ▲29% 30d

[![AgentGid: #3 in Terminal](https://agentgid.com/badges/opencode-rank.svg)](https://agentgid.com/agents/opencode/)
[![Gid Score: 80/100](https://agentgid.com/badges/opencode-score.svg)](https://agentgid.com/agents/opencode/)
[![downloads: 3.9M/week ▲29% 30d](https://agentgid.com/badges/opencode-downloads.svg)](https://agentgid.com/agents/opencode/)

Something wrong or outdated on this page? Send a correction with a link to the official source. More for makers.

Where these numbers come from

npm: opencode-ai. GitHub: anomalyco/opencode. VS Code Marketplace: sst-dev.opencode. Homebrew: opencode. Wikipedia: OpenCode. Site rank: opencode.ai on the Tranco list. See data sources for how each one is collected.

Product facts and pricing were checked against: opencode.ai, github.com, registry.npmjs.org, formulae.brew.sh, marketplace.visualstudio.com, open-vsx.org, en.wikipedia.org.