AI Rate Limiting Advanced Policy

Enable LLM model rate limiting

Protect your LLM services with model rate limiting. The AI Rate Limiting Advanced Policy analyzes query costs and token responses to provide an enterprise-grade rate limiting strategy.

The following example uses GPT 5.1, but you can apply the same strategies to any LLM model.

Prerequisites

Set up the policy

Attach the policy

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!