Skip to content

v1.2.0 — Usage & Performance Panel

Choose a tag to compare

@PauloCarv PauloCarv released this 09 Jun 21:53
· 35 commits to main since this release

What's new

Usage & Performance tab

New dedicated panel (after Plans) with real-time token analytics powered by PiClaw's /agent/context endpoint:

  • 4 stat cards — total tokens, session cost, agent turns, cache hit rate
  • Token breakdown — stacked bar chart: cache reads / cache writes / output / fresh input
  • Last turn detail — model, provider, per-token breakdown, cost per turn
  • Cache Efficiency — visual bars + tokens avoided, reduction percentage
  • Environmental Impact — CO₂ used, CO₂ avoided by cache, water used/saved, and tree equivalent (e.g. ≈ 1 tree for 30 days) — all with Lucide icons
  • Cost Breakdown — total, per-turn average, per-1K tokens
  • Turn History — accumulates last 20 turns in-session

Data is session-only (PiClaw totals since container start). Refreshes every 30s.

Update

docker compose pull && docker compose up -d