Models
Use models in LLM Model Routing
Combine ready-to-use models and QDivZero deployments behind one routing endpoint.
Route destination
Select a catalog model as a destination when a route should use metered inference without provisioning capacity.
Intent classifier
A small ready-to-use model can classify prompts before QDivZero selects the destination. Keep classifier instructions short and route intents distinct.
API example
Replace my-router with your routing endpoint serving name and send a request.
Set QDIV0_API_KEY to an account tk_ key or personal uk_ key. A personal key uses its default account unless you select another with X-Account-ID.
api-example.sh
1curl --fail-with-body \
2 --request POST \
3 "https://api.qdiv0.com/v1/chat/completions" \
4 -H "Authorization: Bearer $QDIV0_API_KEY" \
5 -H "Content-Type: application/json" \
6 --data '{"model":"my-router","messages":[{"role":"user","content":"Hello"}]}'