LeslieWylie/dsh-gateway-billing ↗★ 0
dsh-gateway-billing
Per-conversation LLM billing display for the DSH web composer, for anyone self-hosting a New API / One API-compatible gateway.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LeslieWylie/dsh-gateway-billing说明文档
阅读完整 README ↗所需配置
本 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 会明确提示「未配置」,不会报错,也不会显示误导性的计费数字。