Smart Router

Smart Router: an LLM router that picks the model from live benchmark results

An AI router with one endpoint, request-level routing, 14 auto-* modes, your own provider keys and zero markup on tokens. Point any OpenAI-compatible client at https://aistupidlevel.info/v1 and send model: "auto-task": each request is read on its own and goes to the model placing highest on the benchmark for that kind of work, among the providers you hold keys for. Or name the job with auto-coding or any other mode. The rankings move as the benchmarks re-run: coding every four hours, reasoning and tool use daily, with an hourly canary probe.

Get a free router key

1,000 routed requests a month free · your own provider keys · no card

See the boards it routes on

Coding, Reasoning, Tool use and Combined, over 24 hours, 7 days and 30 days.

Already have an account? Log in

Free account: every ranking over 24 hours, 7 days and 30 days, a 3-model watchlist with email alerts, 1,000 routed requests a month and a Data API key. No card.

0%
markup on tokens. Providers bill you directly, at their own list price.
14
auto-* routing modes, from auto-coding to auto-cheapest.
10 min
between health checks on every provider the router can pick.
5
fallbacks at most on every request, your own order first.

01

Request-level routing: how does the Smart Router read each request?

Send auto-task, or turn on Match each request for Best overall or Best value (auto-best, auto-value, and auto when either is your saved strategy), and each request is read on its own before anything is ranked. What it asks for picks the benchmark, the models are ranked on that benchmark, and the leader answers. When the top models are too close to call, the one that costs less per task wins, unless you choose speed or score, so each request gets a model suited to its work at the lowest cost that quality allows.

The rules, in the order the router tries them. The first that fits decides; X-AISM-Request-Kind names it on the response.
RuleWhat it looks forRanked on
Tools that work on code tools_codeTools offered, at least two of them for files, code or a terminal (read, edit, grep, bash and the like).Coding
Tools toolsAny other request that offers tools.Tool use
Long session long_sessionA conversation already eight or more messages long when it first reaches the router.Reasoning
Design and planning planningArchitecture, system design, trade-offs, a migration plan, a roadmap, a step-by-step plan.Reasoning
Code codeA code block, code syntax, or two or more programming terms in the latest message.Coding
Anything else generalQuestions, writing, summaries and the rest of everyday work.Combined
No extra model call
The rules read what the request already carries: the tools it offers, its latest message and the length of the conversation. Nothing is sent to another model to decide, so matching adds no tokens and no round trip.
Quality or value, per request
Best overall with matching ranks each request on the score of its benchmark. Best value with matching takes the most points per dollar on that benchmark, among the models within 5 points of the best one you can use: the best value for that kind of work, never a much weaker model.
A conversation keeps its benchmark
The benchmark is set at a conversation's first request. A later request changes it only when its own content calls for another: tools, code, design or planning.
Message by message, when it pays
Model switching decides what a conversation under way does. By default it stays on the model that answered, so its reasoning and your provider's prompt cache carry over and long agent loops cost the least. At each new message, every new message is ranked again, and the conversation moves only when another model is clearly ahead (more than 2.58 standard errors on the quality modes) and re-sending it stays within your limit, $0.50 by default. At every request applies the same check inside an agent loop. X-AISM-Conversation says what happened. Model switching in the docs.

02

Where does each routing mode send a request?

The requests below are examples. Every ranking and pick is the live router’s own decision for an example caller who holds a key for every provider; the explorer under it shows the same for each mode, with the code to send.

Smart Router · live routing decisions
Example requests · live router picks
Incoming requests
  1. auto-codingstream
    Fix the race condition in checkout.ts
    → Claude Opus 5.5 · 200 · 4.0 s
Model
auto-coding
Strategy
best_coding
Ranked on
Coding suite: real repository bug fixes, every 4 hours
Passed over
none
Routed to
Claude Opus 5.5 · 4.0 s
Ranking for this requestCoding score
1Claude Opus 5.5Anthropicrouted96
2GPT-6.2 AstraOpenAIfallback96
3Claude Fable 5.2Anthropic95.5
4Claude Sonnet 5.5Anthropic95
5Gemini 4 ArgonGooglefallback95
6GPT-6.2 SolOpenAI94
7Claude Fable 5.1Anthropic93.7

As of 26 Nov 2026, 11:23 UTC · the router’s own picks for an example caller with keys for all 6 providers · the requests are examples

