Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement USD limits per time period per user #269

Open
NightMachinery opened this issue Sep 23, 2024 · 0 comments
Open

feat: Implement USD limits per time period per user #269

NightMachinery opened this issue Sep 23, 2024 · 0 comments

Comments

@NightMachinery
Copy link

Feature Request: Per-User Monthly Spending Limits

Description:

I appreciate the global request limits added in Issue #20. However, I need the ability to set customizable monthly spending limits per user.

Use Case:

I want to give my family and friends access to LLMs through Open WebUI, but I need to control costs by limiting how much each user can spend per month in USD.

Potential Solutions and Considerations:

  • Per-User Spending Limits:

    • Allow setting individual monthly spending caps for each user.
  • Cost Estimation:

    • Since determining the exact cost per model usage can be challenging, consider using heuristics such as:
      • Estimating costs based on token usage or number of requests.
      • Assigning a fixed cost per action or session.
  • Alternative Approaches:

    • Implement per-user limits on usage metrics like tokens or requests, which correlate with costs.

Benefits:

  • Helps manage and predict overall spending.
  • Enables sharing access with others without unexpected expenses.

Thank you for considering this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant