Han-1413141/dsh-cost-meter
소개
DeepSeek Harness의 비용을 추적합니다. 세션 및 모델 비용, 토큰 사용량, 예산, 프로바이더 잔액, 코딩 플랜 할당량을 확인할 수 있으며, 영어와 중국어 이중 언어 UI를 제공합니다.
AI 및 머신러닝측정된 스타 증가
- in 24h
- +2
- in 7 days
- +30
- in 15 days
- +57
- in 1 month
- +172
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originaldsh-cost-meter
Cost tracking and subscription quotas for DeepSeek Harness
English | 简体中文
Install · Features · Screenshots · Docs · Community
Track costs and tokens by conversation, model and call. View account balances, subscription quotas and budgets together, with separate API charges and Plan equivalents, multi-provider pricing, peak/off-peak alerts, and configurable sidebar and composer displays.
Project illustration
Full conversation view in light or dark mode to match your theme. Screenshots use example data.
Installation
Requires Node.js ≥ 20, DSH 0.2.0 or later, and pnpm available to DSH. See host compatibility.
dsh plugin --profile web add dsh-cost-meter
Restart dsh web after installation or updates. Desktop uses its bundled CLI and the desktop profile; follow the Desktop guide.
Windows installer / pinned version
The PowerShell installer checks pnpm and Git and uses the web profile by default:
irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.9.103/install.ps1 | iex
Install a pinned Git tag:
dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.9.103
See installation and updates for uninstalling or installing without Git.
Current release v1.9.103: release notes · troubleshooting
OpenCode Go setup · CommandCode provider and accounts
Enable Ollama Cloud under Settings → Cost → Quotas and enter your API key or set OLLAMA_API_KEY in the host environment. Current plans show monthly credits and purchased balances. Legacy plans show session and weekly limits. Select Hide on any channel card to move it into Hidden quotas at the bottom of the page. Restore it there at any time. Queries and sidebar placement keep their existing settings. Ollama balance API
Add and enable a Magpie gateway on the same page to view quota windows and balances by provider and account.
Feature overview
- Conversation and call costs: Cost entries in the composer, header and each turn. Inspect rates, tokens, recorded inputs and tool results, including parent/subagent cost attribution.
- Statistics and exports: Filter by date, provider and model; inspect trends, rankings, cache hit rates and token heatmaps. Export one or all retained conversations, and view local-model API-equivalent costs separately.
- Quotas and balances: Codex / ChatGPT, OpenCode Go, MiniMax, Claude, GLM, Kimi, Qianwen, MiMo, OpenDesign and other plans, plus CLIProxyAPI multi-account quotas and custom HTTP balance sources.
- Multi-provider pricing: Automatic model matching, editable rates and multipliers, and peak/off-peak tiers. Sync DeepSeek official prices and the OpenRouter catalog; separate API charges from Plan equivalents.
- Budgets and pricing alerts: Daily, monthly, cumulative or custom-date budgets. Peak/off-peak schedules and countdowns, with popup and system notifications before a change.
- Display and history: Configure sidebar cards, composer entries, quota strips and turn costs. Chinese/English UI, dark themes and mobile layouts; historical imports, retention and storage controls.
See features and screenshots for entry points and model and plan support for providers and credentials.
Screenshots & walkthrough
Main views
| Cost trends and model ranking | Conversation cost distribution |
|---|---|
![]() |
![]() |
| Subscription quotas and balances | Display settings and interactive preview |
|---|---|
![]() |
![]() |
Select an image for full resolution. More views: call details, prices, history, dark themes and mobile.
Sidebar layouts
Switch layouts under Settings → Cost → Display → Sidebar → Sidebar layout. Each screenshot uses the same example balance, quota and usage.
| Standard | Compact |
|---|---|
![]() |
![]() |
| Simple | Combined card |
|---|---|
![]() |
![]() |
Icons layout
The DeepSeek icon shows the balance and the current pricing period. Select it to open the details.
| Off-peak | Peak | Open during peak |
|---|---|---|
Thanks to @chanyuenpang for proposing and implementing the Icons sidebar layout.
Documentation
| Topic | Guides |
|---|---|
| Setup and use | Install, update and uninstall · Troubleshooting · Display settings |
| Statistics and billing | Billing rules · Statistics and details · Models and plans · Peak schedules |
| Balances and quotas | Credentials · Custom balances · Gateway quotas · Plan estimates |
| History and storage | Retention and cleanup · Repricing · External usage · Ledger recovery |
| Development | Architecture and development · Contributing · Host compatibility |
| Releases | Update history · CHANGELOG |
Community
Open an issue with plugin and host versions, reproduction steps and relevant logs. The WeChat group is available for usage questions and feature discussions.
Contributors
Thanks to everyone who contributes reports, ideas, documentation and code.
Star History
License
MIT © 2026 dsh-cost-meter contributors
관련 프로젝트 살펴보기
불러오는 중…








