AI Infra Interviews logo
← AI Infrastructure System Design / 29
mediumDatabricksSnowflake

Design an internal LLM gateway for a company: routing across providers and models, caching, fallbacks, and cost controls.

Define model aliases, permission-aware routing, response reuse and bounded retries. Trace a request whose cached answer becomes invalid after its source permissions change.

Updated Sep 2026 · Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.

Define model aliases, permission-aware routing, response reuse and bounded retries. Trace a request whose cached answer becomes invalid after its source permissions change.

The full answer is part of Premium. A free account includes more answers in each topic, but does not unlock this one.

20 answers per topic instead of 10, plus saved progress and bookmarks · no cardor unlock all 316 remaining answers · ₹2,000 / $25
UP NEXT ON YOUR JOURNEY
FEDITOR'S NOTE

Explain which guarantees the gateway enforces before choosing a provider. A cache key, fallback and degraded mode must preserve those guarantees.

DISCUSSION · 0

No comments yet — be the first to share your approach.