Traffic Routing Strategies

AVAILABLE

Naagmani supports versatile routing policies tailored to specific organizational goals.


Routing Modes #

StrategyDescriptionBest For
Lowest CostAutomatically selects the cheapest model capable of handling the prompt context.Batch processing, ETL classification.
Lowest LatencyDispatches to the provider with the fastest recent TTFT (Time To First Token).Real-time chat, autocomplete.
Priority FallbackTries primary provider first, cascading sequentially down fallback list.Enterprise reliability.
Weighted Round-RobinDistributes load proportionately across multiple keys or providers (e.g. 70/30 split).Canary testing, A/B model evaluations.

Configure policies in the Portal:


Next Steps #