DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-llm-cost

Per-turn and per-step LLM cost metering and session projections for DeepSeek Harness.

Developer Tools
1GitHub Stars1ForksUpdated2026-08-24

Install

$ dsh plugin --profile web add github:chenyinrusi/dsh-llm-cost#v0.6.1

Plugin 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.

source-grounded
dsh-llm-cost brings per-turn and per-step USD cost tracking into DeepSeek Harness. It folds model routing and token usage into a costUsage session projection, renders the cost directly under assistant messages and in the session header, and includes an automated llm_cost_refresh tool to search and update model pricing dynamically.

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.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 1 runtime, 14 development, 10 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as MIT.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

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
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app