API usage billing for SaaS application products

Understand it. So usually developer limit the token usage for each user who’s using the service. Is there any best way, I can learn and understand a efficient way to do such thing when you’ve thousands of clients who’s using this service? Any better approach to follow.