API Quick Start Guide
AnyRouter API quick start: register, create an API key, set the BASE_URL, pick a model and verify your setup — start calling major AI models from just $1.
Account Registration
- 💰 Minimum top-up amount: $1
- 🔗 Registration link: Sign up here
Setup Steps
1. Get an API Key
- Log in to the console
- Open the "API Keys" page
- Click "Add API Key" to get your API key
2. Endpoint Configuration
Available BASE_URL options
https://anyrouter.win
https://anyrouter.win/v1
https://anyrouter.win/v1/chat/completionsNote: Different clients may require different BASE_URLs — try the addresses above in order
3. Model Selection
- Model names are listed in the first column of the "Supported Models" list on the home page
Testing and Verification
You can verify your configuration in the following ways:
- Run an online test on the chat page
- Test the endpoint with an API tool (such as Postman)
Sample Configuration
{
"base_url": "https://anyrouter.win",
"api_key": "your_token_here",
"model": "selected_model_name"
}Tip: Test on the chat page first; once the configuration is confirmed to work, proceed to development integration
Quick Start
Generate an AnyRouter API key and make your first call: Python, JavaScript and curl examples for chat/completions, OpenAI SDK base_url setup, and streaming.
Group Comparison Table
Comparison of AnyRouter API groups — default, Claude Code, Codex, official native and limited-time deal — with rates and supported models to help you choose.