> ## Documentation Index
> Fetch the complete documentation index at: https://docs.infercom.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Windsurf Integration Guide

> Configure Windsurf IDE for Infercom's EU sovereign inference. Use BYOK settings to connect Cascade AI to your Infercom API with full GDPR compliance.

[Windsurf](https://windsurf.com) is an AI-native code editor (formerly by Codeium, now Google). It features Cascade, an agentic AI that can work across your entire codebase.

<Info>
  **Setup time:** \~3 minutes
</Info>

## Prerequisites

* [Windsurf editor](https://windsurf.com) installed
* [Infercom API key](https://cloud.infercom.ai/apis)

## Configuration

### Step 1: Open Settings

1. Open Windsurf
2. Go to **Settings** → **Windsurf Settings**
3. Navigate to **Cascade** → **Model Configuration**

### Step 2: Configure Custom Provider

1. Look for **BYOK (Bring Your Own Key)** or **Custom Model Provider** options
2. Select **OpenAI Compatible** as the provider type
3. Enter the configuration:
   * **Base URL:** `https://api.infercom.ai/v1`
   * **API Key:** Your Infercom API key
   * **Model:** `MiniMax-M2.7`

### Step 3: Select the Model

1. In the model selector, choose your configured Infercom model
2. Start coding with Cascade

## Model

Use `MiniMax-M2.7` - optimized for agentic coding with 192K context window.

## Usage

With Windsurf configured:

* **Cascade Chat:** Use the AI chat panel for questions and tasks
* **Inline Edits:** Select code and ask for modifications
* **Multi-file Changes:** Cascade can work across your entire project

## Troubleshooting

### BYOK Not Available

Custom model configuration may require:

* Windsurf Pro subscription
* Latest version of Windsurf

Check Windsurf's documentation for current BYOK availability.

### Connection Errors

Verify the endpoint format:

```
https://api.infercom.ai/v1
```

No trailing slash required.

### Model Not Recognized

Use the exact model name: `MiniMax-M2.7`

## Limitations

<Warning>
  Custom model configuration in Windsurf may be limited to certain subscription tiers. If BYOK options are not available in your version, consider [Cursor](/en/agentic-coding/cursor) or [Continue](/en/agentic-coding/continue) as alternatives.
</Warning>

## Next Steps

* [Cursor](/en/agentic-coding/cursor) - Alternative AI-native IDE
* [Continue](/en/agentic-coding/continue) - Open-source VS Code extension
* [Choosing a Tool](/en/agentic-coding/choosing-a-tool) - Compare all options
