iamfitzwu/dsh-localhost-cost ↗★ 0
dsh-localhost-cost
DeepSeek cost projection plugin for local-model developers
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.