AI Proxy Advanced

AI License Required

Route by model aliasv3.14+

{new_in 3.14} Use model_alias to map client-facing model names to upstream provider models. Clients send a logical name like powerful or fast in the model field, and the plugin routes to the matching target.

Prerequisites

  • OpenAI account

Environment variables

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

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!