Load balancing: Consistent-hashingv3.8+

Configure the plugin to use two OpenAI models and route requests based on the custom X-Hashing-Header header.

Prerequisites

  • An OpenAI account

Environment variables

  • OPENAI_API_KEY: The API key to use to connect to OpenAI.

Set up the plugin

Something wrong?

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!