Windsurf Configuration
Windsurf is Codeium’s AI code editor (formerly Codeium Editor) with a built-in Cascade AI assistant.
Configuration Steps
- Open Windsurf →
Settings
- Search for
openai settings
- Fill in:
- API Key:
sk-xxxxxxxxxxxx
- Base URL:
https://betarouter.com/v1
- 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.