Use Dragonfly with Windsurf

Windsurf (by Codeium) supports custom OpenAI-compatible providers.

Setup

  1. Open Windsurf Settings → AI Provider
  2. Select "Custom / OpenAI Compatible"
  3. Configure:
    • Base URL: https://dragonfly-api.com/v1
    • API Key: sk-df-your-key
    • Model: deepseek/deepseek-chat
  4. Save and start coding

Recommended Models

TaskModelCost
Chat & codingdeepseek/deepseek-chat$0.27/1M
Complex reasoningdeepseek/deepseek-reasoner$0.55/1M
Autocompletedoubao/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