all free tools

ai model routing calculator

Most workloads are a mix: many easy requests, some ordinary ones, a few hard ones. Sending them all to the strongest model is simple and expensive. Put in your mix and the calculator shows what a router saves after paying for the routing call and for the requests that fail on a cheap model and have to run again.

free, no sign-up, runs in your browseropen source on GitHub
workload
simple requests

classify, route, extract a field, short answers

standard requests

extraction with judgement, drafting, summaries

hard requests

multi-step reasoning, policy calls, edge cases

router

routing saves $1,344 a month (69%)

$1,944one model, per month
$600routed, per month
$0.0194cost per request, one model
$0.0060cost per request, routed
tiermodelrequestsretriedcost
simpleHaiku 5.560,0004,800$76
standardSonnet 5.530,0001,500$321
hardOpus 5.510,0000$194
routerHaiku 5.5100,000–$9

Routing still pays even if every simple request is retried one tier up. A retried request is paid twice. List prices checked 2026-11-10; cache writes are left out.

questions

how does the router decide?

Usually a small, fast model (or plain rules) reads the request, or its first part, and labels it simple, standard or hard. The cost of that call is included. Rules cost nothing per request, so set the router's tokens to zero if you route with code.

what is the retry rate?

The share of requests a cheaper model gets wrong, or flags as low confidence, that you then rerun one tier up. You pay for both attempts. The calculator shows the retry rate at which routing stops paying, so you know what to measure in a pilot.

does it include prompt caching?

Cache reads, yes: set the share of input served from cache. Cache writes are left out because they depend on traffic patterns; the token cost estimator includes them.

which prices does it use?

Claude API list prices per million tokens, the same table as the token cost estimator, with the date they were checked. Haiku prompts over 100K tokens bill at its long-context rate.

more free tools

Want the numbers checked against your own process? Book a 20-minute call.