Windsurf
支援 Cascade 多檔案編輯與自訂 OpenAI 相容 BYOK 路由的 AI IDE。
https://api.bf16.ai/v1openai-completions適用對象
希望按量調用 1M 免審查模型、不受月費額度限制的 Windsurf 用戶。
架構原理與接入優勢
Windsurf combines IDE context indexing with autonomous multi-file workflows. When heavy sprints exhaust built-in Cascade credits — or when security research triggers stock provider guardrails — routing custom BYOK models through bf16.ai keeps you shipping uninterrupted.
Because Windsurf is VS Code-based, you can configure bf16.ai either via Windsurf’s BYOK settings or alongside Cline/Continue extensions using the exact same https://api.bf16.ai/v1 base URL.
指令預設顯示 $BF16_API_KEY。登入並建立金鑰後會自動填入你的真實金鑰。
Test Your bf16.ai Key Before Adding to Windsurf
Confirms your key is valid and lists all active 1M-context model IDs ready for Windsurf.
export BF16_API_KEY="sk-bf16-v1-..."
curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"- 1
設定你的 bf16.ai API 金鑰
Navigate to Windsurf Settings → Models → Custom OpenAI-Compatible Provider (or open your installed Cline/Continue sidebar inside Windsurf).
- 2
填入 bf16.ai 端點與 1M 免審查模型
使用頁面提供的 Base URL 與 API 金鑰,即可立即存取全系 1M 上下文免審查模型(含零留存政策)。
Base URL: https://api.bf16.ai/v1 API Key: $BF16_API_KEY Model: deepseek/deepseek-v4.1-flash-uncensored-fast
關鍵參數核對清單
https://api.bf16.ai/v1sk-bf16-v1-••••••••••••deepseek/deepseek-v4.1-flash-uncensored-fast1,048,576 tokens · ZDR推薦模型分層配置
架構規劃使用旗艦模型,高頻子任務與螢幕截圖使用 Flash 模型以節省開銷。
| 工作流角色 | 模型 ID | 選型說明 | USD / 1M Tokens |
|---|---|---|---|
| Fast Multi-File Edits | deepseek/deepseek-v4.1-flash-uncensored-fast | Snappy token streaming at a fraction of commercial IDE credit overages. | $0.28 in / $0.055 cached / $1.12 out |
| Complex Architecture & Code Audits | zai-org/glm-5.3-uncensored | Strong multi-file refactor fidelity with 1M context and zero false refusals. | $1.35 in / $0.25 cached / $4.20 out |
如何確認設定成功
- 發送測試訊息後,可在 bf16.ai 控制台請求紀錄中即時查看計費與狀態。
- curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"
生產環境護欄與預算隔離
- Enable prompt caching automatically by keeping your workspace rules stable between turns.