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

  1. Sign up for an account
  2. Create an API key in the dashboard
  3. 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