Using Routic in Windsurf
Set up Routic as your Windsurf AI backend and access mainstream models at lower cost.
Why
- One API key for all mainstream models — no need to sign up for multiple providers
- Unified billing — one invoice for all usage
Prerequisites
- Windsurf latest version
- A Routic API Key (Console → API Keys page, starts with
sk-)
Setup
Step 1: Open Windsurf Settings
- Click the Windsurf menu (top-left)
- Select Settings → Windsurf Settings
Step 2: Configure API Provider
- Find Provider section
- Select OpenAI Compatible as the provider
- Enter API Base URL:
https://api.routic.ai/v1 - Enter your API Key (starts with
sk-)
Step 3: Select Model
- Find Model section
- Select or enter a model name from the model catalog
- Common choices:
deepseek-v3— general chatdeepseek-r1— reasoning
Step 4: Save and Test
- Click Save or close the settings panel
- Open Cascade (Windsurf's AI assistant)
- Send a test message — a normal response means it's working
Verify
Send a message in Cascade Chat. A normal response means it's working.
Troubleshooting:
- Does the Base URL end with
/v1? - Is the API Key valid? (Check in the console)
- Does the model name exactly match the model catalog?
Common issues
Model not found The model name must exactly match a name in the catalog, case-sensitive.
401 / 403 API Key is invalid or expired. Regenerate it in the console.
Slow response or timeout
Open https://api.routic.ai/v1/models in a browser to confirm reachability.