diff --git a/litellm/proxy/common_utils/reset_budget_job.py b/litellm/proxy/common_utils/reset_budget_job.py index 6f038d127f6..c63309da1dc 100644 --- a/litellm/proxy/common_utils/reset_budget_job.py +++ b/litellm/proxy/common_utils/reset_budget_job.py @@ -95,11 +95,13 @@ class ResetBudgetJob: where={ "budget_id": {"in": budget_ids}, "budget_duration": None, # only keys without their own reset schedule + "spend": {"gt": 0}, # only reset keys that have accumulated spend }, data={ "spend": 0, }, ) + ) async def reset_budget_for_litellm_budget_table(self): """