dsh-chat-cost
Real-time token cost tracking, subagent session tree breakdowns, and budget planning for DeepSeek Harness.
Install
$ dsh plugin --profile web add dsh-chat-costPlugin 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
- Multi-provider pricing catalog supporting DeepSeek, OpenAI, Anthropic, Gemini, Kimi, Grok, and Mistral
- Real-time session tree cost attribution covering parent chats and finished subagents
- Per-turn cost badges rendered directly beneath individual completed chat answers in the Web UI
- Local append-only JSONL cost logging inside the project's .dsh-cost directory
- Six Cordis budget tools: cost_price, cost_history, cost_estimate, cost_plan, cost_mark, and cost_scenarios
- Support for provider-specific pricing rules like DeepSeek peak hours and cache read/write rates
Useful For
- Tracking LLM spend in real time while using DeepSeek Harness Web UI
- Auditing token expenditure across multi-agent trees and background subagents
- Planning model routing and project budgets using cost estimate scenarios
- Maintaining an offline, local-first cost ledger in JSONL format for billing audits
Who It Fits
- DeepSeek Harness users wanting visibility into their chat and agent token spend
- AI developers and team leads optimizing multi-model agent costs and routing
- Budget-conscious researchers and developers running subagent-heavy tasks
Documented Limitations
- Server-side tool calls like web search are not represented in session token logs and are tracked as call counts rather than exact token costs
- Long-context tier pricing for certain Gemini and Grok models defaults to base tier rates
- Reasoning tokens are counted as output tokens following provider billing conventions
- Log summary reads default to the tail buffer (2 MiB by default), reporting truncation for older records
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 0 runtime, 0 development, 0 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
- igormel81/dsh-chat-cost
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 29e9532 · 2026-10-06
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
- 2
- Last commit
- 2026-09-22
- Last release
- 2026-09-15
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
DeepSeek Harness web-search plugin that adds web search, X search, and focused page fetching with structured evidence.
View plugin →Persistent multi-model agent teams with dynamic DAG orchestration, run monitoring, and token insights for DeepSeek Harness.
View plugin →Session lifecycle manager for DeepSeek Harness with search, restore, idle cleanup, and diagnosis.
View plugin →Generative UI plugin for DeepSeek Harness that renders interactive cards, charts, forms, and panels inline from dsh-ui code fences.
View plugin →