Provider Routing Strategies
Provider Routing Strategies Overview
Available Strategies
Provider Object Parameters
Parameter
Description
1. Explicit Provider Priority: order
order2. Enable Fallbacks: allow_fallbacks
allow_fallbacks3. Restrict to Specific Providers: only
only4. Exclude Specific Providers: ignore
ignore5. Automatically Sort Providers: sort
sortExample: Sort by price
Example: Sort by throughput
Example: Sort by latency
Sorting Slugs: Sorting Via Model Suffix
Example: :throughput (Throughput prioritized)
:throughput (Throughput prioritized)Example: :price (Lowest price prioritized)
:price (Lowest price prioritized)6. Strict Parameter Support: require_parameters
require_parametersLast updated
