iamfitzwu/dsh-localhost-cost ↗★ 0
dsh-localhost-cost
面向本地模型开发者的 DeepSeek 成本预测插件,支持将本地模型名称映射到官方计费档位进行费用估算。
AI 分析
核心用途是帮助本地模型开发者预测等效的 DeepSeek API 消耗成本。通过自定义别名映射实现精准估算。适合在本地部署/测试模型并希望评估商业化 API 成本的开发者。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Configuration
type SessionCostConfig = {
aliases?: Record
}
aliases maps the request header's config.model value to one of the official pricing buckets. If a model id is already one of the official keys, it needs no alias. For local deployments, this is where you map your local model names to the official billing tiers. Unknown ids fail loudly when the projection sees them, and the Settings page can only offer ids that the configured model catalog already exposes.