WindsurfAPI: an API gateway that turns Windsurf's internal model access into standard OpenAI and Anthropic compatible endpoints

WindsurfAPI: an API gateway that turns Windsurf's internal model access into standard OpenAI and Anthropic compatible endpoints

What it solves

WindsurfAPI provides a way to access over 100 AI models (including Claude, GPT, Gemini, Grok, and others) by converting the internal protocols of Windsurf (formerly Codeium/Devin Desktop) into standard, compatible APIs. This allows users to integrate these models into third-party AI clients like Claude Code, Cline, Cursor, and Aider without needing the original IDE.

How it works

The service acts as an HTTP proxy that exposes OpenAI, Anthropic, and Gemini compatible endpoints. It translates incoming standard API requests into Windsurf's internal gRPC protocol, which is then sent via a local Language Server (LS) binary to the Windsurf cloud. It manages a pool of accounts to handle load balancing, rate limiting, and failover, while stripping away Windsurf-specific identity markers from the responses to make the models appear as native providers.

Who it’s for

Developers and AI power users who want to use high-end models (like Claude 3.5/3.7 or GPT-5 variants) within their preferred CLI tools or IDE extensions (e.g., Claude Code, Cursor) using Windsurf accounts.

Highlights

  • Multi-API Compatibility: Simultaneously supports OpenAI, Anthropic, and Gemini standard API formats.
  • Extensive Model Support: Access to 100+ models, including latest versions of Claude, GPT, Gemini, and various open-source/domestic models.
  • Zero Dependencies: Built with pure Node.js and no npm runtime dependencies.
  • Account Management: Includes a dashboard for OAuth login (Google/GitHub), account pooling, and real-time monitoring.
  • Tool Use Support: Facilitates the passing of tool_use and tool_result between the model and the client CLI for local file operations.

Sources