Skip to main content

Windsurf Configuration

Windsurf is Codeium’s AI code editor (formerly Codeium Editor) with a built-in Cascade AI assistant.

Configuration Steps

  1. Open Windsurf → Settings
  2. Search for openai settings
  3. Fill in:
    • API Key: sk-xxxxxxxxxxxx
    • Base URL: https://betarouter.com/v1
  4. Select the model you want to use

Environment Variables

You can also configure via environment variables:
export OPENAI_API_KEY="sk-xxxxxxxxxxxx"
export OPENAI_BASE_URL="https://betarouter.com/v1"
Restart Windsurf after configuration.
TipWindsurf supports both its built-in Cascade models and custom API models. After configuring the relay, you can switch between different models freely.