Usage Dashboard

The Dashboard sidebar tab (direct URL: https://router.cocolevio.com/dashboard) is the cost-monitoring and key-management console.

What it shows

  • Summary cards — total spend, requests (successful/failed), tokens (in/out), and active key count for the selected period.
  • Spend per day — bar chart across the period (hover a bar for exact spend/requests).
  • API Keys table — one row per key: alias, ACTIVE/BLOCKED status, period spend, request count (with failures), tokens, and lifetime spend against budget with a color-coded progress bar (green → amber at 70% → red at 90%). Click a row to expand its per-model spend breakdown.
  • Models table — every model used in the period with requests, tokens, spend, and a relative spend bar.

Time ranges

Today / 7 days / 30 days buttons, plus a Refresh button. All numbers are computed from the gateway's per-request logs.

Key management actions

Each key row has Block / Unblock, Budget (set or change the lifetime max), and Delete. These are admin actions — the first one you use in a session prompts for the admin password (the same password used to sign in to the admin UI). A wrong password clears and re-prompts.