Everything *[NYC] 2026: see what we announced. →
Skip to content

AI gateway definition

An AI gateway is a service that sits between an application and multiple AI model providers, exposing one API endpoint and one account for models from many vendors. The application authenticates to the gateway once, and the gateway holds the provider credentials, routes each request, handles failover, and logs usage.


A diagram explaining AI gateway in terms of related concepts.

What does an AI gateway actually do?

How is an AI gateway different from an API gateway?

What happens to a request inside an AI gateway?

What are the trade-offs of using an AI gateway?

When does an AI gateway matter most?

Unlock New Possibilities with Sanity

With AI gateway under your belt, it's time to see what Sanity can do for you. Explore our features and tools to take your content to the next level.

Last updated: