Skip to content
Need an API key for this client? One token for Claude, GPT-6.2, Gemini 4 & DeepSeek V4 — top up via USDT or Alipay

Connect Windsurf IDE to byesu API ​

Key facts: Set Windsurf's custom OpenAI-compatible Base URL to https://byesu.com/v1 with a default auto group token (sk-...) to power Cascade (Write & Chat) across Claude 5.5, GPT-6.2, Gemini 4, and DeepSeek V4 on one pay-as-you-go balance.

Windsurf (Codeium's agentic IDE) combines multi-file Cascade flows, terminal tool execution, and contextual chat. Pointing Windsurf's custom OpenAI-compatible (BYOK) provider at byesu lets you switch between Anthropic, OpenAI, Google, and DeepSeek models inside Cascade without maintaining separate vendor keys or seat upgrades.

Quick configuration

  • Provider protocol: Custom / OpenAI-Compatible (/v1/chat/completions)
  • Server / Base URL: https://byesu.com/v1 (include /v1, do not append /chat/completions)
  • API Key: sk-... token created in the default auto group (Sign up & get key)
  • Recommended Cascade models: claude-sonnet-5-5, claude-opus-5-5, gpt-6.2-sol, deepseek-v4-pro

Want ready-to-paste config snippets for Windsurf and your CLI tools side by side? Open the AI Client & SDK Config Generator.

Step-by-Step Setup in Windsurf ​

  1. Create a token: Sign in to the byesu Console, open Tokens, and create an sk-... key in the default auto group (see Choosing a Token Group).
  2. Open Windsurf model settings: Launch Windsurf and open Windsurf Settings (Cmd+, on macOS or Ctrl+, on Windows/Linux → Windsurf Settings → Models / Custom Providers), or click the gear icon at the top of the Cascade panel → Manage Models.
  3. Configure the OpenAI-compatible endpoint:
    text
    Base URL: https://byesu.com/v1
    API Key:  sk-your-byesu-token
  4. Register exact model IDs: Add the model identifiers you want in your Cascade model picker (must match console spelling character for character):
    • claude-sonnet-5-5
    • claude-opus-5-5
    • gpt-6.2-sol
    • deepseek-v4-pro
    • gemini-4-argon
  5. Save and test in Cascade: Open Cascade (Cmd+L), select claude-sonnet-5-5 from the model dropdown, and run a repository-aware prompt such as "Explain the entrypoint routing in this workspace and check for unhandled async errors."
Workflow in WindsurfRecommended Model IDEngineering Rationale
Everyday Cascade Write & fast editsclaude-sonnet-5-5Sub-2s median TTFT (1.90s p50, 99.97% success rate) keeps multi-step tool loops snappy
Complex multi-file architecture & root-cause debuggingclaude-opus-5-5 / gpt-6.2-solHighest multi-file reasoning depth (99.99% uptime on Opus 5.5; deep synthesis on GPT-6.2 Sol)
Bulk test generation, docstrings & migrationsdeepseek-v4-pro99.90% production uptime with strong code fidelity and automatic zero-surcharge prefix caching
Large-context spec & multimodal inspectiongemini-4-argon1M-token context window for reading large logs, specs, and diagrams in Chat

Practical Engineering Notes ​

  • What uses your BYOK key vs Windsurf's native plan: Cascade Write/Chat turns and custom model chats selected from your custom list bill strictly per token on byesu; Windsurf's proprietary Supercomplete / Tab autocomplete engine still follows your Windsurf account tier. To compare how other coding environments handle BYOK wire protocols and 0.1x prompt caching, read Cursor vs Claude Code vs Cline or explore Zed Editor and Trae IDE.
  • No international card needed: Top up your gateway balance on-chain via USDT (TRC20 / BEP20) or Alipay. Text and coding models bill pay-as-you-go using transparent multipliers (with cache reads down to 0.1x on supported routes) and live rates shown in the console after sign-in.
  • Additional vendor groups: The auto token group covers Claude, GPT, Gemini, DeepSeek, and Grok. If you want to add glm-5.3 or kimi-k3, create a dedicated token in the Glm or Kimi group.

Common Troubleshooting ​

  • 401 Unauthorized / invalid_api_key: Verify there are no trailing spaces in your sk-... key and confirm the custom Base URL is active (https://byesu.com/v1) rather than hitting default OpenAI servers (OpenAI 401 fix).
  • 404 Not Found on Cascade requests: Ensure the Base URL ends with /v1 (https://byesu.com/v1) and does not include /chat/completions at the end. Also check that you wrote hyphens rather than dots in Claude IDs (claude-sonnet-5-5, not claude-sonnet-5.5).
  • no available channel error: Your token group does not match the requested model ID — create a token in the default auto group for Claude/GPT/Gemini/DeepSeek/Grok (no available channel guide).
  • Slow first token on deep reasoning prompts: Reasoning models (gpt-6.2-sol, claude-opus-5-5) think before streaming the first visible token; check current p50/p95 numbers in the December 2026 Production Latency & Uptime Report and weekly benchmarks.

FAQ ​

How do I connect Windsurf IDE to a custom OpenAI-compatible API key on byesu? ​

Create an sk-... token in the byesu Console under the auto group, open Windsurf's custom OpenAI-compatible provider settings, set Base URL to https://byesu.com/v1, paste your key, and add model IDs like claude-sonnet-5-5, claude-opus-5-5, gpt-6.2-sol, and deepseek-v4-pro.

Should the Windsurf custom Base URL include /v1? ​

Yes. Always enter https://byesu.com/v1 — Windsurf appends /chat/completions automatically. Leaving off /v1 or typing /v1/chat/completions results in 404 responses.

Which models work best for Windsurf Cascade Write vs Chat modes? ​

Use claude-sonnet-5-5 for snappy daily Cascade edits, switch to claude-opus-5-5 or gpt-6.2-sol for cross-module architecture and tricky bugs, and pick deepseek-v4-pro for high-volume test writing and repetitive refactors.

Can I use Windsurf BYOK through byesu without an international credit card? ​

Yes. Fund a single pay-as-you-go balance with USDT or Alipay in the console — no monthly gateway subscription and no international card required.

Got a problem? Contact support or join our group.