litellm - 💡(How to fix) Fix [Bug]: Unable to update budget on a virtual-key [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
BerriAI/litellm#26774Fetched 2026-04-30 06:20:08
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2

Error Message

Attempting to modify the budget of a virtual key, and saving that setting results in an error: see screenshot below Note: Adding a budget (if undefined) to an already existing virtual key is allowed; but editing that amount a moment later is not, and results in the error above. 5. Click "Save settings" & observe the error!

RAW_BUFFERClick to expand / collapse

Check for existing issues

  • I have searched the existing issues and checked that my issue is not a duplicate.

What happened?

Attempting to modify the budget of a virtual key, and saving that setting results in an error: see screenshot below

<img width="402" height="288" alt="Image" src="https://github.com/user-attachments/assets/9c815e4a-f8c5-454e-b5e8-d8cf6fb623e8" />

Not sure if this is expected behavior since until a very recent versions such modifications were allowed.

Note: Adding a budget (if undefined) to an already existing virtual key is allowed; but editing that amount a moment later is not, and results in the error above.

Steps to Reproduce

  1. Go to the virtual keys tab
  2. Select a virtual key (any)
  3. Go to settings tab and then click the "Edit settings" blue button
  4. Edit the budget (it needs to be non-zero).
  5. Click "Save settings" & observe the error!

Relevant log output

What part of LiteLLM is this about?

UI Dashboard

What LiteLLM version are you on ?

v1.82.3

Twitter / LinkedIn details

No response

extent analysis

TL;DR

The issue can likely be resolved by checking the recent version changes in LiteLLM v1.82.3 and verifying if the budget modification restriction is an intended new behavior.

Guidance

  • Review the release notes for LiteLLM v1.82.3 to see if the restriction on editing budgets for existing virtual keys is a new feature or a bug.
  • Test the budget modification functionality with a newly created virtual key to confirm if the issue is specific to existing keys.
  • Check if there are any specific error messages or codes in the UI or logs that could provide more insight into the cause of the error.
  • Consider reaching out to the LiteLLM support team or community forums to report the issue and gather more information.

Notes

The issue may be related to a recent change in the LiteLLM version, and verifying the release notes and testing with a new virtual key can help determine if it's an intended behavior or a bug.

Recommendation

Apply workaround: Try creating a new virtual key and setting its budget to verify if the issue is specific to existing keys, and report the issue to the LiteLLM support team if the problem persists.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

litellm - 💡(How to fix) Fix [Bug]: Unable to update budget on a virtual-key [1 participants]