@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.

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-coststo 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
