iamfitzwu/dsh-localhost-cost ↗★ 0
dsh-localhost-cost
DeepSeek cost projection plugin for local-model developers
AI 분석
核心用途是帮助本地模型开发者预测等效的 DeepSeek API 消耗成本。通过自定义别名映射实现精准估算。适合在本地部署/测试模型并希望评估商业化 API 成本的开发者。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 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.