$Revo Mail Docs

Windsurf

Configure Windsurf, Codeium's AI-native IDE, to route through Revo Mail for model flexibility and unified billing.

What This Does

Windsurf is an AI-native code editor built by Codeium. It features deep AI integration including Cascade, an agent that can understand your entire codebase. By connecting Windsurf to Revo Mail, you can use any model in the Revo Mail catalog while managing costs through a single unified balance.


Setup

Step 1: Open Windsurf Settings

  1. Launch Windsurf
  2. Click the gear icon in the sidebar or press Cmd+, (macOS) / Ctrl+, (Windows/Linux)
  3. Navigate to AI Providers or Cascade Settings

Step 2: Add a New Provider

  1. Click Add Provider or + Add AI Provider
  2. Select OpenAI Compatible from the provider list

Step 3: Configure Revo Mail

Enter the following configuration:

FieldValue
Provider NameRevo Mail (or any name you prefer)
Base URLhttps://api.revomail.io/v1
API KeyYour Revo Mail API key
Model IDgpt-5.4 or gpt-5.3-codex

Get your API key from revomail.io/keys.

Step 4: Save and Activate

  1. Save the provider configuration
  2. Select Revo Mail as your active provider
  3. Choose your preferred model from the model picker

Step 5: Alternative — Settings JSON

For advanced configuration, edit the settings file directly:

  1. Open command palette: Cmd+Shift+P
  2. Search for Open User Settings (JSON)
  3. Add the configuration:
{
  "windsurf.aiProvider": "openai-compatible",
  "windsurf.openaiCompatibleBaseUrl": "https://api.revomail.io/v1",
  "windsurf.openaiCompatibleApiKey": "YOUR_Revo Mail_API_KEY",
  "windsurf.openaiCompatibleModel": "gpt-5.4"
}

FeatureModelWhy
Cascade (agent mode)gpt-5.4Best for complex multi-step tasks
Code generationgpt-5.3-codexOptimized for programming
Large codebase analysisgemini-3.1-proExtended context window
Quick chat responsesglm-5-turboFast and cost-effective

Troubleshooting

Provider not appearing in list

  • Ensure you selected OpenAI Compatible, not plain OpenAI
  • Save settings and restart Windsurf

Authentication errors

  • Verify your API key is correct at revomail.io/keys
  • Re-paste the key without any extra spaces or newlines

Cascade doesn't work with Revo Mail

  • Cascade requires models with strong agentic capabilities — use gpt-5.4 for best results
  • Some Cascade features may require specific model capabilities

Slow responses


Notes

  • Windsurf's UI evolves frequently — exact menu paths may differ between versions
  • Cascade is Windsurf's flagship feature — it works best with capable models like GPT-5.4
  • Token usage is logged to your Revo Mail dashboard in real-time
  • For tab completions, consider configuring a faster model separately if Windsurf supports it

On this page