How do you implement rate limiting and throttling for LLM APIs?

Technical