What is an AI Gateway?
An AI Gateway operates similarly to a traditional API Gateway: it handles requests, performs authentication and routing, and ensures logging and security. The main difference, however, lies in the endpoints where the traffic is directed. Instead of a classic API as the destination, this is now an LLM such as GPT, Claude, or a self-trained language model.
The AI Gateway acts as an intelligent proxy between users and an LLM. Users send a prompt to the gateway, which then forwards it to the LLM, which generates a response. This process is fully configurable: you can determine, for example, which prompt templates are used, how authorization works, and which datasets are available for the LLM.