A world of AI
One connection
CostRouter connects GPT, Claude, Gemini and more through one AI API gateway. One key, one balance. Pay only for what you use.
CostRouter connects GPT, Claude, Gemini and more through one AI API gateway. One key, one balance. Pay only for what you use.
Compare AI model pricing and pay as you go. Get lower API rates on selected models, with no subscription fees.
Pay as you go
Official model quality. Lower cost.
Committed cloud usage and direct access to official model APIs.
Up to 20% off eligible models
We buy subscriptions in bulk and manage the accounts for you.
Up to 80% off eligible models
Both routes serve the model you select.
Why we can offer you discountsKeep your chosen model running with compatible provider failover. Track every API request, from token usage to cost.
Automatic failover in milliseconds. If the primary route fails, requests switch automatically to an available route for the same model.
Support that follows throughSubmit billing, account or API issues by ticket. Follow replies and progress in one place.Set budgets and model access for each API key. Track token usage and request costs across your applications.
Connect your app or coding assistant to CostRouter. Choose a model, create an API key and make your first request.
Make the first move
Complimentary trial credit for new accountsPopular AI coding tools
curl https://costrouter.ai/v1/chat/completions \
-H "Authorization: Bearer $COSTROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-5.6-luna",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'Answers about pricing, integration, billing, data privacy, and support.
Our purchasing and usage volumes give us access to discounts, and we pass those savings on to you so you can enjoy genuine models at preferential rates. We offer Value and Standard channels to suit different needs. Both guarantee genuine models, with prices varying by model and group.
We purchase account subscriptions in bulk, manage those accounts centrally, and make their model access available through a unified API to reduce costs. We take care of subscriptions, renewals, and day-to-day account maintenance for you. Simply connect to our API to enjoy genuine models at lower rates, with more time to focus on your projects.
Suitable for individual developers, small teams, prototyping, development and testing, and model evaluation.
We combine committed-use discounts from Azure, AWS and Vertex AI with direct connections to official model APIs. We recommend the Standard channel for enterprise use.
We guarantee that every channel delivers the model you select, with no substitution or downgrade. You can verify model authenticity using any method you choose. If you have evidence that a model we provided is not genuine, contact support with the evidence and we will issue a refund.
If a provider advertises direct access to official APIs at prices well below market rates, we recommend checking that the models are genuine, access is obtained lawfully, and your data rights are protected before choosing the service.
Create an account and an API key, then set your tool’s API endpoint to CostRouter and enter your key and a supported model. The quickstart guide includes setup instructions and working examples for compatible SDKs and popular coding tools.
You pay for actual usage at the rates for your selected model and group, with no subscription fee. You can check rates on the model pricing page and review token usage and charges for each request in your dashboard.
CostRouter does not store your request content or model outputs and does not use them to train models.
Open a support ticket for payment, account, or API issues. Include the order or request ID and a description of the problem. You can follow all replies and status updates in the same ticket.