Using Router
Last updated
Was this helpful?
Last updated
Was this helpful?
LangDB AI Gateway provides an intuitive user interface (UI) to configure and manage routing strategies. Through the UI, users can set up model routing dynamically, ensuring requests are directed efficiently based on cost, speed, and performance.
Let's create a router for routing based Let's create a TTFT-Based Router, which optimizes request handling by directing traffic to the model with the lowest TTFT. This ensures the fastest initial response, making it ideal for real-time applications like chatbots.
Select type: Optimized
Select metric: TTFT
Select Target Models and Parameters