メインコンテンツへスキップ
すべてのクライアント
Workflow Automation · AI Agent Nodes1M Context · ZDR

n8n

AI Agent・LangChain・構造化 JSON 出力ノードを備えた代表的オープンソース自動化プラットフォーム。

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

対象ユーザー
24 時間稼働の Webhook・データ抽出・多言語ワークフローを誤拒否ゼロで回したい開発者。

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

n8n AI Agent and LLM Chain workflow nodes connected via OpenAI Credential Base URL https://api.bf16.ai/v1
Create one OpenAI Credential in n8n with Base URL https://api.bf16.ai/v1 to power every AI Agent and Structured Output node.

n8n workflows run unattended across thousands of webhook executions per day — summarizing tickets, parsing scraped pages, moderating user content, and triggering downstream APIs. A single false-positive safety refusal returns prose instead of JSON and crashes the entire workflow branch.

Pointing n8n’s native OpenAI Chat Model credential to https://api.bf16.ai/v1 gives every AI Agent and Basic LLM Chain node strict JSON Schema adherence, 1M context, zero false refusals, and $0.26/$1.00 Flash economics.

コマンドには $BF16_API_KEY と表示されています。サインインすると自分のキーが自動入力されます。

ワンコマンド設定

Smoke-Test Your n8n Key & Structured Output Endpoint

Verifies API key authentication and model discovery from your n8n host before activating workflows.

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 キーを設定する

    In n8n, open Credentials → Add Credential → OpenAI. Paste your API key and set Base URL to https://api.bf16.ai/v1.

    API Key:  $BF16_API_KEY
    Base URL: https://api.bf16.ai/v1
  2. 2

    bf16.ai エンドポイントと 1M 無検閲モデルを接続する

    ページ上部の Base URL と API キーを設定するだけで、1M コンテキスト・ゼロ保持(ZDR)の全モデルが利用できます。

n8n — Credentials → OpenAI API → Base URL Override
設定フィールド一覧
Credentials / + Add Credential / OpenAI

入力パラメータ早見表

API Key
sk-bf16-v1-••••••••••••
Base URL
https://api.bf16.ai/v1
Model (Expression / Custom)
deepseek/deepseek-v4.1-flash-uncensored

Also supports zai-org/glm-5.3-flash-uncensored for strict JSON extraction

Retry & ZDR
Zero Prompt Retention · 1M Context
Reuse the same OpenAI Credential across OpenAI Chat Model, AI Agent, Information Extractor, and HTTP Request nodes.

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

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

役割モデル ID選定理由USD / 1M トークン
24/7 Webhook & Batch Automationdeepseek/deepseek-v4.1-flash-uncensoredHigh throughput (~155 tok/s) and $0.045/1M cached prompt reads keep 10,000-run workflows affordable.$0.26 in / $0.045 cached / $1.00 out
Strict JSON Schema Extractionzai-org/glm-5.3-flash-uncensoredRock-solid structured JSON outputs + vision for invoice, UI, and document pipelines.$0.30 in / $0.065 cached / $1.12 out

正しく動いているか確認する方法

  • テスト送信後、bf16.ai ダッシュボードのリクエストログにリアルタイムで記録されます。
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

本番運用の安全策と予算上限

  • Create a dedicated API key with a daily USD spend cap in /dashboard/keys for every production n8n instance to guard against infinite webhook loops.

よくあるエラー

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