Router-Gateway is an AI architecture pattern where a single entrypoint (gateway) receives all requests and a router decides which downstream model, tool, or service should handle each one. The router can use rules, heuristics, or another model to classify intent, risk, latency/cost needs, and required capabilities. This enables multi-model orchestration, cost optimization, and safer handling of diverse workloads behind a unified API. It is especially useful when different tasks require different models, modalities, or infrastructure tiers.
Router / Gateway Pattern is a technique within Retrieval Systems. Showing solutions from the parent pattern.
No solutions found for this pattern.
Browse all patterns