Back to marketplace

dsh-plugin-cost-tracker

Monitoring

YYTbit/dsh-plugin-cost-tracker

Token cost tracker for DeepSeek Harness, tracking usage per session, calculating costs based on model pricing, injecting cost awareness into system prompt, and providing a CLI tool.

  • deepseek-harness
  • dsh-plugin
GitHub Stars
1GitHub
Views
1DSH Plugin Hub
Forks
0GitHub
Open issues
1GitHub Issues
Manifest version
0.1.0dsh-plugin-cost-tracker
Latest push
Aug 13, 2026GitHub
License
MITTypeScript
Plugin type
HostRuns in the DSH Host

Verification and compatibility

This section shows evidence collected by the catalog. Undeclared information is labeled as unknown.

Static checked
01Exact source: npm · dsh-plugin-cost-tracker@0.1.002Validated: Aug 24, 202603Verified Harness: 0.1.0-rc.7
Current-version compatibility
Verified on the catalog Harness version
Declared Harness range
Not declared
Declared platforms
Not declared
Profiles
your-profile
Build approval
Unknown
Permissions
Not declared
External services
Not declared
Telemetry
Unknown
No known risk flags found

This is not a security endorsement. Review source, permissions, and configuration before installing.

View evidence and scope

Verification covers only the named source, version, and Harness environment. It does not guarantee future compatibility.

  • dsh-plugin-cost-tracker@0.1.0
  • The manifest and static structure passed checks; a runtime load check has not completed.

README

View source

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

Comments

0
Newest first