Swap one line of code and RouteAI handles the rest. Same results, dramatically lower bills — most customers save over 80% compared to GPT-4o.
Sign up and receive your RouteAI API key instantly. Stripe handles billing — you only pay for tokens you use.
Point your OpenAI client at RouteAI. That's the entire integration. Seriously.
We route to the cheapest model that handles the job. You save money automatically — no configuration needed. Predictable for both sides.
# Your existing code from openai import OpenAI client = OpenAI( api_key="sk-..." ) # Same usage as always response = client.chat.completions.create( model="gpt-4o", messages=[...] )
# One line changed from openai import OpenAI client = OpenAI( base_url="https://api.routeai.dev/v1", api_key="mr-your-key" ) # Identical usage — cheaper result response = client.chat.completions.create( model="gpt-4o", messages=[...] )
Token-based billing. No subscriptions, no tier limits, no surprises.
Make API calls as normal. We route to the cheapest model automatically.
Precise usage per request, per model, logged to your dashboard.
Pay only for what you use. That's it.
| Request type | Model used | Raw cost / 1K tokens | Your price |
|---|---|---|---|
| Simple question | Groq | $0.00006 | $0.000066 |
| Code / complex | GPT-4o-mini | $0.000375 | $0.000413 |
| Long context | Claude Haiku | $0.000625 | $0.000688 |
Clicking "Get Started" takes you to a secure Stripe payment page where you choose how much credit to load — minimum €1, no maximum. Once payment is complete, your API key is emailed to you instantly. Paste it in and you're live.
base_url and api_key. Every OpenAI-compatible library (Python, Node, LangChain, etc.) works without any other changes.