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

  1. Click the Windsurf menu (top-left)
  2. Select SettingsWindsurf Settings

Step 2: Configure API Provider

  1. Find Provider section
  2. Select OpenAI Compatible as the provider
  3. Enter API Base URL: https://api.routic.ai/v1
  4. Enter your API Key (starts with sk-)

Step 3: Select Model

  1. Find Model section
  2. Select or enter a model name from the model catalog
  3. Common choices:
    • deepseek-v3 — general chat
    • deepseek-r1 — reasoning

Step 4: Save and Test

  1. Click Save or close the settings panel
  2. Open Cascade (Windsurf's AI assistant)
  3. 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.

Related docs