Best overall

best_overall

The best combined score among the models you have keys for. Among the models within one standard error of the leader, the one that costs less.

Ranks on
Combined score: coding 50%, reasoning 25%, tool use 25%
Ordered by
Quality, then the cheaper of the models within one standard error of the leader
Always
Only models you have a key for; drift-flagged models and open circuits go last
If you sent a request nowCombined score
1Claude Opus 5.5Anthropicprimary95
2GPT-6.2 AstraOpenAIfallback94.9
3Claude Fable 5.2Anthropic94.7
4Claude Sonnet 5.5Anthropic94.3
5Gemini 4 ArgonGooglefallback94.2
6GPT-6.2 SolOpenAI93.5
7GPT-6.1 SolOpenAI93.4
Primary Claude Opus 5.5 fallback GPT-6.2 Astra fallback Gemini 4 Argon
from openai import OpenAI

client = OpenAI(
    base_url="https://aistupidlevel.info/v1",
    api_key="aism_…",  # your ASL router key
)

reply = client.chat.completions.create(
    model="auto-best",
    messages=[{"role": "user", "content": prompt}],
    stream=True,
)

Response headers

HTTP/1.1 200 OK
X-AISM-Model: claude-opus-5-5
X-AISM-Provider: anthropic
X-AISM-Latency: 3981
X-AISM-Reasoning: Selected claude-opus-5-5 from anthropic for best overall performance (combined benchmark) (95.0 ±0.6, weighted mean of its last 30 results, newest weighted most). Within one standard error of the leader, together with gpt-6.2-astra, claude-fable-5-2; chosen as the cheapest of them ($12.00 per 1M tokens at list price). Tie-break: cheaper. First of 28 models eligible for this request. Scores updated 9h ago.

03

How does the Smart Router decide which model to use?

Each auto-* mode names a benchmark suite and a rule. A quality mode ranks on a weighted mean of a model’s recent results on that suite, newest weighted most, never on one run; the near-top modes choose among the models within 5 points of the best one you can use, so a cheaper, faster or steadier pick is never a much weaker one. The boards are the same ones the leaderboard shows.

Every mode GET /v1/models publishes, and what it ranks on. auto alone is your saved preference: a mode plus your exclusions, cost and latency caps and fallback order.
ModeRanks onSee
auto-bestThe Combined board: coding 50%, reasoning 25%, tool use 25%.Best AI model
auto-codingThe Coding board: repository bug fixes graded by running the project’s own tests, every four hours.Best LLM for coding
auto-reasoningThe Reasoning board: long, multi-turn working sessions, daily.Best LLM for reasoning
auto-toolingThe Tool use board: sandboxed agent tasks with real tools, daily.Best AI model for agents
auto-valueAmong models within 5 points of the best Combined score, the most points per dollar of one coding run, with each model’s cost from its most recent priced runs. Not list price: what the run cost that model.Best value AI model
auto-value-codingThe same rule on the Coding board: within 5 points of the best, then points per dollar of one coding run.Router docs
auto-value-reasoningWithin 5 points of the best Reasoning score, then points per dollar of one reasoning session.Router docs
auto-value-toolingWithin 5 points of the best Tool use score, then points per dollar of one tool-use session.Router docs
auto-fastest-qualityWithin 5 points of the best Combined score, then the lowest median response time over each model’s most recent week of benchmark runs, 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.Fastest AI model
auto-fastestThe lowest response time outright: the median of each model’s most recent week of benchmark runs, blended with what production observed.Router docs
auto-cheapestThe lowest list price per token, input and output averaged.Router docs
auto-consistentWithin 5 points of the best, then the smallest run-to-run spread of the coding score over the last 14 days.Router docs
auto-taskDecided per request, on the benchmark that tests its kind of work: requests with tools on tool use, or on coding when the tools work on files, code or a terminal; code without tools on coding; design and planning requests, and a conversation already eight or more messages long when it first reaches the router, on reasoning; anything else on the overall score.Router docs
auto-splitYour own weighted split across up to 10 models. Each request draws its primary by weight; the rest of the split become its fallbacks.Router docs
Statistical ties, your tie-break
When the leaders are closer than 1.96 times their combined standard error, the test behind the leaderboard’s “=” places, they are tied, and your tie-break in Preferences decides: among the models within one standard error of the leader, the one that cost least per task in our runs (the default) or the fastest (latencies within 10% count as equal); or the highest score. A conversation stays on the model that answered it, and across conversations a model you were already routed to stays while it is still close to the leader, so the pick does not change with every new run. The rule is on the methodology page.
Drift-aware by default
A model whose Page-Hinkley detector (a CUSUM-family test) has fired on the suite your mode relies on, or that has an open canary incident, moves behind every unflagged model. It is never removed: if every candidate is flagged, the best of them is used, and the routing reason names any model passed over. Every model's alarms are on the AI degradation tracker. The same detectors answer is ChatGPT getting worse and is Claude getting worse; how they work is on AI drift detection.
Your constraints first
Provider and model exclusions, a maximum price per 1M tokens, a maximum latency and tool-calling-only are checked before anything is sent; the ranking applies to what remains. A caller with keys for two providers is ranked among those two providers’ models only.
Explained on every response
The X-AISM-Reasoning header names the model, the provider, the latency and why it won, including who was passed over for drift or an outage. The dashboard previews any routing setting against the real pipeline without spending a request.
Learns from production
Failures the router can attribute to a model over the last 14 days, and your own ratings through /v1/router/feedback, adjust that model’s effective score, so a model that benchmarks well but fails in practice loses ground.

