Welcome to Relai
Relai is an OpenAI-compatible AI gateway that routes your requests to the best model for your task while keeping your data in your chosen region.
Key Features
- One Endpoint: Access 100+ models through a single API endpoint
- Regional Residency: EU and US data centers—your prompts never leave your region
- Smart Routing: Automatic model selection via aliases (fast, smart, cheap)
- Per-User Quotas: Built-in rate limiting and cost controls per API key
- Zero Markup: Pay the same prices you'd pay directly to providers
Getting Started
- Sign up for an account
- Create an API key in the dashboard
- Use the API key with any OpenAI-compatible SDK
curl https://eu.api.llmrelai.com/v1/chat/completions \
-H "Authorization: Bearer $RELAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "smart",
"messages": [{"role": "user", "content": "Hello!"}]
}'Quick Links
- Quickstart Guide — Get up and running in 5 minutes
- Models — Browse available models and pricing
- Aliases — Use smart routing aliases
- Regions — Understand regional data residency
- API Reference — Full API documentation