iamfitzwu/dsh-localhost-cost ↗★ 0
dsh-localhost-cost
DeepSeek cost projection plugin for local-model developers
AI Analysis
核心用途是帮助本地模型开发者预测等效的 DeepSeek API 消耗成本。通过自定义别名映射实现精准估算。适合在本地部署/测试模型并希望评估商业化 API 成本的开发者。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full 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.