Use Dragonfly with Windsurf
Windsurf (by Codeium) supports custom OpenAI-compatible providers.
Setup
- Open Windsurf Settings → AI Provider
- Select "Custom / OpenAI Compatible"
- Configure:
- Base URL:
https://dragonfly-api.com/v1 - API Key:
sk-df-your-key - Model:
deepseek/deepseek-chat
- Base URL:
- Save and start coding
Recommended Models
| Task | Model | Cost |
|---|---|---|
| Chat & coding | deepseek/deepseek-chat | $0.27/1M |
| Complex reasoning | deepseek/deepseek-reasoner | $0.55/1M |
| Autocomplete | doubao/doubao-1.5-pro-256k | $0.30/1M |
Why Use Dragonfly with Windsurf?
- 97% cheaper than default Claude/GPT providers
- DeepSeek V3 performs within 2% of GPT-4o on coding benchmarks
- Streaming works out of the box
- Switch models anytime without leaving Windsurf