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/fusion:cheap",
"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.
A classifier labels the request. The label picks the list, best first.
| Label | Models |
|---|
| Code · Simple | deepseek/deepseek-v4.1-flash-1017 none, anthropic/claude-haiku-5.5 low, minimax/minimax-m3.1-flash |
|---|
| Code · Everyday | deepseek/deepseek-v4.1-flash-1017 max, anthropic/claude-haiku-5.5 medium, minimax/minimax-m3.1-flash |
|---|
| Code · Complex | deepseek/deepseek-v4.1-flash-1017 max, meta/muse-ember xhigh, openai/gpt-6.1-terra medium |
|---|
| Code · Expert | openai/gpt-6.1-terra high, anthropic/claude-sonnet-5.5 high, meta/muse-wonder-1.0 high |
|---|
| Reasoning · Simple | deepseek/deepseek-v4.1-flash-1017 none, anthropic/claude-haiku-5.5 low, minimax/minimax-m3.1-flash |
|---|
| Reasoning · Everyday | deepseek/deepseek-v4.1-flash-1017 max, anthropic/claude-haiku-5.5 medium, minimax/minimax-m3.1-flash |
|---|
| Reasoning · Complex | deepseek/deepseek-v4.1-flash-1017 max, meta/muse-ember xhigh, openai/gpt-6.1-terra medium |
|---|
| Reasoning · Expert | openai/gpt-6.1-terra high, anthropic/claude-sonnet-5.5 high, google/gemini-4-argon high |
|---|
| Writing · Simple | deepseek/deepseek-v4.1-flash-1017 none, anthropic/claude-haiku-5.5 low, minimax/minimax-m3.1-flash |
|---|
| Writing · Everyday | deepseek/deepseek-v4.1-flash-1017 max, anthropic/claude-haiku-5.5 medium, minimax/minimax-m3.1-flash |
|---|
| Writing · Complex | deepseek/deepseek-v4.1-flash-1017 max, meta/muse-ember xhigh, openai/gpt-6.1-terra medium |
|---|
| Writing · Expert | openai/gpt-6.1-sol medium, anthropic/claude-sonnet-5.5 high, deepseek/deepseek-v4.1-flash-1017 max |
|---|
| Conversation · Simple | deepseek/deepseek-v4.1-flash-1017 none, anthropic/claude-haiku-5.5 low, meta/muse-ember xhigh |
|---|
| Conversation · Everyday | meta/muse-ember xhigh, google/gemini-3.8-flash low, openai/gpt-6.1-terra none |
|---|
| Conversation · Complex | meta/muse-ember xhigh, openai/gpt-6.1-terra medium, anthropic/claude-fable-5.1 low |
|---|
| Conversation · Expert | openai/gpt-6.1-sol medium, anthropic/claude-fable-5.1 medium, deepseek/deepseek-v4.1-flash-1017 none |
|---|
| No label | meta/muse-ember xhigh, google/gemini-3.8-flash low, openai/gpt-6.1-terra noneUsed when the classifier cannot answer. |
|---|
Live availability: Auto models.
Pricing
PriceNamed in x-minirouter-model. You pay for the model that answered.Provider cost plus 10%. BoundThe dearest model in the list, at this router's rate.At most $11.00 in and $55.00 out per million tokens.