Smart AI Gateway with
Automatic Cost Savings
Route your AI requests intelligently, cache responses automatically, and watch your costs drop. Drop-in replacement for OpenAI API.
No credit card required • Open source • Self-hostable
Drop-In Replacement
Use RELAYCOR with your existing OpenAI code. Just change the base URL and start saving.
npm install relaycorpip install relaycorimport Relaycor from 'relaycor';
const client = new Relaycor({
apiKey: process.env.RELAYCOR_API_KEY,
});
const response = await client.chat.completions.create({
model: 'auto', // Smart routing
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0].message.content);Real-time Platform Activity
Watch RELAYCOR saving costs in real-time
Simple, Transparent Pricing
Pay only for what you use. Start with a 14-day free trial.
Trial
14 days free
Simple pay-as-you-go on AI costs
- 14-day free trial
- Only 5.5% markup on AI costs
- Full access to smart routing
- Semantic caching included
- Real-time analytics
Production
After trial period
You only pay more when you save more
- Everything in Trial
- Only 5.5% markup on AI costs
- Base fee: 20% of your savings
- Priority support
- Dedicated infrastructure
Example: How Much Do You Pay?
💰 You still save $14.29 (71%) compared to GPT-4!
Frequently Asked Questions
What happens after the 14-day trial?
After your trial, you automatically move to the Production plan. You'll continue to save money compared to using AI APIs directly, and we only charge based on what you actually use and save.
How is the base fee calculated?
The base fee is 20% of the money you save compared to using GPT-4 directly. If you save $100, we charge $20. This aligns our incentives - we only earn more when you save more.
Can I cancel anytime?
Yes! There are no long-term contracts. You can cancel anytime and you'll only pay for what you've used up to that point.
Everything you need to save on AI costs
Powerful features that make AI infrastructure management simple and cost-effective
Smart Routing
Automatically selects the best model for each request based on complexity, cost, and performance requirements.
Semantic Caching
Intelligent caching with 95% similarity matching. Saves costs by reusing responses to similar queries.
Cost Optimization
Real-time cost tracking and optimization. Save up to 95% compared to using GPT-4 for every request.
Self-Hostable
Your data stays with you. Run RELAYCOR on your infrastructure with full control over your data.
OpenAI Compatible
Drop-in replacement for OpenAI API. Change one line of code and start saving immediately.
Analytics Dashboard
Detailed insights into usage patterns, cost savings, and model performance across your organization.
Ready to optimize your AI costs?
Start saving money today with intelligent routing and semantic caching. No credit card required.