Skip to main content
Get Routor running in your existing app in under 5 minutes. No migration. No new SDK. Three lines change.

What You Are About to Do


Step 1 - Sign Up

Go to routor.io and create an account. Then top up credits from the Billing page - pricing is pure pay-as-you-go, with no subscription or minimum spend. See Billing and Credits for the full breakdown of pricing, top-up limits, and transaction history.

Step 2 - Get Your API Key

Create a key from API Keys in the left sidebar - see API Keys for the full walkthrough with screenshots.
Save your key now. It is only shown once.

Step 3 - Change Three Lines

Pick your language and swap these three values: the API key, the base URL, and the model name.

Node.js / TypeScript

Python

curl


Step 4 - See What Happened

Open your dashboard to see the request logged in real time - model, tier, confidence, and savings for every call. Every non-streaming response also includes a routor object in the JSON body with the routing decision:
If your deployment has DEBUG_ROUTING=1 set, the same information is also on the response headers (X-Routor-Model, X-Routor-Tier, etc.). Without that flag, only X-Request-Id is guaranteed on headers - use the routor response object or the Debug Endpoint instead.

Optional - Switch Tiers Per Request

Want more control? Pin, floor, or cap the routing tier per request with three optional body fields - no code restructuring:
or bound the range with routor_tier_floor / routor_tier_ceiling. See Controlling the Tier for the full guide.

Done

Your app is now routing intelligently. Every request goes to the best-value model that can handle it, with automatic failover if any provider goes down. Where to go next: