Windsurf Configuration
Configure Any API in Windsurf to use AI coding features.
Step 1: Install Windsurf
- Visit https://codeium.com/windsurf to download the installer
- Install and open Windsurf
Step 2: Configure API
- Open Windsurf Settings (
Ctrl+Shift+J/ Mac:Cmd+Shift+J) - Navigate to the "Models" page
- Find the "OpenAI API Key" section
- Fill in the following:
- OpenAI API Key: Enter your API key
- Override OpenAI Base URL:
https://anyapi.pro
- Click "Verify" to test the connection
- Check the models you want to use
Step 3: Start Using
| Feature | Shortcut (Windows/Linux) | Shortcut (Mac) | Description |
|---|---|---|---|
| Inline Edit | Ctrl+K | Cmd+K | Generate or edit code directly in the editor |
| AI Chat | Ctrl+L | Cmd+L | Open the AI chat panel |
| Code Completion | Tab | Tab | Accept 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.
