dsh-context-dashboard
Run the following command in DeepSeek Harness:
dsh plugin install lcohvne-tomorin/dsh-context-dashboard
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install lcohvne-tomorin/dsh-context-dashboard in DeepSeek Harness to install the plugin; the source repository is https://github.com/lcohvne-tomorin/dsh-context-dashboard . After installation, restart DSH and the context dashboard will appear at the bottom of the sidebar.
About this plugin
When you drive LLM APIs through DSH, three questions come up again and again: how much context window is left in this session, how much has this conversation cost so far, and is the account balance enough for the next burst. dsh-context-dashboard folds all three into a small ring at the bottom of the sidebar. Collapsed by default it shows just a percentage ring and a token readout; one click expands the full panel, another collapses it back, keeping your workflow uninterrupted.
The panel reads the event stream of the currently selected session and automatically detects the channel billing model, branching its display accordingly. In pay-as-you-go mode it lists the API channel, model name, a context-usage bar with percentage, the accumulated session cost across all four token buckets (input, cacheRead, cacheWrite, output), and the account balance. In token-plan mode it adds the session token quota, rolling N-day usage, and weekly and monthly aggregates. DeepSeek official models get automatic peak and off-peak pricing based on Beijing time zones, and the panel annotates each row with the active rate tier. The channel and model lists are dynamically enumerated from the same source as the DSH model selector, so newly added models can be picked up and priced directly in the settings override table without code changes. Balance queries hit the channel official API; keys are pulled from the credentials store or environment variables on demand, used only for that request Authorization header, never persisted, logged, or rendered in the UI.
It is built for DSH users juggling multiple models and channels who want context budgets and cost tracking within arm's reach, and is especially handy when you need to compare spending across metered and flat-rate channels side by side, or simply want a glance to know whether a long conversation is about to hit the context ceiling.
Use Cases
- Monitor context-window remaining during long conversations and get an early warning before hitting the ceiling
- Compare costs, quotas, and rolling usage across pay-as-you-go and token-plan channels while switching models
- Check DeepSeek peak and off-peak rate tiers and per-record accumulated cost in real time
Best For
- DSH users juggling multiple LLM models and channels who want a glanceable context budget
- Cost-sensitive developers who need precise per-session API spend tracking with peak and off-peak rates
- Teams or solo devs managing token-plan quotas who track weekly and monthly rolling usage
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.