Getting Started
What is ARouter?
What is ARouter?
How do I get started?
How do I get started?
- Create an account at https://api.arouter.ai
- Generate an API key in the Dashboard
- Set your base URL to
https://api.arouter.ai/v1in any OpenAI-compatible client - Send your first request
How do I get support?
How do I get support?
- GitHub Issues: github.com/arouter-ai
- Email: Check the Dashboard for contact information
- Documentation: You’re here!
Billing
How am I billed?
How am I billed?
How does ARouter price requests?
How does ARouter price requests?
usage field of every response.Do credits expire?
Do credits expire?
What is the refund policy?
What is the refund policy?
Does BYOK have a fee?
Does BYOK have a fee?
How do I check my balance?
How do I check my balance?
My credits have not appeared yet. What should I do?
My credits have not appeared yet. What should I do?
What payment methods are accepted?
What payment methods are accepted?
Is there a free tier?
Is there a free tier?
Models
What models are supported?
What models are supported?
How do I specify which model to use?
How do I specify which model to use?
provider/model format in the model field:openai/gpt-5.4anthropic/claude-sonnet-4.6google/gemini-2.5-flashdeepseek/deepseek-v3.2
Can ARouter automatically select the best model?
Can ARouter automatically select the best model?
model to "auto" and ARouter’s routing service will pick the best available model for your request:model field showing which model was actually used. See Model Routing — Auto Routing for details.Can I provide multiple candidate models?
Can I provide multiple candidate models?
models array together with route:API Technical
How do I authenticate?
How do I authenticate?
- Bearer token:
Authorization: Bearer lr_live_xxxx(OpenAI SDK, fetch) - API Key header:
X-Api-Key: lr_live_xxxx(Anthropic SDK) - Query parameter:
?key=lr_live_xxxx(Gemini SDK)
What are the rate limits?
What are the rate limits?
X-RateLimit-LimitX-RateLimit-RemainingX-RateLimit-Reset
Which endpoints are available?
Which endpoints are available?
/v1/chat/completions— OpenAI-compatible chat/v1/embeddings— OpenAI-compatible embeddings/v1/models— List available models/v1/messages— Anthropic native/v1beta/models/{model}:generateContent— Gemini native/api/v1/balance— Account balance/api/v1/transactions— Transaction history/api/v1/keys— API key management/{provider}/{path}— Provider proxy
What input formats are supported?
What input formats are supported?
- Text: All models
- Images: Vision-capable models (URL or base64)
- PDFs: Anthropic Claude and Google Gemini
Does ARouter support streaming?
Does ARouter support streaming?
stream: true in your request. ARouter supports Server-Sent Events (SSE) streaming for all providers.See Streaming for the full guide including SSE format, error handling, and cancellation.Which SDKs are supported?
Which SDKs are supported?
- Python: OpenAI SDK (
pip install openai) - Node.js / TypeScript: OpenAI SDK (
npm install openai) - Go: ARouter Go SDK (
go get github.com/arouter-ai/arouter-go) - Anthropic SDK: Python and Node.js
- Google Gemini SDK: Python
- Any HTTP client: via cURL, fetch, etc.
Privacy & Data
Does ARouter store my prompts?
Does ARouter store my prompts?
Which providers see my data?
Which providers see my data?
model field processes your request. ARouter acts as a transparent proxy.