Skip to content
PluginStats

opencode-cmd-provider weekly downloads statistics

By rashidrazak · npm · AI SDKs

Command Code provider + plugin for opencode

View on npm Fresh · Dec 6, 2026

opencode-cmd-provider has 719 recorded weekly downloads on npm, a decrease of 34.5% over the past 30 days, ranking #2175 of 3,247 tracked listings.

Weekly downloads
719
Official API · Dec 5, 2026
7-day growth
-12.6%
-104 weekly downloads
30-day growth
-34.5%
-378 weekly downloads
90-day growth
-39.7%
-473 weekly downloads
Rank
#2175
▼ 126 in 7 days

About opencode-cmd-provider

opencode-cmd-provider

CI npm

Use your Command Code plan inside OpenCode.

This plugin connects OpenCode to Command Code and adds every Command Code model to the model picker, so you can use your Go, GOAT, Pro, Max 10×, Max 20×, Provider, Team, or Enterprise plan from OpenCode. It also adds the Rates & usage panel with your plan's allowances, benchmarks, current deals, and live usage — a Command Code section in the terminal's session sidebar, and a Command Code side-panel tab in the OpenCode desktop app.

<!-- Absolute URL so the image also renders on npmjs.com (docs/ is not published to npm). -->

OpenCode running a Command Code model, with the Rates & usage panel in the sidebar

Disclaimer: This is an unofficial, community-maintained integration. It is not affiliated with, endorsed by, or supported by Command Code. You need your own Command Code account, and Command Code's terms, availability, and pricing apply.

Before you start

Not sure which OpenCode version you have? Run:

opencode --version

Using the OpenCode desktop app? It is part of OpenCode v2 — follow Install on OpenCode v2, then see In the desktop app.

Install on OpenCode v1

opencode plugin opencode-cmd-provider

Run it inside the project where you want the plugin, or add --global to make it available in every project:

opencode plugin opencode-cmd-provider --global

That one command adds the plugin to your OpenCode configuration, registers Command Code and all of its models, and adds the sidebar section. Restart OpenCode when it finishes.

Install on OpenCode v2

OpenCode v2 uses a different command — note the add:

opencode plugin add opencode-cmd-provider

This adds the plugin to your global OpenCode configuration, so it works in every project, registers Command Code and all of its models, and adds the sidebar section. Reload OpenCode when it finishes:

opencode reload

Closing and reopening the TUI is not enough on v2 — the background service keeps the previously loaded plugin. If the plugin still does not appear, restart the service with opencode service restart.

In the desktop app

The desktop app picks up the same install. Quit and reopen the app after installing: its windows load the plugin when they start, so an open window keeps running without it. Once reopened, the [CMD] models are in the model picker and the Command Code side-panel tab is available — see The panel in the desktop app.

If an install command fails on your machine, you can add the plugin to your configuration by hand — see Installation mechanics in the technical reference.

Connect your Command Code account

OpenCode v1: sign in from the browser

In OpenCode, run:

/connect

Select Command Code in the provider list, then pick how to sign in:

  • Command Code — the browser flow. Finish the sign-in in your browser; the key is stored by OpenCode and reused from then on. Take your time: the plugin waits up to five minutes for the browser to hand the key back, so there is no rush picking an organization or approving access.
  • Command Code API key — paste the key the Command Code studio shows you. Use this when the browser cannot reach OpenCode's localhost callback, for example when OpenCode runs on a remote host.
OpenCode v2: use your API key

OpenCode v2 has no browser sign-in for Command Code. Set your API key before starting OpenCode:

export COMMANDCODE_API_KEY="user_..."

Or run /connect inside OpenCode and paste the key when asked.

Already signed in with the Command Code CLI?

If you ran cmd login, OpenCode reuses that login automatically, so you may not need to connect at all. The plugin reads it from ~/.commandcode/auth.json.

This does not cover COMMAND_CODE_API_KEY, the variable the Command Code CLI documents for CI and headless use. This plugin reads COMMANDCODE_API_KEY instead. Set that one, or run /connect.

Start using it

  1. Pick a model: run /models and choose any entry starting with [CMD], for example [CMD] Claude Sonnet 5.
  2. Start chatting. Your Command Code plan handles the requests.

Prefer the command line? Run a single prompt without the interactive interface:

opencode run --model commandcode/claude-sonnet-5 "hello"

What you get

The Rates & usage panel

While a session uses a [CMD] model, OpenCode shows the Rates & usage panel (titled Command Code) for that model — in the sidebar of the terminal interface, and in the side panel of the desktop app:

  • Tier and status of the model
  • Allowance — the monthly allowance on each plan
  • Rates — input, output and cache rates per million tokens, including peak/off-peak and context-window bands where Command Code publishes them
  • Other Information — benchmark scores, current deals and was/now rates
  • Usage — your live 5-hour, weekly and monthly usage, and this cycle's requests, tokens and spend, refreshed as you work
The panel in the terminal…

Description from the npm listing.

  • opencode
  • opencode-plugin
  • commandcode
  • provider
  • ai-sdk

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

opencode-cmd-provider weekly downloads on npm, last 90 days: 719 weekly downloads as of Dec 5, 2026, -39.7% over 90 days.opencode-cmd-providerWeekly downloads on npm · Last 90 days719downloads / week-39.7% over 90 days05001K1.5K2KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
opencode-cmd-provider weekly downloads on npm, last 90 days: 719 weekly downloads as of Dec 5, 2026, -39.7% over 90 days.

7/30/90-day growth

opencode-cmd-provider weekly downloads growth on npm: -12.6% over 7 days, -34.5% over 30 days, -39.7% over 90 days.opencode-cmd-providerWeekly downloads growth on npm719downloads / week now7-day growth-104 weekly downloads-12.6%30-day growth-378 weekly downloads-34.5%90-day growth-473 weekly downloads-39.7%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
opencode-cmd-provider weekly downloads growth on npm: -12.6% over 7 days, -34.5% over 30 days, -39.7% over 90 days.

Ranking history

opencode-cmd-provider npm ranking history: currently #2175 (by weekly downloads).opencode-cmd-providernpm ranking · by weekly downloads · Last 90 days#2175current rank#1400#1600#1800#2000#2200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
opencode-cmd-provider npm ranking history: currently #2175 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 109, #15 (overall #2,175)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 13, #6 (overall #246)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for opencode-cmd-provider
Date (UTC)Weekly downloadsChange vs. previous
719+154
565-172
737+202
535-107
642-17
659-162
821-2
823-16
839+106
733-162
895+48
847-133
980+146
834—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/opencode-cmd-provider. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.