Page MenuHomePhabricator

Implement per-user and per-day token budgeting
Closed, ResolvedPublic

Description

Per-user/IP throttling via MediaWiki's pingLimiter, plus a daily token budget will help in saving LLM usage costs for users with a tight budget.

Details

Event Timeline

Thank you for tagging this task with good first task for Wikimedia newcomers!

Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.

A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly point to the codebase URL and provide clear steps to help a contributor get set up for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !

Thank you for helping us drive new contributions to our projects <3

Techwizzie triaged this task as Medium priority.Jun 28 2026, 4:32 AM

Change #1306090 had a related patch set uploaded (by NehaP1706; author: NehaP1706):

[mediawiki/extensions/Wanda@master] Daily IP-User Token Budgeting + Throttling

https://gerrit.wikimedia.org/r/1306090

Thanks for the great patch @NehaP1706 ! Pls update the documentation at mediawiki.org too by adding the sections on rate limiting and budgeting configuration.

Change #1306090 merged by jenkins-bot:

[mediawiki/extensions/Wanda@master] Daily IP-User Token Budgeting + Throttling

https://gerrit.wikimedia.org/r/1306090