Windsurf

Windsurf has no native OpenAI-compatible custom endpoint. Route FluxRouter through a Cline or Roo Code extension instead.

Windsurf does not natively support pointing at FluxRouter. Its bring-your-own-key setting only accepts Anthropic models, and Cascade (its agent) does not reliably accept arbitrary third-party endpoints. There is no first-class custom OpenAI-compatible base URL field.

Workaround: route through Cline or Roo Code

Windsurf runs VS Code extensions. Install Cline or Roo Code inside Windsurf and configure FluxRouter there. Those extensions support the OpenAI Compatible provider, so you get a fully routed agent without relying on Windsurf's native model picker.

In both cases the config is the same:

Base URL: https://api.fluxrouter.ai/v1
API Key:  sk-YOUR-FLUX-KEY
Model:    flux-auto

Test it

Open the Cline or Roo Code panel inside Windsurf and send a task. A reply confirms FluxRouter is connected. Check your FluxRouter dashboard to see the request. Re-check this page if Windsurf ships a native BYOK update that adds a generic OpenAI-compatible endpoint.