Skip to main content
ARouter is designed for production at scale. This guide covers the key capabilities enterprise teams need to deploy ARouter securely and efficiently.

1. Set Up Your Organization

Organizations enable teams to collaborate with shared credits, centralized API key management, and unified usage tracking. To create an organization, navigate to Dashboard → Settings → Preferences and click Create Organization. Once created, invite team members and switch between personal and organization contexts using the account switcher. Key capabilities:
  • Shared credit pool for centralized billing
  • Role-based access control (Admin and Member roles)
  • Organization-wide activity tracking
See Organization Management for the full setup guide.

2. Configure API Key Management

Enterprise deployments typically require programmatic API key management for automated provisioning, rotation, and lifecycle management.

Management API Keys

Create a Management API key to manage API keys programmatically. This enables:
  • Automated key creation for customer instances or CI environments
  • Programmatic key rotation for security compliance
  • Usage monitoring with automatic limit enforcement
See Key Management for the full API reference and examples.

API Key Rotation

Regular key rotation limits the impact of compromised credentials. ARouter supports zero-downtime rotation:
  1. Create a new API key
  2. Update your applications to use the new key
  3. Delete the old key once traffic has shifted
If you use BYOK, you can rotate ARouter API keys without touching your provider credentials, simplifying key management.

3. Implement Security Controls

Spending Limits

Configure per-key spending limits with daily, weekly, or monthly resets. Limits can be set when creating or updating an API key via the Key Management API:
curl -X POST https://api.arouter.ai/v1/keys \
  -H "Authorization: Bearer $AROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "prod-backend",
    "limit": 100.00,
    "limit_reset": "monthly"
  }'
See Create Key for all available parameters.

Model Restrictions

Restrict which models an API key can access. Specify allowed model IDs in allowed_models when creating a key.

Data Privacy

ARouter does not store your prompts or responses unless you explicitly opt in to prompt logging. Only metadata (token counts, latency) is stored for your activity feed and exports. See Data Collection and Provider Logging for complete privacy documentation.

4. Monitor Usage and Costs

Usage Accounting

Every API response includes detailed usage information — token counts (prompt, completion, reasoning, cached), cost in credits, and timing data. This enables real-time cost tracking without additional API calls. See Usage Accounting for response format details and examples.

Activity Export

Export aggregated usage data as CSV or PDF from the Activity page. Filter by time period and group by Model, API Key, or Creator (organization member). See Activity Export for export instructions.

5. Optimize for Reliability

Multi-Model Routing

ARouter monitors provider health in real time and automatically routes around outages. Supply an ordered candidate model list so requests always find a path to completion:
{
  "models": [
    "anthropic/claude-sonnet-4-6",
    "openai/gpt-5.4",
    "google/gemini-2.5-flash"
  ],
  "route": "fallback"
}
See Model Routing for configuration options.

Uptime Optimization

ARouter tracks response times, error rates, and availability across all providers. This data powers intelligent routing decisions and provides transparency about service reliability. See Uptime Optimization for details.

6. Leverage Performance Features

Prompt Caching

Enable prompt caching to reduce costs and latency for repetitive prefixes (system prompts, few-shot examples, large documents). Supported natively by Anthropic Claude and Google Gemini models. See Prompt Caching.

Streaming

Use streaming responses for real-time UI updates, reducing perceived latency in user-facing applications. See Streaming.

Next Steps

Organization Management

Teams, roles, and shared credit pools

Key Management

Programmatic key creation and rotation

Billing & Credits

Pricing, BYOK, and credit management

Activity Export

CSV and PDF usage reports
For enterprise inquiries or custom requirements, contact support@arouter.ai.