Skip to content

docs(proxy): document team member spend reset in the UI and late budget edge case - #1548

Merged
ryan-crabbe-berri merged 1 commit into
mainfrom
litellm_docs_team_member_reset_spend
Sep 18, 2026
Merged

ryan-crabbe-berri merged 1 commit into
mainfrom
litellm_docs_team_member_reset_spend

Conversation

@ryan-crabbe-berri

Copy link
Copy Markdown
Contributor

Summary

Documents behaviour and UI from BerriAI/litellm#41349 and should merge after it

That PR tracks per-member spend for every team member, including members with no budget, and adds a "Reset spend" action to the Members tab of a team in the Admin UI. A side effect of tracking everyone is that a member with no budget has no budget window, so their current cycle spend keeps growing, and it counts against a budget the moment an admin adds one later. A member who spent $500 with no budget and then gets a $100 member budget is blocked on their next request

In docs/proxy/users.md, the "Reset a team member's spend" section now has UI and API tabs. The UI tab lists the click path (Teams, open the team, Members tab, the "Reset spend" icon in the Actions column, then "Reset" in the "Reset Team Member Spend" dialog) and says when the icon is shown. The API tab keeps the existing curl and response and adds the reset_to lower bound plus the 403 (a team admin resetting their own spend) and 404 (no membership row) cases. The section also says that the reset only touches current cycle spend, that org admins can call it, that it applies on the next request on every proxy instance, and that there is no bulk version

A new subsection, "Existing spend counts against a budget added later", explains the difference between Current Cycle Spend and Total Spend, walks through the $500 / $100 example for both team_member_budget on /team/update and max_budget_in_team on /team/member_update, and gives the two ways out: wait for the budget_duration reset, or reset the member's spend in the UI or through the API. "Update a team member's budget" on the same page and "Team Member Budgets" in docs/proxy/self_serve.md each get a short note linking to it

#1491 edits nearby paragraphs in the same two sections. The hunks do not overlap, so either PR can merge first

Checks

npm run lint:writing and npm run lint:docs both pass. The two touched pages also compile with @mdx-js/mdx plus remark-directive. I did not run the full npm run build

Linear ticket

Refs LIT-7030

…et edge case

Add the Admin UI steps for resetting a team member's spend next to the existing curl, and spell out who can call it, the reset_to limits, and the 403 and 404 cases

Add a subsection explaining that spend accrued by a member with no budget counts against a budget that is added later, with the two ways to unblock the member, and link to it from the team member budget sections
@vercel

vercel Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
litellm Ready Ready Preview Sep 18, 2026 7:25pm UTC

Request Review

@ryan-crabbe-berri
ryan-crabbe-berri merged commit c20f1ee into main Sep 18, 2026
4 checks passed
@ryan-crabbe-berri
ryan-crabbe-berri deleted the litellm_docs_team_member_reset_spend branch September 18, 2026 20:18

This branch was previously deployed

1 inactive deployment
Preview — 2e1d58d2 Deployed Sep 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant