Coding agents
A coding agent’s requests look alike: a long conversation, tools for files and a terminal, one more step to take. The AI Stupid Level Smart Router ranks those requests on its coding and tool-use boards, keeps an agent loop on the model that started it, and falls back when a provider fails. 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.
1,000 routed requests a month free · your own provider keys · no card
01
By its tools. The rules run inside the request, with no extra model call.
auto-task, or Match each request on, a request that offers at least two tools for files, code or a terminal is ranked on the Coding board. Tool names such as read_file, apply_diff, execute_command, bash, edit and grep count. A weather or email tool does not.X-AISM-Request-Kind names the rule that matched. All six rules.02
The mode goes where the agent asks for a model name.
auto-codingauto-toolingauto-value-codingauto-task03
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:24 UTC · the router’s own picks for an example caller with keys for all 6 providers
04
An agent resends the whole conversation at every step. The router keeps what the provider needs to see again.
05
tool_choice required, or a named function, works on every model: natively where the provider enforces it, otherwise asked for and checked. The answer is a tool call or a 502 tool_choice_not_honoured, not prose.reasoning_effort takes none to max with any model. The router maps it to the nearest level the chosen model supports.06
Each guide has the exact settings to paste.
| Tool | Connects through | Model to send |
|---|---|---|
| Cline, Kilo Code and Roo Code | The OpenAI Compatible provider, with the base URL and your router key. | auto-coding, or auto-tooling for long agent sessions. |
| Aider | OPENAI_API_BASE and OPENAI_API_KEY in the shell. | openai/auto-coding, as the --model flag. |
| OpenCode | A custom OpenAI-compatible provider in opencode.json, or one click with CC Switch. | aistupidlevel/auto-coding, or auto-tooling for sessions that call many tools. |
| Continue | A model block in ~/.continue/config.yaml, with provider openai and apiBase. | auto-coding, for the chat, edit and apply roles. |
| Cursor | Override OpenAI Base URL in Cursor’s settings, used by chat and plan mode. | auto-coding, as the custom model name. |
| Claude Code | ANTHROPIC_BASE_URL, set to the site root, and ANTHROPIC_API_KEY: the native Anthropic Messages endpoint. | The Claude model you choose in Claude Code, called with your own Anthropic key. |
The routing modes belong to the OpenAI-compatible endpoint. Zed and more are on the integrations hub.
07
The request below offers two tools for files and code, so auto-task matches the tools_code rule and ranks it on Coding. 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": "The date parser drops time zones. Find the bug and fix it."}], "tools": [ {"type": "function", "function": {"name": "read_file", "parameters": {"type": "object", "properties": {"path": {"type": "string"}}}}}, {"type": "function", "function": {"name": "apply_diff", "parameters": {"type": "object", "properties": {"path": {"type": "string"}, "diff": {"type": "string"}}}}} ] }' # Response headers # X-AISM-Request-Kind: tools_code # X-AISM-Benchmark: coding # X-AISM-Strategy: best_coding # X-AISM-Conversation: new # X-AISM-Model: <the model that answered>
X-AISM-Request-Kindtools_code: the request works on code through tools. X-AISM-Benchmark is then coding.X-AISM-Conversationnew on the first request of a loop and stayed on the steps after it, under the default setting.X-AISM-ModelX-AISM-Reasoning says why.Every header and parameter is in the router documentation, and what an AI router is covers the terms. Related guides:
08
It is choosing, per request, which model a coding agent’s call goes to, instead of fixing one model name in the agent’s settings. The AI Stupid Level Smart Router does it from its public boards. Send auto-coding, or auto-task and let the agent’s file and terminal tools say what it is, and the request is ranked on the Coding board, whose suite is the same repository bug fixes for every model, scheduled every four hours and graded by running the project’s own tests.
Not by default. One model per conversation keeps the loop on the model that started it, so its reasoning and your provider’s prompt cache carry over. It moves when that model can no longer serve the request, for example when its provider is failing. Model switching in Preferences can allow moves on scores, within a cost limit you set.
Claude Code speaks Anthropic’s Messages API, and the router passes it through natively: the request goes to Anthropic, with your own Anthropic key, for the Claude model you chose in Claude Code. It gains one key for every tool, with the plan allowance, budgets and request log of every other endpoint. The routing modes live on the OpenAI-compatible endpoint, which Cline, Kilo Code, Roo Code, Aider, OpenCode, Continue and Cursor’s chat use. Claude Code with the Smart Router.
Chat and plan mode use the base URL you set under Override OpenAI Base URL. Composer, inline edit and autocomplete stay on Cursor’s own backend. Cursor with the Smart Router.
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