In DeepSeek Harness (DSH) use cases, peak-time billing (charged at 2x) often makes cost accounting difficult. dsh-lean is a client plugin designed to help developers address this issue and provides audit capabilities for session spend and tool-mode consumption.

What It Is

dsh-lean is a client plugin maintained by user sjh9714. It focuses on solving cost transparency issues during DeepSeek API calls, showing detailed consumption data to help developers understand off-peak costs and the specific overhead of tool mode.

Core Features

The plugin mainly provides the following three core features:

  • Display session spend
  • Display off-peak cost
  • Display the tool-mode consumption of the prompt prefix

Installation and Enablement

Currently, there is no officially provided installation command.

Typical Usage

Run the audit command directly via the command-line tool to retrieve data on session spend, off-peak cost, and tool-mode consumption:

npx dsh-lean audit

Use Cases and Notes

This plugin is suitable for developers who need fine-grained control over DeepSeek API call costs. Note: The plugin runs with the current DSH process permissions; before installing, check the source code and license.

Summary

dsh-lean provides a basic audit perspective, helping developers clarify resource consumption. To learn more or view the source code, visit the plugin directory or GitHub repository.