Let the gateway pick

Send minirouter/auto and the gateway picks the model. The x-minirouter-model header names the one that answered.

Paid Auto · uses credits
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":"ping"}]}'
# x-minirouter-model: <the model that answered>

How the pick is made

  1. 1

    IntentAdd a suffix to choose a list yourself: :cheap, :code, :roleplay. Only the request shape is read, never the prompt.

    Bare Auto is Smart. Tools or structured output select Code.

  2. 2

    Walk the listEach list is hand-ordered and changes only by a reviewed code change. Not combinable with your own providerOptions.gateway.models fallback list.

    Best first, in the order shown below.

  3. 3

    Skip what failsTools, structured output and long prompts can push a candidate over the price bound for your exact request.

    Catalog, allowlist, cost tier, route health, price bound.

  4. 4

    AnswerOne worst-case hold covers the eligible set. A failure before output tries the next candidate on Chat Completions and Responses.

    The first pass answers. x-minirouter-model names it.

Nothing passes: 503 auto_unresolvable, uncharged.

Current candidates

Platform availability before your account rules and request shape apply.

Raw table: /api/v1/auto · refreshed every minute

AutoDefault

minirouter/autoDocs →

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.Prices include the total 8% routing markup over provider cost.

Auto Cheap

minirouter/auto:cheapDocs →

The least expensive model that still answers well.Prices include the total 8% routing markup over provider cost.

#ModelInput $/MOutput $/MContextProvidersStatus
1xiaomi/mimo-v2.5$0.151$0.3021.1MvercelFirst available
2xiaomi/mimo-v2.5-pro$0.47$0.941.1MvercelNext in line
3tencent/hy3$0.151$0.626262KvercelNext in line
4deepseek/deepseek-v4-flash-0731$0.082$0.1651MvercelNext in line
5zai/glm-5.3-flash$0.162$0.541MvercelNext in line

Auto Code

minirouter/auto:codeDocs →

A model with dependable tool calling and long context for coding agents.Prices include the total 8% routing markup over provider cost.

#ModelInput $/MOutput $/MContextProvidersStatus
1zai/glm-5.3-flash$0.162$0.541MvercelFirst available
2openai/gpt-6-sol$2.16$10.801.1MvercelNext in line
3spacexai/grok-4.6$2.16$6.48500KvercelNext in line
4google/gemini-3.8-flash$0.81$4.051MvercelNext in line
5openai/gpt-6-luna$0.108$0.541.1MvercelNext in line

Auto Roleplay

minirouter/auto:roleplayDocs →

A high-intelligence, long-context model with low input cost for repeatedly sent conversations.Prices include the total 8% routing markup over provider cost.

#ModelInput $/MOutput $/MContextProvidersStatus
1zai/glm-5.3-flash$0.162$0.541MvercelFirst available
2openai/gpt-6-luna$0.108$0.541.1MvercelNext in line
3deepseek/deepseek-v4-flash-0731$0.082$0.1651MvercelNext in line
4google/gemini-3.8-flash$0.81$4.051MvercelNext in line

Auto Smart

minirouter/auto:smartDocs →

A strong general-purpose model at a mid-range price.Prices include the total 8% routing markup over provider cost.

#ModelInput $/MOutput $/MContextProvidersStatus
1zai/glm-5.3-flash$0.162$0.541MvercelFirst available
2openai/gpt-6-sol$2.16$10.801.1MvercelNext in line
3spacexai/grok-4.6$2.16$6.48500KvercelNext in line
4google/gemini-3.8-flash$0.81$4.051MvercelNext in line
5openai/gpt-6-luna$0.108$0.541.1MvercelNext in line

FusionA classifier labels the request. The label picks the model and reasoning effort. Only this ID reads your request.

Reads the request: a classifier (TypeSafe Jev) labels its task type and complexity, and that label picks the model and reasoning effort.Prices include the total 10% routing markup over provider cost.

