Overview

You are reading XAI Router docs (ready-to-use AI API SaaS). If you need a BYOK multi-tenant gateway, visit XAI Control.

What is XAI Router?

XAI Router is a ready-to-use AI API SaaS. We manage provider keys for you, so a single XAI API Key gives access to mainstream models (OpenAI / Claude / Gemini / DeepSeek, etc.). You get OpenAI/Anthropic-compatible APIs plus native protocol support with minimal integration work.

How to choose: XAI Router vs XAI Control

ProductService ModeKey OwnershipEntry PointsBest For
XAI RouterSaaS aggregationPlatform-managedm.xairouter.comFast onboarding without key management
XAI ControlMulti-tenant BYOK gatewayCustomer-owneda.xaicontrol.comGovernance, compliance, and cost control

The core difference is who controls upstream provider keys.

Use cases

  • Rapid prototyping and product validation
  • Avoid managing multiple provider keys
  • Easy model switching with a single endpoint
  • Immediate usage visibility and cost tracking

Core capabilities

  • Unified API entry: OpenAI/Anthropic compatibility plus native protocols.
  • Platform-managed keys: No upstream key configuration required.
  • Smart routing: Load balancing, failover, model mapping, and retries.
  • Usage & billing: Visualized usage and model-level cost breakdowns.
  • High availability: Multi-region routing with reliable success rates.

Architecture

XAI Router Architecture

XAI Router uses a platform-managed key pool and routing policies to provide a stable, unified model access layer. If you need full key ownership and tenant control, choose XAI Control.

Self-hosting modes

The codebase supports two runtime modes (via SINGLE_TENANT):

  • XAI Router mode: SINGLE_TENANT=true (platform-managed keys)
  • XAI Control mode: SINGLE_TENANT=false (multi-tenant BYOK)

For self-hosting, see XAI Router deployment.