04

What is the Smart Router, and what is it not?

A proxy in front of six providers and your own servers that speaks the OpenAI API, speaks Anthropic’s too, and decides the model. Everything below is what the running service does today; the documentation has every parameter.

Your own endpoints
Any OpenAI-compatible server you run or rent (vLLM, SGLang, llama.cpp, Ollama, LM Studio, TGI or a hosting company), added on the Providers page and named ep/<prefix>/<model>. Model source in Preferences decides whether automatic routing uses them: beside the cloud models, first, or nothing else. Included from Pro Intelligence: 2 on Pro Intelligence, 10 on Developer and 10 per editor on Teams, plus servers shared across a workspace. Your own endpoints in the docs.
Inference providers, listed
Companies that host models can list them on AI Stupid Level: each listing is benchmarked on our tests and gets a public page, and Smart Router users reach it with their own key at the host, under mp/<host>/<model>. List your models.
An OpenAI-compatible endpoint
POST /v1/chat/completions with streaming, tool calls that keep the provider’s own call ids and each model’s own turn for 24 hours of an agent loop, forced tool_choice (natively where the provider enforces it, otherwise asked for and checked), and response_format as json_object or json_schema on every provider. GET /v1/models lists the modes and every real model.
A native Anthropic endpoint
POST /v1/messages and /v1/messages/count_tokens pass through to Anthropic unchanged, so Claude Code runs behind the router by setting ANTHROPIC_BASE_URL. See Claude Code with the Smart Router.
Embeddings
POST /v1/embeddings on the same key, counted and budgeted like every other request.
Fallbacks and a circuit breaker
Every request carries up to 5 fallbacks: the rest of your traffic split, then your own fallback order (up to 10 models), then up to 2 automatic picks, preferring providers not yet in the chain. A model that fails 5 times in a row is skipped for 60 seconds and probed before it returns.
A per-request decision log
Each response explains its pick in the X-AISM-Reasoning header, and the dashboard keeps a log per request — model, provider, latency, tokens and cost — for 3 days on Free, 30 on Developer and 90 on Teams.
Your keys, encrypted
Provider keys are stored with AES-256-GCM. Prompt logging is off unless you turn it on, and logged prompts are scrubbed of secrets before they are encrypted.
Room for agents
Request bodies up to 32 MB for long contexts, native streaming on every provider, and prompt caching on every provider, requested explicitly where a provider needs asking.

What it is not.

  • Not a hosted model or a reseller of inference. The router never answers a prompt itself. Every request goes to the provider with your own key, or to your own server, and the provider bills you at its own list price.
  • Not a way around one provider’s limits. It does not spread your traffic over several accounts at one provider. The one split it does is the one you define yourself with auto-split.
  • Not a markup. Nothing is added to token prices. Plans include a number of routed requests a month, and that is all the router counts.
  • Not multimodal. It routes text, code and tool calls, because those are what the benchmarks measure; images and audio are not routed.

05

Which tools work with the Smart Router?

Anything that lets you set an OpenAI-compatible base URL, and Claude Code through the Anthropic endpoint. Each guide has the exact settings, which auto-* mode fits the tool, what the tool supports behind a custom base URL, and the top of the board that mode reads, over the last 24 hours.

The router documentation is the full reference: every endpoint, parameter, mode and SDK, with the integrations section covering tools beyond the guides above. Each tool above has its own page on the integrations hub: Claude Code, Cursor, Cline, Continue, Aider, OpenCode, Zed, Open WebUI, LibreChat, n8n, LangChain. The help centre adds one-line settings for Chatbox, TypingMind, Jan.ai, AnythingLLM and LiteLLM. Anything that can call https://aistupidlevel.info/v1 with a bearer key works; the guides only save you the reading.

06

How much does the Smart Router cost?

Routing is in every plan, Free included. Every allowance and price below is read from the plan table, the same one the checkout enforces.

Free
1,000 routed requests a month on every provider and every mode, with a 3-day decision log. No card.
Pro Intelligence · $12/mo
10,000 routed requests a month, routing analytics and CSV/JSON exports, plus the full leaderboard analysis.
Developer · $25/mo
100,000 routed requests a month, API monitoring with per-key logs, costs, prompt auditing and budget limits, 30-day decision logs, and a workspace with one project.
Teams · $129/mo
1,000,000 routed requests a month, 5 editors, 3 projects with their own router keys, budgets and spend reports, 90-day decision logs, webhooks, single sign-on and an audit trail.

Past an allowance, top-up credits: $1 buys 2,000 requests, minimum $5, and they do not expire. Enterprise is contracted, with unlimited seats and requests. Providers bill you separately for tokens, at their own list prices, whatever the plan. Compare every plan.

07

Is the Smart Router an AI gateway or an AI aggregator?

Both, in the sense people usually mean: one base URL and one key in front of every provider, with logging, budgets, fallbacks and per-request accounting behind it.

Swap the base URL in any OpenAI SDK, or in any tool with a base-URL field, and nothing else changes: one key, your own provider accounts, no token markup. What differs is the routing signal. A gateway’s automatic mode usually picks by share of spend, by popularity, or by a rule you wrote and have to keep. The Smart Router picks from benchmark results on the boards: every model on the same tasks, on the same schedule, coding every four hours, reasoning and tool use daily, with an hourly canary probe, with a drift detector that moves a degrading model behind healthy ones and a status probe that keeps an unavailable provider out of the chain.

The methodology is public — every weight, statistical test and drift constant. The test tasks are private, so no lab can train on them. The boards it routes on are public: best LLM for coding, best LLM for reasoning, best AI model for agents, best value AI model and fastest AI model; how they are scored is on the methodology page, and provider health on the status page. Any two models can be put side by side on compare, and the same data is available by key through the Data API.

Compare routers. The Smart Router beside the other AI routers, gateways and aggregators, each described from its vendor’s own pages, and the steps to switch:

Routing guides. One page for each job the router does: picking by task, falling back, routing on cost, your own keys, and coding agents.

08

Smart Router questions

What is an LLM router?

An LLM router is a service that sits in front of several language-model providers, behind one API, and chooses which model answers each request. Most route on rules you write, on price, or on which models are popular. The AI Stupid Level Smart Router routes on benchmark results: every model on the leaderboard runs the same coding, reasoning and tool-use tasks, coding every four hours, reasoning and tool use daily, with an hourly canary probe, and each auto-* mode sends your request to the model placing highest for that job among the providers you hold keys for. That is automatic model selection with a checkable basis, and the decision is written into every response.

Does the Smart Router choose a model for every request?

Yes, request by request. Send auto-task, or turn on Match each request for Best overall or Best value, and each request is read on its own: tools that work on files, code or a terminal rank it on coding, other tools on tool use, code on coding, design and planning, or a conversation already eight or more messages long, on reasoning, and anything else on the Combined score. The rules run inside the request, with no extra model call, and X-AISM-Request-Kind names the one that matched. Within a conversation, Model switching decides whether a new message can move to another model: by default the conversation keeps the model that answered, so its prompt cache and reasoning carry over; at each new message it moves only when another model is clearly ahead and re-sending stays within your limit ($0.50 by default). How it reads each request.

How does the Smart Router choose a model?

