Skip to content

dsh-usage-vendor-stats v0.2.0

Latest

Choose a tag to compare

@kirigayakazima kirigayakazima released this 16 Aug 02:22

What's new in v0.2.0

Usage statistics by vendor (subscription / official API) x KPI with dashboards.

Features

  • Vendor dimension: auto-discover providers, label subscription / official API, set aliases
  • 53-week GitHub-style heatmap with vendor filtering
  • Trend line chart: per-day, and per-hour for today (hourly aggregation)
  • Vendor model drilldown: click a vendor row to see per-model consumption
  • Time presets: today / 7d / 14d / 30d / 90d / all
  • Token composition ratio bar (uncached input / cache hit / output / reasoning)
  • Cost estimation with per-million-token unit price per vendor
  • CSV export (daily / monthly / vendor tables)
  • Health / performance cards: average TTFT, generation speed (t/s), peak context, request error rate, model & tool wall time
  • Fullscreen panel + sidebar entry (not just the settings page)

Fixes

  • Fixed white-screen on vendor model drilldown (const -> let)
  • Added React error boundary to prevent render-crash lockups
  • Clearer token accounting labels (未命中输入 vs 缓存命中)

Internationalization

  • All code comments in English
  • Bilingual README (English / 中文)
  • Screenshots in README

Install

\\�ash
dsh plugin --profile web add " github:kirigayakazima/dsh-usage-vendor-stats
\\