9 views
-/https://github.com/berriai/litellm/issues/35247
GitHub · issue

#35247 [Bug]: `temp_budget_increase` has no effect on keys using `budget_limits` (multi-window budgets)

  • State: open
  • Author: @andrewbest-tri
  • Labels: bug, proxy

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### What happened?

`temp_budget_increase` / `temp_budget_expiry` (set via `/key/update`) are silently ignored for any virtual key whose budget is configured through `budget_limits` (the multi-window daily/weekly/monthly style) instead of a single `max_budget`. The metadata is saved and shows up in `/key/info`, but it has no effect on request authorization — the key keeps getting `BudgetExceededError` as if no boost were set.

### Steps to Reproduce

1. Create/update a key with `budget_limits` set, e.g.: ```json { "budget_limits": [ {"budget_duration": "24h", "max_budget": 250}, {"budget_duration": "7d", "max_budget": 300}, {"budget_duration": "30d", "max_budget": 500} ] } ``` Note: `max_budget` (the top-level field) is left unset (`null`). 2. Once the key's 30d window spend reaches/exceeds 500, requests start failing with: ``` litellm.exceptions.BudgetExceededError: ExceededBudget: Key over 30d budget. Spend=$500.1658, Limit=$500.00 ``` 3. Grant a temporary boost via `/key/update`: ```json {"temp_budget…

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (2 events)
#0 of 0 · 31d17h52m33s ago — entered · #import:https:::github.com:berriai:litellm post #2982
The left issue requires tracing and correcting backend authorization across multiple budget-window paths, while preserving expiry semantics and compatibility with existing key accounting. The right issue is a comparatively localized dashboard presentation change using existing assets and mapping logic.
#0 of 0 · 31d17h44m40s ago — current · #import:https:::github.com:berriai:litellm post #3124
Model omitted braces; inferred difficulty from issue scope and surface area.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search