Skip to content

Windsurf Configuration

Configure Any API in Windsurf to use AI coding features.

Step 1: Install Windsurf

  1. Visit https://codeium.com/windsurf to download the installer
  2. Install and open Windsurf

Step 2: Configure API

  1. Open Windsurf Settings (Ctrl+Shift+J / Mac: Cmd+Shift+J)
  2. Navigate to the "Models" page
  3. Find the "OpenAI API Key" section
  4. Fill in the following:
    • OpenAI API Key: Enter your API key
    • Override OpenAI Base URL: https://anyapi.pro
  5. Click "Verify" to test the connection
  6. Check the models you want to use

Step 3: Start Using

FeatureShortcut (Windows/Linux)Shortcut (Mac)Description
Inline EditCtrl+KCmd+KGenerate or edit code directly in the editor
AI ChatCtrl+LCmd+LOpen the AI chat panel
Code CompletionTabTabAccept auto-completion suggestions

WARNING

We recommend disabling Windsurf's built-in cloud models on the Models page and using only your custom API to avoid extra charges.

API PLAT