npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@aaronsr-54/opencode-go-model-costs

v1.4.0

Published

OpenCode TUI plugin that shows Go provider models ranked by plan-quota burn rate (cost relative to each model's usage limit)

Readme

opencode-go-model-costs

OpenCode TUI plugin that ranks OpenCode Go models by plan-quota burn rate — how fast each model consumes your Go usage windows (5h / weekly / monthly) — directly in the sidebar.

screenshot

Features

  • Ranks models by quota consumption, not raw price: a model with a $15 usage limit burns your plan 4x faster than one with a $60 limit at the same dollar cost
  • Shows each model's monthly usage allowance ($15, $30, $60) next to its name
  • Multiplier is relative to the baseline (minimax-m2.7): 1.0x = burns quota at the same rate
  • Models without a documented limit fall back to raw price ranking, marked with ~
  • Color-coded: green (≤1.5x), yellow (≤5x), red (>5x)
  • Marks models released in the last 30 days with a tag
  • Truncates long model names () so rows never overflow the sidebar
  • Highlights the currently active model
  • Toggle sidebar visibility via /toggle-costs

How it's calculated

Go meters usage as cost × (60 / model_usage_limit) against shared dollar windows (see the Usage column in the official docs). The plugin therefore scores each model as:

burn = blended_cost_per_1M_tokens / usage_limit
mult = burn / burn(minimax-m2.7)

where blended_cost = input + output * 0.3 per 1M tokens.

Install

Add to your ~/.config/opencode/opencode.json:

{
  "plugin": ["@aaronsr-54/opencode-go-model-costs"]
}

Restart opencode and the sidebar will appear automatically.

Migration

@aaronsr-54/openode-go-model-costs is deprecated. Replace it with @aaronsr-54/opencode-go-model-costs in your OpenCode configuration.

Usage

  • Toggle: Run /toggle-costs to show/hide the sidebar
  • Colors: Green = low quota burn, Yellow = moderate, Red = high
  • $15/$30/$60 tag: monthly usage included with that model
  • ~ prefix: usage limit unknown, ranked by raw price instead
  • : model released in the last 30 days

Links