GooDAnDReaDY/dsh-cost-meter ↗★ 0
@goodandready/dsh-cost-meter
DeepSeek Harness plugin: a session cost chip in the conversation header - live token usage by bucket, peak/off-peak tariff, and a countdown to the next tariff switch.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GooDAnDReaDY/dsh-cost-meter说明文档
阅读完整 README ↗⚙️ Configuration Reference (settings.yaml)
dsh-cost-meter:
currency: "$"
usdRate: 1.0
displayTimeZone: "UTC"
useOpenRouter: true
prices: {}
modelMap: {}
Configuration Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
currency | string | "$" | Display currency symbol or code |
usdRate | number | 1.0 | Exchange rate multiplier from USD |
displayTimeZone | string | "UTC" | Timezone for window schedule formatting (e.g. Europe/London, Asia/Shanghai) |
useOpenRouter | boolean | true | Fetch OpenRouter public catalog for fallback models |
prices | object | {} | Custom override rates per 1M tokens { prompt, completion, cacheRead?, cacheWrite? } |
modelMap | object | {} | Model alias mappings { "alias": "target-model" } |
Configuration Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
currency | string | "$" | Display currency symbol or code |
usdRate | number | 1.0 | Exchange rate multiplier from USD |
displayTimeZone | string | "UTC" | Timezone for window schedule formatting (e.g. Europe/London, Asia/Shanghai) |
useOpenRouter | boolean | true | Fetch OpenRouter public catalog for fallback models |
prices | object | {} | Custom override rates per 1M tokens { prompt, completion, cacheRead?, cacheWrite? } |
modelMap | object | {} | Model alias mappings { "alias": "target-model" } |