LeslieWylie/dsh-gateway-billing0

dsh-gateway-billing

Per-conversation LLM billing display for the DSH web composer, for anyone self-hosting a New API / One API-compatible gateway.

包名
dsh-gateway-billing
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LeslieWylie/dsh-gateway-billing

所需配置

本 skill 需要在你自己 profile 的 cordis.patch.yml 中为 gateway-billing 这一条目提供 config

配置项说明示例
pricingUrl你的网关的价格表接口地址,需返回 New API / One API 格式的 {data: [{model_name, quota_type, model_ratio, completion_ratio, model_price}, ...]}https://your-gateway.example.com/api/pricing

不配置 pricingUrl 时,composer dock 会明确提示「未配置」,不会报错,也不会显示误导性的计费数字。