AI Rate Limiting Advanced

AI License Required

Request prompt function with Azure Managed Redis instance authv3.7+

Protect your LLM services with rate limiting and Azure Managed Redis instance auth. The AI Rate Limiting Advanced plugin will analyze query costs and token response to provide an enterprise-grade rate limiting strategy.

The following example uses request prompt rate limiting, which lets you you rate limit requests based on a custom token. See the how-to guide for a step-by-step walkthrough.

Prerequisites

Environment variables

  • INSTANCE_ADDRESS: The Azure Managed Redis instance address.

  • INSTANCE_USERNAME: The object (principal) ID of the Principal/Identity with essential access.

  • AZURE_CLIENT_ID: The client ID of the Principal/Identity.

  • AZURE_CLIENT_SECRET: (Optional) The tenant ID of the Principal/Identity.

  • AZURE_TENANT_ID: (Optional) The tenant ID of the Principal/Identity.

Set up the plugin

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!