Skip to content

[Feature Request] OpenRouter: show daily and weekly spend in the menu #685

@austinmw

Description

@austinmw

Feature Request

Summary
Surface daily and weekly spend in the OpenRouter menu card alongside the existing credit balance/usage meter.

Context
The /api/v1/key endpoint (already fetched by CodexBar for balance data) returns two additional fields that are currently unused in the UI:

  • usage_daily – spend today (USD)
  • usage_weekly – spend this week (USD)

Related: OpenRouter provider was added in v0.18.0 (PR #396). The endpoint also returns limit, limit_remaining, and limit_reset, but daily/weekly spend are the most useful at a glance.

Proposed Change
Display usage_daily and usage_weekly in the OpenRouter menu card, e.g.:

Balance: $4.20  |  Used: 38%
Today: $0.12  ·  This week: $0.74

Why
This data is already fetched — it just needs to be rendered. It gives users quick visibility into their spending cadence without leaving the menu bar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedConfirmed backlog item or verified open bugarea:ui-uxUI polish, settings, layout, interaction behaviorenhancementNew feature or requestpriority:lowLow priority: minor bug, polish, or long-tail backlogprovider:openrouterIssue specific to OpenRouter

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions