HugoOu/dsh-opencode-go-eta

Projects when an OpenCode Go monthly allowance will run out and whether that lands before the renewal date, right in the composer dock.

A flat monthly subscription console shows used percentages and a reset time, which does not answer the one question that matters: will this pace exhaust the allowance before renewal, and if so should you top up, renew early, or fall back to pay-as-you-go API for the rest of the period. This fits a reset-aware Theil–Sen line over the recorded quota samples to project an exhaustion time with a confidence tier, compares it against the renewal date, and when it lands early compares renewing against paying the overflow on the official API using the model's public price and documented allowance. History, projection, now, ETA and renewal markers share one time axis, and the trigger is a 14 px ring capsule in the composer dock that matches the shipped context meter rather than a new panel.

Usage & Billing ★ 1
View on GitHub ↗

Install

dsh plugin --profile desktop add github:HugoOu/dsh-opencode-go-eta

Requires DeepSeek Harness 0.2.x (Desktop or Web profile) and Node.js >= 22 per the README. This is the README's GitHub form for the desktop profile; the web form uses --profile web. It keeps its own small local history of quota readings and never reads session logs.

Compatibility

The Go allowance is account-wide, so only the official percentage sees usage from every client — the plugin samples that reading at four local anchors a day, on task ends, on start-up and on demand, to avoid polling storms. Per-model allowances are shown as the README documents them (DeepSeek V4.1 Flash: $80 on Go, $160 on Go Plus; Kimi K3: $15) while percentages stay authoritative from the console. Cost comparison fetches the current model price from models.dev lazily and caches it for 12 hours.

Details

Alternatives

Hjay1101/dsh-opencode-go-usage · vinyumao/dsh-opencode-usage · xiaweiliang060035/dsh-opencode-go-usage

More plugins in Usage & Billing

Browse more in Usage & Billing

Guides for Usage & Billing plugins