dsh-llm-cost: DSH Session and Single-Turn LLM Cost Estimation
dsh-llm-cost is a model inference plugin developed by liandy0731 for DeepSeek Harness. It displays the cumulative cost of the entire session below the input box, and shows the cost of each round alongside token usage in each operation row. Clicking allows you to view detailed breakdowns by model, peak/idle time periods, cache, and total costs. Costs are estimated locally based on publicly available pricing from the official website and token counts. It includes built-in price lists for models such as DeepSeek and Zhipu, along with peak/idle time rules based on Beijing time. To install, run plugin_manager install_bundle target=github:liandy0731/dsh-llm-cost and then refresh the page. This is not a billing feature; independent sessions of sub-agents are not included in the cumulative total.
Read Moredsh-llm-cost: Add per-turn, per-step LLM cost display for DeepSeek Harness
`dsh-llm-cost` is a DeepSeek Harness (DSH) plugin designed to convert DSH-recorded token usage into specific dollar costs, addressing the issue where simply viewing token counts fails to intuitively reflect expenses. The plugin primarily generates a `costUsage` projection on the host side and renders the cost of each Turn and the cumulative session cost in real-time on the Web client, supporting model-based fee aggregation. For models without matched prices, the plugin displays `unknown` instead of $0.00 to avoid misunderstanding. Core features include cost detail display (including `totalCostUsd`, buckets, and step details), peak-valley pricing support (off-peak discounts during specific hours on weekdays), and automated price maintenance. Its `llm_c
Read More