dshbase

Plugin directory / Developer / dsh-plugin-cost-tracker

dsh-plugin-cost-tracker

Verified · install-tested on dsh YYTbit

✓ Actively maintained Pure TypeScript

View on GitHub ↗ ← Back to plugin directory

3Stars
0Forks
1Open issues
TypeScriptLanguage
2026-08-13Last push
Cross-platformPlatform

What it does

Token cost tracker for DeepSeek Harness.

✅
Our take
Works — verified, early-stage project

Token cost tracker for DeepSeek Harness. It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-plugin-cost-tracker

Token cost tracker for DeepSeek Harness.

What it does

  • Tracks token usage per session
  • Calculates costs based on model pricing
  • Injects cost awareness into system prompt
  • Provides CLI tool for cost estimation

Install

dsh plugin --profile your-profile add dsh-plugin-cost-tracker

CLI

cost --model deepseek-v4 --input 10000 --output 5000
# Model: deepseek-v4
# Input: 10,000 tokens @ $0.27/M
# Output: 5,000 tokens @ $1.10/M
# Cost: $0.01

Supported models

  • deepseek-v4, deepseek-v4-flash, deepseek-r1, deepseek-vl2
  • gpt-4o, gpt-4o-mini, gpt-5.2
  • claude-sonnet-4, claude-opus-4, claude-haiku-4
  • gemini-2.5-pro, gemini-2.5-flash

Configuration

- id: cost-tracker
  name: dsh-plugin-cost-tracker
  config:
    defaultModel: deepseek-v4
    budgetWarning: 5.0
    enableInjection: true

License

MIT -- YYTbit

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-plugin-cost-tracker for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

Web profile:

dsh plugin --profile web add dsh-plugin-cost-tracker

Headless (CLI) profile:

dsh plugin --profile headless add dsh-plugin-cost-tracker

Package

npm: dsh-plugin-cost-tracker · version — · tested on dsh 0.1.0-rc.6

Test report

Verified end-to-end: L1 install + L2 load + L3 runtime Q&A on dsh 0.1.0-rc.6.

When to use it

Extend the agent's coding surface — give it a new tool, workflow, or integration so it handles a dev task it couldn't before.

Who it's for

Developers who want dsh to behave like a teammate on real codebases — editing, running, and verifying changes rather than just answering.

For developers — extending it

The tool/command surface is the seam: expose more of the SDK, add smarter context wiring, or tighten the loop between code changes and verification.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7797 plugins →