dsh-llm-cost
Per-turn and per-step LLM cost metering and session projections for DeepSeek Harness.
Install
$ dsh plugin --profile web add github:chenyinrusi/dsh-llm-cost#v0.6.1Plugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Folds step usage and routing events into a persistent costUsage session projection
- Renders per-turn USD costs and token counts below assistant messages via conversation.chat.turnTail
- Displays cumulative session costs in the header utility slot
- Provides an automated llm_cost_refresh tool that fetches and extracts current model prices using web search and LLM fallback chains
- Supports off-peak and peak discount time window pricing calculations
- Explicitly displays unknown pricing status rather than silently defaulting to zero
Useful For
- Tracking API token spend in real-time across turns in DeepSeek Harness chat sessions
- Auditing cumulative conversation expenses by provider and model
- Keeping model pricing tables updated automatically via web search and extraction
Who It Fits
- DeepSeek Harness developers and administrators monitoring LLM token consumption and costs
- Teams needing visibility into multi-model and multi-turn API spending
Documented Limitations
- Requires DeepSeek Harness version 0.1.1-rc.2 or newer for ProjectionDefinition state schema support
- Automatic pricing refresh requires an installed DSH web search provider and at least one accessible LLM route
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 1 runtime, 14 development, 10 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- chenyinrusi/dsh-llm-cost
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 648317c · 2026-09-17
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 1GitHub stars
- Forks
- 1
- Open issues
- 0
- Last commit
- 2026-08-24
- Last release
- 2026-08-24
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Token balance monitor and whale-girl animated companion plugin with peak-valley pricing tracking for DeepSeek Harness.
View plugin →A bilingual DeepSeek Harness cost-tracking plugin with session and daily costs, budgets, pricing management, balance lookup, and coding-plan quota displays.
View plugin →Full context lifecycle management, visualization dashboard, and /context command for DeepSeek Harness.
View plugin →Generative UI plugin for DeepSeek Harness that renders interactive components and charts inline from assistant responses.
View plugin →