RyabykinIlya/dsh-openrouter-spend ↗★ 0

dsh-openrouter-spend

DeepSeek Harness plugin: shows what the OpenRouter account actually charged today — under the composer and in Settings, split by model and API key. 适合使用OpenRouter API并需要按模型和密钥监控每日开销的用户。

パッケージ
dsh-openrouter-spend
互換性
未検証
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/10/06

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:RyabykinIlya/dsh-openrouter-spend

ドキュメント

README 全文を読む ↗

Configuration

Every field can be overridden in the profile's cordis.patch.yml row; the schema validates the row at activation and names the offending field.

FieldDefaultBoundsMeaning
credentialRefOPENROUTER_MGMT_API_KEYnon-empty stringCredentials reference holding the management key
apiBasehttps://openrouter.ai/api/v1https:// URLOpenRouter REST API root
refreshSeconds6010–3600, integerSeconds between OpenRouter refreshes
historyDays302–366, integerDays of history the summary window covers, today included
cbrUrlhttps://www.cbr.ru/scripts/XML_daily.asphttps:// URLCBR daily-rates sheet read for the RUB rate
rateRefreshSeconds360060–86400, integerSeconds between cbr.ru rate reads
timeoutMs150001000–120000, integerPer-request deadline against OpenRouter and cbr.ru

Viewing preferences (display currency, per-key filter, refresh interval override) are browser-local (localStorage).