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

Claude Code vs OpenCode

Claude Code (Anthropic) and OpenCode (Anomaly (SST team)) side by side on public data, as of Nov 20, 2026.

Claude Code has 4.8x the weekly package downloads of OpenCode (18.9M against 3.9M). Claude Code has 22.7x the VS Code extension installs of OpenCode (30.6M against 1.3M). OpenCode has 1.5x the GitHub stars of Claude Code (228K against 156K). Over the last 30 days downloads moved +16% for Claude Code and +29% for OpenCode. Claude Code shipped 72 stable releases in the past 90 days. OpenCode shipped 38 stable releases in the past 90 days.

Which should you choose?

Choose Claude Code if

  • you want to check in from your phone
  • you prefer the more widely used tool, with more docs and answers around (Gid Score 88 against 80)
  • you want frequent updates (72 stable releases in 90 days against 38)

Choose OpenCode if

  • you want to start free: it has a free plan, Claude Code does not
  • you want code you can read, fork or self-host (MIT)
  • you need to run local models
  • you want to switch between model providers (11 documented against 3)

Built from documented features, official prices, status pages and usage data on this page; it does not judge output quality.

Side-by-side numbers

Metric Claude CodeOpenCode
Gid Score8880
Usage data as ofNov 19Nov 19 Wikipedia from Nov 15
Rank by Gid Score#1#3
Downloads, last 7 days18.9M3.9M
Downloads, 7-day changeup 15.1%up 15.4%
Downloads, 30-day changeup 15.5%up 28.7%
VS Code installs30.6M1.3M
Marketplace rating3.7 / 5 (936)3.6 / 5 (30)
GitHub stars156K228K
Homebrew installs, 30 days61.7K47.7K
Hacker News mentions, 30 days1,889472
Latest stable release2.1.328 · yesterday2.3.2 · 2d ago
Stable releases, 90 days7238
Terminal-Bench (best run)65.8% · v4.151.7% · v2.0
Price$20/moFree + $10/mo
Usage limitsPro and Max: a 5-hour session limit plus a weekly limit; Ultra: a weekly limit only (verified Ultra accounts have no 5-hour limit)
Pro: More usage than Free every 5 hours and every week ($17/month with yearly billing); the plans page gives no message counts all plans
—
Incidents, last 30 days15 · 11 major or critical—
LicenseProprietaryMIT
First releasedFebruary 2025May 2025
InterfacesCLI, IDE extension, Desktop, Web, Mobile, SDKCLI, Desktop, IDE extension, Web, SDK
ModelsAnthropic Claude models via Claude plans, a Console API key or supported third-party cloud providers75+ providers via Models.dev incl. local models; OpenCode Zen/Go curated models; GitHub Copilot and ChatGPT Plus/Pro logins

A dash means there is no public data for that metric as of Nov 20, 2026. The Terminal-Bench results come from different versions (v4.1 and v2.0), so they are not directly comparable.

Trends

Downloads per daynpm + PyPI, 7-day average
Claude CodeOpenCode
GitHub starsrunning total
Claude CodeOpenCode
Hacker News mentionsrolling 7-day total
Claude CodeOpenCode

Claude Code

Anthropic's agentic coding tool that reads a codebase, edits files and runs commands from the terminal, with VS Code and JetBrains integrations plus desktop, web and mobile access. It runs Claude models through a Claude subscription, an Anthropic Console API key or supported third-party cloud providers.

Pricing: Claude Code is included in Pro ($17/month annual or $20/month monthly), Max ($100/month), and Ultra ($200/month) plans. The Free plan does not include Claude Code. Team plans offer standard seats at $20/seat/month annual ($25 monthly) and premium seats at $100/seat/month annual ($125 monthly), both with Claude Code. Enterprise seats cost $20/seat/month annual (20 seat minimum) plus usage at API rates.

Latest release 2.1.328:

  • Added auto mode for Claude Opus 4.6 and Sonnet 4.6 on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry and Claude apps gateway; interactive sessions with no permission mode start in it
  • Added "onFailure": "block" for mcp_tool hooks, as for command and HTTP hooks: a hook whose call fails blocks the action
  • Added a warning when a message from a session that skips permission prompts may be held and dropped by a cloud session
  • Added a notice in /status and claude doctor when an OpenTelemetry exporter has no endpoint and its data would likely be lost

Full Claude Code profile

OpenCode

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.

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.

Latest release 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.

Full OpenCode profile

Claude Code vs OpenCode: common questions

Is Claude Code or OpenCode cheaper?

OpenCode has the lower entry price: paid plans from $10 a month against $20 for Claude Code, from the official pricing pages. OpenCode also has a free option.

Is Claude Code or OpenCode open source?

OpenCode is open source (MIT); Claude Code is proprietary.

Which is more popular, Claude Code or OpenCode?

Claude Code has a Gid Score of 88 against 80 for OpenCode. The score combines package downloads, editor installs, GitHub activity and attention, updated daily.

Do Claude Code and OpenCode support local models?

OpenCode documents support for local models; Claude Code's documentation does not.