ChenYiming-aaa/dsh-account-stats1

dsh-account-stats

DeepSeek account stats plugin for dsh web: live balance + per-session estimated cost (official time-window pricing) as the `account` session projection, plus a balance/cost chip in the composer's input bar.

AI 分析

核心用途是监控 DeepSeek 账户余额与 API 消费。适合需要精细化控制 Token 成本、实时查看单次会话开销的用户。需要配置有效的 API Key 凭据。

パッケージ
dsh-account-stats
バージョン
0.1.1
最終更新
2026/08/26

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

配置说明

配置项默认值说明
baseUrlhttps://api.deepseek.com余额接口地址
apiKeyEnvDEEPSEEK_API_KEY凭据引用名
refreshMs60000余额轮询间隔(毫秒)
timeoutMs10000余额请求超时
pricing.defaultModeldeepseek-v4-flash未识别模型时的兜底(当前不计费,见下)
pricing.models官方两档价格分时价格表(元/百万 tokens)

价格按官方定价页配置;官方改价后请同步更新 cordis.patch.yml 中的 pricing.models。 不在价格表中的模型(如 opencode 的免费模型)不计入“本次消费”,避免虚增。