← AI Architecture Patterns
Core

Model Gateway and Routing: One Front Door for Every Model Call

A model gateway is a single internal service that every model call passes through, handling routing, fallback, budgets, logging, caching and policy. Routing sends each request to the most suitable model by task, difficulty, region or cost. This guide covers gateway functions, routing strategies and their evaluation, and the risks.

CONCEPT / AI ARCHITECTURE PATTERNS

Free account

Read this concept with a free account

Read this concept at no cost by signing in with Google.

no card needed
RELATED CONCEPTS
PRACTISE THIS CONCEPT