Quickstart Guide
Get ClawRouter running and route your first AI request in minutes.
Version 1.0.18
Installation Note: ClawRouter is premium software. After your payment is confirmed, you will receive the installation command and setup instructions automatically.
Activation Required: After installing ClawRouter, the app displays your unique Installation ID. To activate, contact the developer at support@clawrouter.qzz.io or via Reddit with your Installation ID. Your installation will then be activated promptly. Once activated, everything works automatically with no further steps needed.
Step 1: First Launch & Activation
- Start ClawRouter using the CLI:
clawrouter start - Open the Dashboard at
http://localhost:3030in your browser. - Sign in. The dashboard is password-protected. On first launch the password is
changeme-- change it later from Settings > Dashboard Security. - If this is your first launch, you will see the Awaiting Activation screen:
- Your Installation ID is displayed on screen.
- Click the Copy button to copy it.
- Send it to the developer via email or Reddit.
- Once the developer confirms activation, click Check Activation on the screen.
- The dashboard loads and you can start adding providers.
Step 2: Adding a Provider
Navigate to Providers > Add Provider. You have two methods:
Method A: Quick Setup (Recommended)
ClawRouter includes 51 built-in provider presets with pre-configured settings.
- Click Quick Setup in the Add Provider panel.
- Search the preset grid, or browse the two category groups: Free & Free-Tier and API Key Providers. Popular presets include:
- OpenCode Zen, Kilo AI (Free), Ollama (Local) -- keyless, no signup
- OpenRouter, Google Gemini, Groq, Cerebras, NVIDIA NIM -- free tiers
- OpenAI, Anthropic, DeepSeek, xAI, Kimi for Coding, Z.AI -- API key providers
- All fields are automatically filled: Name, API Format, Upstream URL, and the correct API Key Mode.
- Customize any field if needed, then click Create Provider. The preset's recommended models are seeded into the Models tab automatically.
- Copy the auto-generated Base URL shown at the top of the provider page -- you will use this in your AI client.
Method B: Custom Provider
For providers not in the preset list, or for custom/local endpoints:
- Click Custom in the Add Provider panel.
- Fill in the fields:
- Provider Name: An internal reference name (e.g.,
My-Custom-Provider). - API Format: The protocol used by the service:
OpenAI Chat Completions-- Most providers (OpenRouter, Groq, NVIDIA, etc.)OpenAI Responses-- OpenAI Responses API formatAnthropic Messages-- Anthropic Claude APIGoogle Generative AI-- Google Gemini APIElevenLabs (Audio)-- ElevenLabs Speech-to-Text / Text-to-Speech (passthrough audio, no chat)
- Upstream URL: The official API base URL of the service.
- API Key Mode:
Managed-- ClawRouter manages multiple keys with rotation (default).None-- No API key needed (for keyless/free endpoints).Pass Through-- Forwards the client's API key directly to upstream.
- Rotation Strategy:
On Error(use primary key until it fails) orRound Robin(distribute requests evenly).
- Provider Name: An internal reference name (e.g.,
- Click Create Provider.
- Copy the auto-generated Base URL.
Step 3: Adding API Keys
Skip this step for keyless presets (OpenCode Zen, Kilo AI (Free), Ollama Local) -- their API Key Mode is
Noneand no keys are needed.
- Open the provider's detail page and go to the API Keys tab.
- Click Add API Key.
- Paste your API key. Optionally add a label (e.g., "Free tier key #1").
- (Optional) Click Test to verify the key (a 1-token probe) before saving it.
- Click Add.
- To add multiple keys at once, use the Bulk Add option -- paste multiple keys separated by newlines.
- Use Test All Keys to verify your whole key pool at once.
Why add multiple keys? ClawRouter rotates between keys automatically. When one key hits a rate limit, the next key is used instantly -- your client never sees an error.
Step 4: Advanced Configuration (Optional)
Model Fallback (within the same provider)
Found in the Models tab of any provider.
If a specific model is unavailable (returns a "model not found" error), ClawRouter can automatically retry with the next model in your priority list -- using the same API key.
- Go to the provider's Models tab.
- Enable the Model Fallback toggle.
- Add models in priority order. You can:
- Type model IDs manually.
- Click Fetch Models to automatically retrieve the available model list from the upstream API. For Kilo AI and OpenCode, models show Free/Paid badges.
- Click + Add next to each model you want. Models are tried in the order you add them.
Note: Model Fallback only switches the model, not the provider or key. It handles model-level errors only.
Provider Fallback Chain (switch to a different provider)
Found in the Fallback tab of any provider (or the global Fallback page in the sidebar).
If the entire provider fails (all keys exhausted or circuit breaker opens), ClawRouter routes to backup providers in order.
- Go to the provider's Fallback tab.
- Click Add Fallback Provider. The dropdown shows all your providers -- cross-format targets are translated automatically.
- Choose the model handling: leave it on Automatic (the requested model is tried first, then the target's saved model list) or pin a specific model. Click Fetch models to load the target's live catalog.
- Add multiple fallback providers -- they are tried in order (1 > 2 > 3...). Reorder with the arrows.
- Each entry is saved immediately on add -- no separate Save button needed.
Key difference: Model Fallback = same provider, different model. Provider Fallback = different provider entirely.
Circuit Breaker
The Circuit Breaker is automatic. If a provider has 5 failures within 60 seconds, ClawRouter stops sending requests to it for 30 seconds and routes directly to the fallback chain. After cooldown, a single test request checks recovery. You can view status and manually reset from the provider's Settings tab. These thresholds are configurable from the Settings page in the sidebar.
Monitoring with Notifications
The notification bell in the sidebar delivers real-time alerts:
- Key getting rate-limited or disabled
- Circuit breaker tripping or recovering
- Model or provider fallback activations
Click any notification to navigate to the affected provider -- straight to the relevant tab.
Step 5: Configuring Your AI Client
Once your provider is running in ClawRouter, configure your AI client to use the auto-generated Base URL. Dedicated step-by-step guides live in the Client Setup section: OpenClaw, OpenCode, Claude Code, Codex CLI, Qwen Code, DeepSeek Harness, and Other / Custom clients.
The "Prompt for AI" Feature (Recommended)
- On the provider's detail page, click the "Prompt for AI" button on the Base URL banner.
- A tabbed dialog opens: OpenClaw (default), OpenCode, Claude Code, Codex CLI, Qwen Code, DeepSeek Harness, Custom / Other.
- Select your client's tab. The generated prompt includes the Base URL, Provider Name, your actual saved Model IDs, and your proxy API key.
- Copy the prompt and paste it to your AI agent -- or follow the instructions yourself.
Manual Configuration
For OpenClaw or any compatible client, add the provider to your configuration:
"PROVIDER_NAME": {
"baseUrl": "http://localhost:3030/proxy/YOUR_PROVIDER_ID/v1",
"apiKey": "cr_your_proxy_key",
"api": "openai-completions",
"models": [
{ "id": "MODEL_ID", "name": "Display Name" }
]
}apiKey: Use the proxy API key from the dashboard (Settings > Proxy API Key). The "Prompt for AI" dialog inserts it automatically.
Any client, any provider: ClawRouter translates between API formats automatically, so any AI client works with any provider -- regardless of format.
Base URL format: The exact URL depends on the API format:
openai-completions/openai-responses/anthropic-messages>/proxy/{id}/v1google-generative-ai>/proxy/{id}/v1betaelevenlabs>/proxy/{id}/v1(audio passthrough -- see Providers > ElevenLabs (Audio))
Recommended Starting Providers
1. OpenCode Zen (Keyless -- No Signup)
- Preset: Quick Setup > OpenCode Zen (API Key Mode is already
None) - Top Free Models:
minimax-m2.5-free,big-pickle,gpt-5-nano
2. Kilo AI (Free) (Keyless -- No Signup)
- Preset: Quick Setup > Kilo AI (Free) (API Key Mode is already
None) - Top Free Models:
minimax/minimax-m2.5:free,stepfun/step-3.5-flash:free,kilo-auto/free
3. Google Gemini (Free Tier -- Key Required)
- Preset: Quick Setup > Google Gemini
- Get free API key at: Google AI Studio
- Top Models:
gemini-3.1-pro-preview,gemini-2.5-flash