Windsurf
Cascade マルチファイル編集とカスタム OpenAI 互換 BYOK に対応した AI IDE。
https://api.bf16.ai/v1openai-completions対象ユーザー
月額クレジット消費を抑えつつ 1M コンテキスト無検閲モデルを従量課金で使いたいユーザー。
アーキテクチャと bf16.ai 連携の利点
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.
セットアップ
サインインしてAPIキーを自動入力 →コマンドには $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 コンテキスト・ゼロ保持(ZDR)の全モデルが利用できます。
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用途別おすすめモデル構成
設計・監査には Flagship モデル、並列サブタスクや画面認識には Flash モデルを組み合わせます。
| 役割 | モデル ID | 選定理由 | USD / 1M トークン |
|---|---|---|---|
| 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.