Adaptive Routing

Drover Gateway intelligently routes requests based on multiple real-time signals.

Routing Strategies

  • Latency-aware — Sends to the fastest available provider
  • Cost-aware — Routes to cheapest model that meets quality thresholds
  • Failover — Automatic fallback on errors or rate limits
  • Load balancing — Weighted distribution across keys/instances
  • Custom rules — Model prefix, user, or team-based routing

Configuration

Go to Adaptive Routing in the sidebar to create rules.

Example Rule:

  • If model contains claude and latency > 800ms → fallback to OpenAI
  • If budget exhausted on primary key → route to secondary key