CCCq-C/dsh-api-cost
CCCq-C★ 0JavaScriptLast synced: 2026-08-15
DeepSeek Harness 插件:实时显示本会话 API 用量开销 / Real-time per-session API cost meter for DeepSeek Harness
README excerpt
dsh-api-cost English 中文 A Host + Web Client plugin for deepseek-harness ( dsh ): shows the real-time per-session API cost — the provider-reported token usage (uncached input / cache-hit input / output) priced with a configurable per-model rate table, rendered as a live chip above the composer. Installable via dsh plugin add . Features - apiCost session projection (host half): a pure fold over the session log that prices each provider usage sample at the model's rate, so streaming usage chunks update the cost live and the finalized assistant/message never double-counts. - Composer-dock chip (browser half): API cost $0.0023 1.2K + 3.4K tok , updating in real time; hover shows a per-bucket breakdown (input / cache hit / cache write / output, plus the model id). - Configurable pricing : USD per one million tokens; unknown models fall back to a default rate table, and per-model overrides ride the plugin row's config (see Configuration). - Bilingual UI (中文 / English), following the host locale. - Self-contained : no host-repository changes — the in-package cordis.patch.yml inserts its own row as a bundle layer. Installation The installer adds the package to the web profile's dependencies…
View full README on GitHub →Category
A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and more.
★ 3,820
hyhmrright/brooks-lintAI code reviews grounded in 12 classic engineering books — decay risk diagnostics with book citations, severity labels, and 6 analysis modes including full-sweep auto-fix
★ 1,338
ccch1mneyyy/dsh-TUI解决DSH 官方尚无终端 TUI 痛点的补位之作,献给偏爱cli的各位极客:Claude Code 风格全屏交互终端插件——像素鲸鱼顶栏、实时工作状态行、思考流式展开、双击 Esc 回滚、上下文进度条 + TPS 仪表。npm 一键安装。
★ 1,141