routing
Configure provider routing strategies for API calls, selecting between cost optimization, speed, quality, or balanced approaches with customizable quality thresholds.
Instructions
Get or set your provider routing strategy. Strategies: cheapest (lowest cost above quality floor), fastest (healthiest circuits), highest_quality (highest AN score), balanced (weighted mix). Quality floor filters out low-quality providers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Action: 'get' to check strategy, 'set' to update | |
| strategy | No | Strategy: cheapest, fastest, highest_quality, balanced | |
| quality_floor | No | Minimum AN score (0-10, default 6.0) | |
| max_cost_per_call_usd | No | Maximum cost per call in USD |