dclichang2022/dsh-green-meter

dclichang2022★ 1TypeScript最后同步: 2026-08-14

在 GitHub 打开

Energy & carbon metering for DeepSeek Harness: per-turn/per-request energy, cache carbon savings, electricity cost.

README 摘要

dsh-green-meter Energy & carbon metering for DeepSeek Harness — see what your agentic sessions cost. A dsh-plugin that turns every model call into energy (J/kWh) , carbon footprint (g CO2e) and electricity cost (CNY) — estimated from token accounting, so it works with any API-backed provider (DeepSeek API, OpenAI-compatible endpoints, local vLLM) without touching hardware. Install it, chat as usual, and watch your session's energy bill in real time. ✨ Features Surface What you see Composer dock (always visible under the input box) live 能耗 1.5 kJ · 碳 0.2 g readout + per-turn energy sparkline Detail panel (click the readout) per-turn energy chart, per-request energy list, session totals (tokens / energy / carbon / electricity cost ), carbon saved by caching ≈ N trees per year /green one-command session energy report green meter tool the agent can query its own energy, carbon, cost and budget at any time Energy budget optional per-session budget — over-budget steps are rejected with a warning JSONL ledger every model call recorded, ready for your own analysis 🚀 Quick start Restart dsh web , refresh, and the readout appears under the composer. Type /green anytime. Full experience: sid…

在 GitHub 查看完整 README →
Terminal / TUIcarbon-footprintdeepseek-harnessdshdsh-pluginenergygreen-aimonitoringsustainability

分类