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.