AiRouter Docs

Quick Start

Stable, high-speed AI API proxy service

Stable, high-speed AI API proxy service. Supports all Claude and GPT models, compatible with both OpenAI and Anthropic native API formats.

⚡ Quick Start

If you're already familiar with API calls, it only takes three steps:

  1. Register — Visit airouter.one to sign up and add credits
  2. Create a Token — Go to the "Tokens" page in the console and create an API Key (starts with sk-)
  3. Start Calling — Set the API Base URL to https://airouter.one and use your Key

💡 We support both OpenAI-compatible format (/v1/chat/completions) and Claude native format (/v1/messages). Switch between them without changing your code.

Quick Verification

curl https://airouter.one/v1/chat/completions \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-5-20250929",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

🔑 Get API Key

  1. Visit airouter.one/register to create an account
  2. After logging in, go to the "Wallet" page and select a payment method to add credits
  3. Navigate to the "Tokens" page and click "Create New Token"
  4. Enter a token name, select the available model scope, and click "Submit"
  5. Copy the generated key starting with sk- and keep it secure

💡 You can view and manage your API Key anytime on the "Tokens" page.

On this page