Skip to content

Glossary: LLMs in Production

Model gateway

Also written: gateway

The one place in your code that talks to model providers, so retries, fallbacks, caching, timing and cost tracking are written once. No other code calls an SDK directly.

Where the book teaches it

Related terms

API layerSDKLiteLLM