Index Ai Academy
Glossary · Phase 1 · Building with LLMs

Model gateway

Also written: LLM gateway, AI gateway

The one place an app sends model requests through, which picks a provider for each request and falls back to another when one fails.

Try it now

Format differences belong in adapters, provider choice in the gateway, and quality differences in your evals.

Learn it properly

One app, several model providers · Two API formats side by side, adapters to one internal format, a gateway with fallbacks, and evals before switching. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write