Repository navigation
feat(key management): show budget window usage on /key/info #37044
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
Merged
ryan-crabbe-berri
merged 15 commits into
BerriAI:litellm_internal_staging
from
Thijmen:key-budget-window-usage
Sep 1, 2026
Merged
Changes from 3 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
8c5fa0c
feat: add show budget window usage
Thijmen 34bc22f
fix: address pr comments
Thijmen db67baf
fix: drop Final from loop locals to stay within the basedpyright budget
Thijmen 3113003
refactor: build budget window usage without in-place mutation
Thijmen 9b30e73
fix: cap /v2/key/info batch size to bound spend-log query fan-out
Thijmen ffd23ab
style: apply ruff format to budget limits comprehension
Thijmen c7abb51
Merge branch 'litellm_internal_staging' of https://github.com/BerriAI…
Thijmen 4e3e7d8
test: cover soft budget row creation and windows without max_budget
Thijmen ab9a3f4
Merge remote-tracking branch 'origin/litellm_internal_staging' into k…
Thijmen f4406b4
fix(proxy): clear LIT002 in /v2/key/info batch-cap guard
Thijmen 41ab7e5
ci(test-unit): raise job timeout to 60m for the three 55m shards
Thijmen ca1f69f
Merge remote-tracking branch 'origin/litellm_internal_staging' into p…
ryan-crabbe-berri d9c43d5
fix(key management): read budget window usage from the window spend t…
ryan-crabbe-berri 46d073b
refactor(key): report window spend under budget_limits_usage instead …
ryan-crabbe-berri 760b864
refactor(key): trim budget_limits_usage entries to current_spend
ryan-crabbe-berri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.