Routers
Auto
Picks a strong model for the request from its structure: coding agents get the code list, a low cost tier starts from the cheap list, everything else takes smart.
Call itExamples read your key from MINIROUTER_KEY.
curl https://api.minirouter.sh/v1/chat/completions \
-H "Authorization: Bearer $MINIROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minirouter/auto",
"messages": [
{
"role": "user",
"content": "Explain an API gateway in one sentence."
}
],
"max_tokens": 256
}'How it picksAllowed on your key, within your cost tier, healthy, and able to take the request.
The request shape chooses the list. Only that list is walked.
- Default
- Auto Smart
- Tools
- Auto Code
- Low cost tier
- Auto Cheap
Live availability: Auto models.
Pricing
- PriceNamed in
x-minirouter-model. You pay for the model that answered.Provider cost plus 8%. - BoundThe dearest model in the list, at this router's rate.At most $2.16 in and $10.80 out per million tokens.
Notes
The default router. Full guide: Auto router.