Quickstart
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.ai 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.Step 2 - Get Your API Key
- Click API Keys in the left sidebar
- Click Create Key
- Give it a name like “my-app”
- Copy the key. It starts with
sk-routor-
📷 [Screenshot: API Keys page with the Create Key button highlighted]
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 aroutor object in the JSON body with the routing decision:
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. See Response Metadata for the full picture.
📷 [Screenshot: Dashboard usage table showing the routed request with model, tier, and cost]
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:routor_tier_floor / routor_tier_ceiling. See Controlling the Tier for the full guide.