Each mode names a suite and a rule: auto-coding ranks on the Coding board, auto-reasoning on Reasoning, auto-tooling on Tool use, auto-best on the Combined score (coding 50%, reasoning 25%, tool use 25%). A quality mode uses a weighted mean of a model’s recent results, newest weighted most, never one run. Leaders closer than 1.96 times their combined standard error are a statistical tie, and your tie-break decides: cheapest per task by default, or fastest, among the models within one standard error of the leader, or highest. The auto-value modes choose among models within 5 points of the best and take the most points per dollar of one scored run; auto-fastest-quality takes the lowest median response time among them, 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. Drift-aware routing then moves any model with a fired Page-Hinkley detector or an open canary incident behind the healthy ones. The X-AISM-Reasoning header on every response says which rule won. The full table is on this page under how it decides.

Do you mark up tokens?

No. Requests go out with your own provider keys and the provider bills you at its own list price; the router adds nothing per token. Plans include a number of routed requests a month: 1,000 on Free, 10,000 on Pro Intelligence, 100,000 on Developer and 1,000,000 on Teams. Past that, top-up credits cost $1 per 2,000 requests (minimum $5) and do not expire. A request a model refuses is not counted. Plans and prices.

Can I use it with Claude Code or Cursor?

Yes. Claude Code talks to the router through the native Anthropic endpoint: set ANTHROPIC_BASE_URL to https://aistupidlevel.info and ANTHROPIC_API_KEY to your router key, and /v1/messages passes through to Anthropic with your own Anthropic key, token counting included, for the Claude model you choose in Claude Code; that path does no routing. Cursor uses its Override OpenAI Base URL setting with https://aistupidlevel.info/v1 and a mode such as auto-coding as the custom model name, in chat and plan mode. Step-by-step pages: Claude Code and Cursor, with guides for Cline, Continue, Aider, OpenCode, Zed, Open WebUI, LibreChat, n8n, LangChain on the integrations hub.

What happens when a provider is down?

Every request carries up to 5 fallbacks: the rest of your traffic split, then your own fallback order, then up to 2 automatic picks at other providers. A model that fails 5 times in a row is skipped for 60 seconds and probed before it returns, so a provider that stops answering stops receiving traffic after a handful of requests, and the response header names the fallback that answered. Independently, a short completion goes to every provider every 10 minutes from our own account; a provider that is not answering is shown on the status page, with a page per provider such as OpenAI API status, and its open incident is one of the signals drift-aware routing reads.

Which models can it route to?

Every model on the leaderboard: 28 models from 6 providers as this page was rendered (11 from OpenAI, 10 from Anthropic, 3 from Google, 2 from DeepSeek, 1 from Moonshot AI, 1 from Z.ai), each with its own page under its vendor: OpenAI (GPT), Anthropic (Claude), Google (Gemini), DeepSeek, Moonshot AI (Kimi) and Z.ai (GLM). You add a key for each provider you want in play, and the modes rank only the models you can reach. Any real model id from GET /v1/models can also be pinned directly. From Pro Intelligence up, your own OpenAI-compatible servers (vLLM, Ollama, llama.cpp, a hosting company) join them as ep/ models, which you can name, prefer or use alone. The router handles text, code and tool calls, because those are what the benchmarks measure.

Is the Smart Router an OpenRouter alternative?

Yes. Like OpenRouter, it puts many models behind one OpenAI-compatible API. It differs in how it picks the model, from public benchmark results re-run coding every four hours, reasoning and tool use daily, with an hourly canary probe, and in always using your own provider keys, with no markup on tokens. OpenRouter alternatives compares the two with the other options, each from its vendor’s own pages, and shows the three steps to switch; Best AI routers in 2026 sets the wider field side by side, and AI aggregator and what an AI router is cover the terms.

Is there a free tier?

Yes. Free account: every ranking over 24 hours, 7 days and 30 days, a 3-model watchlist with email alerts, 1,000 routed requests a month and a Data API key. No card. Routing itself is not paywalled: Free gets every provider and every auto-* mode. The paid plans buy volume, longer decision logs, API monitoring and team features. Compare the plans.

Route on evidence, not habit

Free account: every ranking over 24 hours, 7 days and 30 days, a 3-model watchlist with email alerts, 1,000 routed requests a month and a Data API key. No card.

Get a free router key

1,000 routed requests a month free · your own provider keys · no card

See every model on every board

Free account · 24 hours, 7 days and 30 days · no card

Already have an account? Log in