[GH-ISSUE #24109] feat: 7-day daily API cost chart with budget tracking and monthly pace projection #58856

Closed
opened 2026-05-06 00:17:46 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @githb-ac on GitHub (Apr 24, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24109

Check Existing Issues

  • I have searched for all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.

Verify Feature Scope

  • I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions.

Problem Description

Users running multiple models across different providers in Open WebUI have no
visibility into how much they are spending on API calls over time. There is
currently no chart, graph, or summary showing daily API costs, no way to set a
monthly budget limit, and no projection of what the current spend pace means for
end-of-month costs. Users who want to track spending have to export logs manually
or check provider dashboards separately for each provider.

Desired Solution you'd like

Add a 7-day daily cost chart in Admin → Usage showing:

  • A bar chart with one bar per day showing total API spend across all providers
  • Each bar colour-coded by provider (e.g. Anthropic, OpenRouter, Ollama, etc.)
  • Below the chart, three summary stats:
    • 7-day total spend
    • Monthly pace projection (current daily average × 30)
    • Configurable monthly budget limit with a percentage-used indicator
      (e.g. "41% of budget used")
  • Budget limit stored in Admin settings, triggerable warning when pace
    exceeds the set limit

Alternatives Considered

Currently the only alternative is logging into each provider's dashboard separately
(OpenRouter, Anthropic, etc.) to check spend. This gives no unified cross-provider
view and no forward-looking projection. There is no workaround within Open WebUI itself.

Additional Context

A working visual prototype of this chart and budget tracker is attached to this issue.

owui-model-health-cost.html

Originally created by @githb-ac on GitHub (Apr 24, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/24109 ### Check Existing Issues - [x] I have searched for all existing **open AND closed** issues and discussions for similar requests. I have found none that is comparable to my request. ### Verify Feature Scope - [x] I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions. ### Problem Description Users running multiple models across different providers in Open WebUI have no visibility into how much they are spending on API calls over time. There is currently no chart, graph, or summary showing daily API costs, no way to set a monthly budget limit, and no projection of what the current spend pace means for end-of-month costs. Users who want to track spending have to export logs manually or check provider dashboards separately for each provider. ### Desired Solution you'd like Add a 7-day daily cost chart in Admin → Usage showing: - A bar chart with one bar per day showing total API spend across all providers - Each bar colour-coded by provider (e.g. Anthropic, OpenRouter, Ollama, etc.) - Below the chart, three summary stats: - 7-day total spend - Monthly pace projection (current daily average × 30) - Configurable monthly budget limit with a percentage-used indicator (e.g. "41% of budget used") - Budget limit stored in Admin settings, triggerable warning when pace exceeds the set limit ### Alternatives Considered Currently the only alternative is logging into each provider's dashboard separately (OpenRouter, Anthropic, etc.) to check spend. This gives no unified cross-provider view and no forward-looking projection. There is no workaround within Open WebUI itself. ### Additional Context A working visual prototype of this chart and budget tracker is attached to this issue. [owui-model-health-cost.html](https://github.com/user-attachments/files/27064552/owui-model-health-cost.html)
Author
Owner

@Classic298 commented on GitHub (Apr 25, 2026):

Analytics - duplicate

<!-- gh-comment-id:4318585975 --> @Classic298 commented on GitHub (Apr 25, 2026): Analytics - duplicate
Author
Owner

@githb-ac commented on GitHub (Apr 25, 2026):

Thanks for the response — but I'd respectfully push back on the duplicate
classification. Issue #21675 is a broad analytics enhancement tracker. It
does not propose or describe a 7-day daily cost chart, a monthly pace
projection, or a configurable budget limit with a percentage-used indicator.

What's being requested here is a specific, self-contained finance feature:
a bar chart in Admin → Usage showing per-provider daily API spend over 7 days,
with a monthly burn rate projection and a budget threshold alert. A working
visual prototype is attached to this issue.

That is a distinct feature from general analytics improvements. Would
appreciate reconsideration rather than closure as a duplicate of an unrelated
umbrella issue.

<!-- gh-comment-id:4318628287 --> @githb-ac commented on GitHub (Apr 25, 2026): Thanks for the response — but I'd respectfully push back on the duplicate classification. Issue #21675 is a broad analytics enhancement tracker. It does not propose or describe a 7-day daily cost chart, a monthly pace projection, or a configurable budget limit with a percentage-used indicator. What's being requested here is a specific, self-contained finance feature: a bar chart in Admin → Usage showing per-provider daily API spend over 7 days, with a monthly burn rate projection and a budget threshold alert. A working visual prototype is attached to this issue. That is a distinct feature from general analytics improvements. Would appreciate reconsideration rather than closure as a duplicate of an unrelated umbrella issue.
Author
Owner

@Classic298 commented on GitHub (Apr 25, 2026):

You can comment it there. It's a general ideas tracking ticket for everything analytics related

<!-- gh-comment-id:4319127298 --> @Classic298 commented on GitHub (Apr 25, 2026): You can comment it there. It's a general ideas tracking ticket for everything analytics related
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#58856