メインコンテンツへスキップ
すべてのクライアント
AI IDE · Cascade BYOK1M Context · ZDR

Windsurf

Cascade マルチファイル編集とカスタム OpenAI 互換 BYOK に対応した AI IDE。

ベースURL
https://api.bf16.ai/v1
プロトコル
openai-completions

対象ユーザー
月額クレジット消費を抑えつつ 1M コンテキスト無検閲モデルを従量課金で使いたいユーザー。

アーキテクチャと bf16.ai 連携の利点

Windsurf IDE routing custom OpenAI-compatible requests to https://api.bf16.ai/v1 for 1M-context coding
Connect Windsurf custom OpenAI-compatible endpoints (or Continue/Cline inside Windsurf) directly to https://api.bf16.ai/v1.

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. 1

    bf16.ai API キーを設定する

    Navigate to Windsurf Settings → Models → Custom OpenAI-Compatible Provider (or open your installed Cline/Continue sidebar inside Windsurf).

  2. 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
Windsurf — Settings → Custom OpenAI-Compatible Provider
設定フィールド一覧
Windsurf Settings / Models / Bring Your Own Key

入力パラメータ早見表

Base URL
https://api.bf16.ai/v1
API Key
sk-bf16-v1-••••••••••••
Model ID
deepseek/deepseek-v4.1-flash-uncensored-fast
Context Window
1,048,576 tokens · ZDR
Works identically in Windsurf native BYOK settings and VS Code extensions installed inside Windsurf.

用途別おすすめモデル構成

設計・監査には Flagship モデル、並列サブタスクや画面認識には Flash モデルを組み合わせます。

役割モデル ID選定理由USD / 1M トークン
Fast Multi-File Editsdeepseek/deepseek-v4.1-flash-uncensored-fastSnappy token streaming at a fraction of commercial IDE credit overages.$0.28 in / $0.055 cached / $1.12 out
Complex Architecture & Code Auditszai-org/glm-5.3-uncensoredStrong 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.

よくあるエラー

症状
接続テストで 404 または認証エラーが発生する。
原因
エンドポイント URL の末尾に余分な /v1 や /chat/completions が含まれています。
対処法
本ページに記載の Base URL をそのままコピーして設定してください。