Repository navigation
feat(proxy): add admin toggle to block requests for models without pricing #35181
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
mateo-berri
merged 16 commits into
litellm_internal_staging
from
litellm_block_unpriced_models
Aug 21, 2026
Merged
Changes from 8 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7e1f44f
feat(proxy): add admin toggle to block requests for models without pr…
mateo-berri 84c41dc
fix(proxy): treat non-token pricing as priced and propagate the unpri…
mateo-berri 074b37b
refactor(proxy): flatten the pricing-metric check to avoid recursion
mateo-berri 6bd21fa
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
web-flow c551a5c
fix(proxy): treat explicit zero non-token prices as priced
mateo-berri 9c29e11
Merge branch 'litellm_block_unpriced_models' of https://git-manager.d…
mateo-berri 21891b4
fix(proxy): count explicit zero prices on any billed metric as config…
mateo-berri 7f539e3
Merge branch 'litellm_block_unpriced_models' of https://github.com/Be…
mateo-berri 5301872
Merge remote-tracking branch 'origin/litellm_internal_staging' into l…
mateo-berri ab79b8d
fix: count tiered_pricing as a cost mapping when blocking unpriced mo…
mateo-berri eb8d402
test(proxy): cover a registry model priced only via tiered_pricing
mateo-berri 2b2d6d7
fix(proxy): apply DB-persisted safe litellm settings on every worker'…
mateo-berri 3672fa9
fix(proxy): log block_requests_for_models_without_pricing updates lazily
mateo-berri 3c44f8d
fix(ui): surface toggle failures on the block-unpriced-models setting
mateo-berri df00c33
fix(proxy): reload the unpriced-model toggle regardless of supported_…
mateo-berri c73480c
fix(proxy): block every unpriced model a request names
mateo-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
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
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
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
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.