RoutingStrategy

Strategy that governs how the router selects models.

Usage

Source

RoutingStrategy

Attributes

COST_OPTIMIZED

Prefer the cheapest model that meets requirements.

QUALITY_OPTIMIZED

Prefer the most capable model available.

LOCAL_FIRST

Prefer local models; fall back to cloud only when capabilities are missing.

BALANCED
Balance cost and quality, preferring mid-tier models.