Skip to content

AI router

AI API router: how it works and how the options compare

An AI router sends each request to a model that fits it. Here is how that works, what OpenRouter, Requesty, Portkey, LiteLLM, and FUSR.ai each add to your bill, and how FUSR.ai picks a model with your own keys.

Last updated

What an AI router does

An AI router sits between your tools and the model providers. Your tool sends every request to one address with one key, and the router decides which model answers. Done well, the hard requests still go to a strong model and the easy ones stop paying top model prices.

Most routers also add fallbacks when a provider errors, spend limits, and a log of what went where. The big differences are what they add to your token prices, whose keys they use, and who has to run the proxy.

How the options compare

A fair look at five common choices, on the three things that change your bill and your workload.

RouterWhat it adds to token pricesWho runs it
OpenRouterAbout 5.5% on the credits you buyHosted for you
Requesty5%, or 0% with your own keysHosted for you
PortkeyPriced by the logs you keepHosted for you
LiteLLMNothing. It is free and open sourceYou run it yourself
FUSR.aiNothing. Your own keys, and providers bill you directlyHosted for you, on LiteLLM

Fees change, so check each company's pricing page before you choose. FUSR.ai charges a flat plan instead: Free at $0, Pro at $29 a month, and Team at $149 a month. See pricing.

If you are happy to run a proxy, self hosted LiteLLM costs nothing on top. FUSR.ai is that same proxy, run for you, with routing, caching, caps, and a savings report added. Hosted LiteLLM, explained.

How FUSR.ai picks a model

Ask for the model fusr/auto. Each request is sorted into a task type in the proxy: coding, writing, images, long documents, or quick questions. FUSR.ai has a default order of models for each type, and your rules come before it. Here is what wins, from the top.

  1. 01A model you name

    Ask for fusr/claude, fusr/openai, or fusr/grok and it goes there, with no fallback.

  2. 02Your cap

    A model at a monthly cap you set is skipped.

  3. 03Room for the request

    A model whose window is too small for the request is skipped.

  4. 04A pin

    Pin a task type to a model and that model goes first.

  5. 05FUSR.ai's order for the task

    Quick questions go to the cheapest connected model first. Turn on cheapest-good-enough and every task goes to the cheapest model rated good enough for it.

Every pick is logged with a one line reason on the Routing page. If the model errors, the next one in line takes over. A chat stays on the model whose prompt cache is warm, so routing does not throw away caching.

Use ChatGPT models and Claude together, through one key

OpenAI and Anthropic models are each good at different things, and that shifts with every release, so this page won't rank them. Connect both API keys, and one FUSR.ai key reaches either. fusr/auto picks per request, or you name one when you want it.

On Pro and Team, Compare sends one prompt to two of your connected models side by side, and you pick the better answer. That uses two requests, one on each key. Over time you learn which one you reach for to code, to write, and to think something through.

This is about API keys. Chat plans like ChatGPT Plus or Claude Pro are separate, and FUSR.ai does not use them.

What the router sees

The proxy reads the request to sort it by task, then sends the app only the task type, a rough size, and a few counts. Two keyed fingerprints let it tell when a request is sent again or belongs to the same chat. None of that can be turned back into text.

Prompts aren't stored, and neither are replies. See what we keep.

When a router is not worth it

If you use one model for everything and it is already cheap, a router adds little. If every request is hard, it all belongs on the top model anyway. In those cases caching, a cap per key, and trimming what you send help more. The cost guide covers each one.

Straight talk

What FUSR.ai does and doesn't do

It does

  • Routes chat requests on your FUSR.ai key to your connected Claude, OpenAI, or xAI models, and logs every pick with a reason.
  • Moves to the next model when the first one errors, and follows your rules first.
  • Keeps prompt caching working and stops a key at the cap you set.

It doesn't

  • Add anything to token prices, or bill you for tokens. Your providers do that.
  • Read or keep your prompts. The routing decision gets a task type and a few counts.
  • Handle anything but chat and text completions. Embeddings, image endpoints, and Anthropic's own message format aren't routed.

Try FUSR.ai with your own API keys.

Free gets you a FUSR.ai key for three providers at 20 requests a minute, with routing, caching, and a savings report. Pro adds routing that learns and caps on every key.

You bring your own API keys. Chat plans like Claude Pro or ChatGPT Plus are separate and FUSR.ai does not use them.