How to use Windsurf with any AI model
Windsurf supports OpenAI-compatible providers (BYOK). Add AnyModel's endpoint and key to use GPT, Claude and Gemini in Cascade — pay only for what you run.
Setup
- 1.Create a free account and copy your API key.
- 2.
In Windsurf, add a custom OpenAI-compatible provider with these values:
base_url: https://anymodel.org/v1 api_key: <YOUR_API_KEY> model: claude-sonnet-4-6
Then pick a model from the list — switch models any time by changing the model id.
- 3.Start coding. Switch models any time by changing the model id — same key, same endpoint.
Popular models for Windsurf
See all on the models page, or compare two side by side.
FAQ
Do I need a subscription to use Windsurf?
No. AnyModel is pay-per-token with one prepaid balance and no subscription.
Which models can I use in Windsurf?
All of them — GPT, Claude, Gemini, DeepSeek, Qwen and more, through one endpoint. You switch by changing the model id.
Is my data stored?
By default we keep request history. For sensitive work, turn on Ghost Mode for a zero-retention key — prompts and responses aren't stored on our side.
AnyModel