LLM Model Routing
Choose a routing mode
Select intent routing when content matters and ordered routing when availability and priority matter.
Intent mode
Use clear, non-overlapping route descriptions and a fast classifier. Include a general default route for prompts that do not match a specialised intent.
Ordered mode
Put the preferred destination first and define explicit fallbacks. QDivZero advances only when the current destination cannot serve the request.
API example
Inspect routing_mode and routes for the account Smart Balancers.
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"