How Fusion picks
minirouter/fusion
No labelUsed when the classifier cannot answer.
openai/gpt-6-astramediumdeepseek/deepseek-v4.1-flashmaxanthropic/claude-opus-5.5low
ModelInput $/MOutput $/MContextProvidersStatus
zai/glm-5.3-flash$0.165$0.551MvercelAvailable
deepseek/deepseek-v4-pro-0813$0.726$2.181MvercelAvailable
google/gemini-3.8-flash$0.825$4.131MvercelAvailable
spacexai/grok-4.6$2.20$6.60500KvercelAvailable
anthropic/claude-fable-5.1$11.00$55.001MvercelAvailable
openai/gpt-6-astra$11.00$55.001.1MvercelAvailable
xiaomi/mimo-v2.6-pro$0.478$0.9571MvercelAvailable
stepfun/step-5-preview$1.10$2.971MvercelAvailable
anthropic/claude-opus-5.5$4.40$22.001MvercelAvailable
deepseek/deepseek-v4.1-flash$0.33$1.321MvercelAvailable

Fusion CheapA classifier labels the request. The label picks the model and reasoning effort. Only this ID reads your request.

Fusion Cheap: the classifier selects a model and effort from the published price-quality frontier.Prices include the total 10% routing markup over provider cost.

How Fusion Cheap picks
minirouter/fusion:cheap
No labelUsed when the classifier cannot answer.
deepseek/deepseek-v4.1-flashmaxspacexai/grok-4.6lowopenai/gpt-5.6-terramedium
ModelInput $/MOutput $/MContextProvidersStatus
inclusionai/ling-3.0-flash$0.023$0.069256KvercelAvailable
zai/glm-5.3-flash$0.165$0.551MvercelAvailable
tencent/hy3$0.154$0.638262KvercelAvailable
minimax/minimax-m3$0.33$1.32512KvercelAvailable
deepseek/deepseek-v4-pro-0813$0.726$2.181MvercelAvailable
google/gemini-3.8-flash$0.825$4.131MvercelAvailable
spacexai/grok-4.6$2.20$6.60500KvercelAvailable
xiaomi/mimo-v2.6-flash$0.154$0.3081MvercelAvailable
deepseek/deepseek-v4.1-flash$0.33$1.321MvercelAvailable
xiaomi/mimo-v2.6-pro$0.478$0.9571MvercelAvailable
meta/muse-spark-1.3$1.38$4.681MvercelAvailable
anthropic/claude-opus-5.5$4.40$22.001MvercelAvailable
openai/gpt-6-astra$11.00$55.001.1MvercelAvailable
openai/gpt-5.6-terra$2.20$13.201.1MvercelAvailable
amazon/nova-micro$0.039$0.154128KvercelAvailable

Fusion MaxA classifier labels the request. The label picks the model and reasoning effort. Only this ID reads your request.

Fusion Max: the classifier selects a model and effort from the published price-quality frontier.Prices include the total 10% routing markup over provider cost.

How Fusion Max picks
minirouter/fusion:max
No labelUsed when the classifier cannot answer.
openai/gpt-6-astramediumanthropic/claude-opus-5.5lowgoogle/gemini-3.8-flashhigh
ModelInput $/MOutput $/MContextProvidersStatus
anthropic/claude-fable-5.1$11.00$55.001MvercelAvailable
spacexai/grok-4.6$2.20$6.60500KvercelAvailable
openai/gpt-6-astra$11.00$55.001.1MvercelAvailable
anthropic/claude-opus-5.5$4.40$22.001MvercelAvailable
xiaomi/mimo-v2.6-pro$0.478$0.9571MvercelAvailable
google/gemini-3.8-flash$0.825$4.131MvercelAvailable

Your account rules

Set once on Routing. Every key on the account follows them.

Open Routing

Cost tierCaps the output price per million tokens of any candidate Auto may pick. Not a request budget. An explicit intent keeps its list under the same cap.

  1. Low

    $1

    per M output tokens

    Bare Auto starts from Cheap.

  2. Medium

    $5

    per M output tokens

    Bare Auto starts from Smart.

  3. High

    No cap

    the default

    Bare Auto starts from Smart.

  • Allowed modelsApplies to requests that name a model too. Adding a model here does not add it to Auto's lists.

    Exact IDs or openai/*. Keys can narrow it, requests cannot widen it.

  • Prevent overridesResponds with x-minirouter-overrides: ignored. Allowed models and the cost tier apply either way.

    Ignores a request’s providerOptions.gateway.

  • Provider sortA sort set on the request wins unless Prevent overrides is on.

    Balanced, price, latency or throughput. Orders providers, not models.

  • Default modelAuto, an intent, or any catalog model. A model named on the request is left as sent. Dashboard chat uses its own picker.

    What integration keys get when model is omitted.