LLM Model Routing
Create a routing endpoint
Configure the serving name, routing strategy and destinations clients will use.
Build the route set
Choose the mode, add healthy destinations and define priority. Intent mode also needs a classifier and a default route.
In Smart Balancers, select Create Smart Balancer. Choose the workload, configure destination groups and a routing mode, review the configuration and create it. The available options depend on the workload.
Test before enabling
Call the endpoint with representative prompts and confirm the selected route, latency and fallback behavior before directing production traffic to it.
API example
After creating the router, list the configuration and check its name, routes and status.
Set QDIV0_USER_API_KEY to a personal uk_ key. The default account is used; for another account you belong to, add its identifier in the X-Account-ID header.
1curl --fail-with-body \
2 "https://api.qdiv0.com/v1/smart-balancers" \
3 -H "Authorization: Bearer $QDIV0_USER_API_KEY"