Skip to main content

What is ARouter?

ARouter is a unified LLM API gateway that sits between your application and upstream model providers. Use one API key to access OpenAI, Anthropic, Google Gemini, DeepSeek, Mistral, Groq, and many more — without changing your existing code.

Quick Start

Get up and running in under 2 minutes

API Reference

Explore every endpoint

SDKs

Python, Node.js, Go & cURL examples

Key Management

Fine-grained access control for your team

Why ARouter?

Use the official OpenAI, Anthropic, or Gemini SDK you already know. Just change base_url and api_key — zero code changes.
Route requests to 14+ providers through a single endpoint using the provider/model format. No need to manage separate API keys and base URLs for each provider.
Pool multiple API keys per provider with weighted round-robin selection. Automatic health checking, circuit breaking, and failover across keys and providers.
Create scoped API keys with provider whitelists, model restrictions, spending limits, and expiry — all via the management API.
Deploy across multiple regions with intelligent request routing. Requests from latency-sensitive or network-restricted regions are automatically proxied through the nearest edge node to reach upstream providers.
Every request is metered with input/output tokens, latency, and status. Monitor usage per key, per model, per provider in real time.

Supported Providers

ProviderModelsNative SDK Support
OpenAIGPT-5.4, GPT-5.4 Mini, o4-mini, o3, …OpenAI SDK
AnthropicClaude Sonnet 4.6, Claude Opus 4.6, Claude Haiku 4.5, …Anthropic SDK
GoogleGemini 2.5 Flash, Gemini 2.5 Pro, …Gemini SDK
DeepSeekDeepSeek V3.2, DeepSeek R1, …OpenAI SDK
xAIGrok 4.20, Grok 4.1 Fast, …OpenAI SDK
MistralMistral Large 3, Mistral Medium 3.1, Codestral, …OpenAI SDK
MetaLlama 4 Maverick, Llama 4 Scout, …OpenAI SDK
QwenQwen 3.5 397B, Qwen3 Coder, …OpenAI SDK
MoonshotKimi K2.5, …OpenAI SDK
MiniMaxMiniMax M2.7, …MiniMax SDK

How It Works

Your App (any SDK)


ARouter Gateway  ←── one API key, one base URL

    ├──→ OpenAI
    ├──→ Anthropic
    ├──→ Gemini
    ├──→ DeepSeek
    ├──→ Mistral
    └──→ ... more providers
ARouter parses the model field from your request, determines the target provider, selects a healthy API key from the pool, and proxies the request — including streaming responses. All of this happens transparently. Your application code stays exactly the same.