Smart Router

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

An AI router with one endpoint, 14 auto-* modes, your own provider keys and zero markup on tokens. Point any OpenAI-compatible client at https://aistupidlevel.info/v1, send model: "auto-coding" or any other mode, and the request goes to the model placing highest for that job among the providers you hold keys for, re-ranked 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

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
    → GPT-6.1 Sol · 200 · 4.7 s
Model
auto-coding
Strategy
best_coding
Ranked on
Coding suite: real repository bug fixes, every 4 hours
Passed over
none
Routed to
GPT-6.1 Sol · 4.7 s
Ranking for this requestCoding score
1GPT-6.1 SolOpenAIrouted96.8
2Claude Opus 5.5Anthropicfallback95.9
3GPT-6 AstraOpenAI96.4
4Claude Fable 5.1Anthropic95.7
5GPT-5.6 SolOpenAI95.4
6Claude Opus 5Anthropic95
7GLM-5.3Z.aifallback94.9

As of 14 Nov 2026, 17:26 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. When leaders are statistically tied, the one that costs less.

Ranks on
Combined score: coding 50%, reasoning 25%, tool use 25%
Ordered by
Quality, then the cheaper of tied leaders
Always
Only models you have a key for; drift-flagged models and open circuits go last
If you sent a request nowCombined score
1GPT-6.1 SolOpenAIprimary95.1
2Claude Opus 5.5Anthropicfallback94.5
3GPT-6 AstraOpenAI95.2
4Claude Fable 5.1Anthropic94.6
5DeepSeek V4 ProDeepSeekfallback93.9
6GPT-5.6 SolOpenAI93.9
7Claude Opus 5Anthropic93.9
Primary GPT-6.1 Sol fallback Claude Opus 5.5 fallback DeepSeek V4 Pro
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: gpt-6.1-sol
X-AISM-Provider: openai
X-AISM-Latency: 4734
X-AISM-Reasoning: Selected gpt-6.1-sol from openai for best overall performance (combined benchmark) (95.1 ±0.6, weighted mean of its last 30 results, newest weighted most). Statistically tied for first with claude-opus-5-5, gpt-6-astra; chosen as the cheapest of them ($0.35 per measured task, gpt-6-astra $1.77). Tie-break: cheaper. First of 26 models eligible for this request. Scores updated 15h ago. Production: 74/74 succeeded in the last 14d, observed 6588ms.

02

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 from what it contains: code worked on through tools goes to coding and tool use together; other tools to tool use; design, planning or a long session to reasoning; large or demanding code to coding; other code to value for coding; long text to best overall; everything else to best value.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: the one that cost least per task in our runs (the default), 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.

03

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

A proxy in front of six providers 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.

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, 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.

04

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.

05

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.

06

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:

07

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.

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, 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, token counting included, with a routing mode such as auto-coding as the model name. Cursor uses its Override OpenAI Base URL setting with https://aistupidlevel.info/v1 and a mode 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: 26 models from 6 providers as this page was rendered (9 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. 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