LLM routing by task
The AI Stupid Level Smart Router routes LLM requests by task in two ways. Name the task with a mode such as auto-coding, or send auto-task and each request is read on its own and ranked on the benchmark board for its kind of work. The suites behind the boards are the same coding, reasoning and tool-use tasks for every model, on a fixed schedule: coding every four hours, reasoning and tool use daily, with an hourly canary probe.
1,000 routed requests a month free · your own provider keys · no card
01
Either your code names the task, or the router reads it from the request. Both ways, the request is ranked on the board for that kind of work, among the models your provider keys reach.
auto-coding for code, auto-reasoning for analysis and planning, auto-tooling for agents that call tools. A mode that names a board is used as sent, whatever the request contains.auto-task and the router picks the board per request, from the six rules below. Match each request in Preferences turns the same matching on for Best overall and Best value, so for auto-best, auto-value, and auto when either is your saved strategy. It is off until you turn it on.02
Six rules, tried in order. They read what the request already carries: its tools, its latest message and the length of the conversation.
| Rule | What it looks for | Ranked on |
|---|---|---|
Tools that work on code tools_code | Tools offered, at least two of them for files, code or a terminal (read, edit, grep, bash and the like). | Coding |
Tools tools | Any other request that offers tools. | Tool use |
Long session long_session | A conversation already eight or more messages long when it first reaches the router. | Reasoning |
Design and planning planning | Architecture, system design, trade-offs, a migration plan, a roadmap, a step-by-step plan. | Reasoning |
Code code | A code block, code syntax, or two or more programming terms in the latest message. | Coding |
Anything else general | Questions, writing, summaries and the rest of everyday work. | Combined |
read_file, apply_diff, execute_command, bash or grep, rank it on Coding, and any other tool set on Tool use. The text is read when no tools are offered.03
Each of these modes names a task and ranks on the board that tests it.
auto-codingauto-reasoningauto-toolingauto-bestauto-value-codingauto-value-reasoning and auto-value-tooling, the value version of each board: within 5 points of the top score, the most points per dollar of one run of that suite. LLM cost routing.Your exclusions, maximum price and maximum response time are applied before a mode ranks anything. Every mode and its rule is on the Smart Router page.
04
The live router’s own picks for an example caller who holds a key for every provider. They follow the boards.
| Mode | Ranks on | Sends the request to |
|---|---|---|
auto-best | The Combined board: coding 50%, reasoning 25%, tool use 25%. | Claude Opus 5.5 · Anthropic |
auto-coding | The Coding board: repository bug fixes graded by the project’s own tests. | Claude Opus 5.5 · Anthropic |
auto-reasoning | The Reasoning board: long, multi-turn working sessions. | GPT-6.1 Sol · OpenAI |
auto-tooling | The Tool use board: sandboxed agent tasks with real tools. | Claude Sonnet 5.5 · Anthropic |
auto-value | Within 5 points of the best Combined score, the most points per dollar of a scored run. | GLM-5.3 · Z.ai |
auto-fastest-quality | Within 5 points of the best Combined score, the lowest median response time, compared on at least 21 runs; response times within 10% of each other count as equal, and the higher score decides. When fewer than half of these models have 21 runs, they are ordered by score. | Claude Sonnet 5.5 · Anthropic |
auto-fastest | The lowest response time outright. | Gemini 3.5 Flash Lite · Google |
auto-cheapest | The lowest list price per token. | GPT-6 Luna · OpenAI |
As of 26 Nov 2026, 11:23 UTC · the router’s own picks for an example caller with keys for all 6 providers
05
Every answer says how it was routed. The request below asks for a migration plan, so it matches the planning rule and ranks on Reasoning. The headers shown are those of an account on default settings.
curl -i https://aistupidlevel.info/v1/chat/completions \ -H "Authorization: Bearer aism_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "model": "auto-task", "messages": [{"role": "user", "content": "Write a migration plan for moving our billing tables to a multi-tenant schema"}] }' # Response headers # X-AISM-Request-Kind: planning # X-AISM-Benchmark: reasoning # X-AISM-Strategy: best_reasoning # X-AISM-Strategy-Source: request # X-AISM-Model: <the model that answered>
X-AISM-Request-Kindtools_code, tools, long_session, planning, code or general.X-AISM-Benchmarkoverall, coding, reasoning or tool_use.X-AISM-Strategybest_reasoning. X-AISM-Strategy-Source says where it came from: request for the mode the request named, preferences for your saved strategy.X-AISM-ReasoningX-AISM-Model and X-AISM-Provider name what answered.POST /v1/route/preview takes the same body and returns the decision with nothing called or counted. The X-ASL-Sandbox: true header returns a mock answer through the real routing, before you add a provider key. Every header is in the router documentation.
06
X-AISM-Conversation says what happened. Model switching in the docs.Each tool’s guide says which mode fits it: Cline, Cursor, LangChain and n8n, with the rest on the integrations hub. Related guides:
07
Point an OpenAI-compatible client at https://aistupidlevel.info/v1 and send the task as the model name. With the AI Stupid Level Smart Router, auto-coding ranks the request on the Coding board, auto-reasoning on Reasoning and auto-tooling on Tool use, and auto-task reads each request and picks the board itself. The suites behind the boards are the same tasks for every model, on a fixed schedule: coding every four hours, reasoning and tool use daily, with an hourly canary probe.
Task-based routing sends each request to a model chosen for its kind of work, instead of sending everything to one model name. The Smart Router recognises the task from six fixed rules over the request’s tools, its latest message and the length of the conversation, and ranks the request on a benchmark board for that task. What an AI router is covers the other signals routers choose by.
A coding agent’s requests offer tools for files, code and a terminal, so auto-task ranks them on Coding with no extra setting. Model routing for coding agents has the modes and the settings for each tool.
The one whose routing signal you can check. Ask what decides the model for each request, whether the response says which rule and which model were used, whose keys pay for the tokens, and what happens when a provider fails. The Smart Router names the rule, the model and any fallback in its response headers, and sends every request with your own keys. Best AI routers in 2026 sets the main options side by side, each described from its vendor’s own pages.
Free includes 1,000 routed requests a month on every provider and every mode, with your own provider keys and no card.
1,000 routed requests a month free · your own provider keys · no card
Coding, Reasoning, Tool use and Combined, over 24 hours, 7 days and 30 days.
Already have an account? Log in