RoutePlex supports two routing modes: automatic and manual.
RoutePlex AI Mode (Recommended)
Let our intelligent router select the optimal model automatically. By default, RoutePlex analyzes your prompt — detecting intent, complexity, and domain — to pick the best model for each request. No strategy parameter needed.
json
{
"mode": "routeplex-ai"
}You can optionally override auto-routing with a specific strategy:
| Strategy | Optimizes For | Best For |
|---|---|---|
| (omitted) | Prompt-based auto-routing | Most requests (default) |
cost | Lowest cost | High-volume, simple tasks |
speed | Lowest latency | Real-time applications |
quality | Best output | Complex reasoning, coding |
balanced | Cost/quality balance | Fixed weight trade-off |
Manual Mode
Specify the exact model you want to use. Full control over model selection.
json
{
"mode": "manual",
"model": "gpt-4o"
}