LLM routing & fallback
Route by cost, latency or quality — and fail over automatically.
INRENT ranks eligible providers for each request using your routing policy, skips unhealthy endpoints and retries on the next provider when one fails.
Policies
Balanced, lowest cost, lowest latency or best quality — per organization or per request.
Fallback before the first byte
Streaming requests can still fail over until the first chunk is sent to you.
Health-aware
Circuit breakers and health checks remove failing providers from rotation quickly.
Explainable
Each request log stores the candidates, attempts and the reason a provider was chosen or skipped.
chat.completions
curl https://api.inrent.ai/v1/chat/completions \
-H "Authorization: Bearer $INRENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "inrent/auto",
"messages": [
{ "role": "user", "content": "Hello" }
]
}'FAQ
Common questions
- Can I pin a provider?
- Yes — set inrent.providers.order, only or ignore on the request, or disable fallbacks with allow_fallbacks: false.
- What is inrent/auto?
- A virtual model that chooses among eligible chat models using your routing policy.