Usage Meter
TsgcAIUsageMeter counts the tokens of every request your application sends to a language model and turns them into money. Assign it to TsgcAIChat.UsageMeter, give it a price list and a budget, and a user who reaches the budget is refused before the next request is sent.