Repository navigation
Quota, analytics, models, and settings now live inside OpenCode Desktop. The browser dashboard is a fallback: on by default below OpenCode 2.2.0, off by default at 2.2.0 and newer.
Highlights
- Native panel. Quota & Usage opens a side panel with Quota, Analytics, Models, and project, session, provider, and model detail pages. No browser tab.
- Session header slot. Compact quota rings with a combined preview of every visible provider and account, including reset countdowns.
- Native notifications. Low quota, exhausted quota, quota reset, and provider or API failures. A focused window shows an in-app toast; a background window asks OpenCode for a system notification.
- Native Settings. A Quota & analytics page in OpenCode Settings for display, provider, request, temporal pricing, visibility, and card order.
- Multiple providers and accounts. Every signed-in account, seat, API key, or workspace keeps its own card.
Improved
- Session switching reuses the same shared quota and analytics state instead of reloading the dashboard.
- Peak and off-peak context stays on the Quota header and in model detail history.
- Analytics and Models cover daily usage, projects, sessions, the session tree, provider and model breakdowns, and token and API-equivalent cost.
- The web dashboard default follows the host version: on below OpenCode 2.2.0, where the Native panel does not exist, and off at 2.2.0 and newer. An explicit
dashboard.enabledvalue always wins. It remains loopback-only on port4144by default.
Fixed
- A healthy Desktop connection renewal no longer interrupts the session or forces a full dashboard reload.
- Header quota rings remain available across normal watch rotations.
- Opening OpenCode Settings and returning to a session keeps the same dashboard connection, so the panel no longer shows a false
Connecting….
Install
opencode plugin add opencode-quota-guiCompatibility
- OpenCode
>= 2.0.16 < 2.3.0, Node.js22.13+or23.4+. - The Native Desktop integration ships from v1.3.0 and requires OpenCode Desktop 2.2.0+.
- The browser dashboard is on by default below OpenCode 2.2.0 and off by default at 2.2.0 and newer; an explicit
dashboard.enabledvalue wins. It remains loopback-only. - OpenCode 1 is not supported.