n8n
Plataforma open-source de automação com nós nativos de AI Agent e JSON estruturado.
https://api.bf16.ai/v1openai-completionsPara quem é
Construtores de fluxos 24/7 que precisam de saídas JSON estáveis sem recusas.
Arquitetura e Integração com bf16.ai
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.
Configuração
Entrar para preencher sua chave de API →Os comandos mostram $BF16_API_KEY. Entre na conta para preencher sua chave real automaticamente.
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
Configure sua chave de API bf16.ai
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
Conecte o endpoint bf16.ai e os modelos de 1M
Informe a Base URL e sua chave de API para liberar imediatamente modelos sem censura com 1M de contexto e zero retenção (ZDR).
Referência Exata de Campos
sk-bf16-v1-••••••••••••https://api.bf16.ai/v1deepseek/deepseek-v4.1-flash-uncensoredAlso supports zai-org/glm-5.3-flash-uncensored for strict JSON extraction
Zero Prompt Retention · 1M ContextModelos Recomendados por Função
Combine modelos Flagship para planejamento com modelos Flash para subtarefas e capturas de tela.
| Função | Model ID | Motivo | USD / 1M Tokens |
|---|---|---|---|
| 24/7 Webhook & Batch Automation | deepseek/deepseek-v4.1-flash-uncensored | High 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 Extraction | zai-org/glm-5.3-flash-uncensored | Rock-solid structured JSON outputs + vision for invoice, UI, and document pipelines. | $0.30 in / $0.065 cached / $1.12 out |
Como saber se funcionou
- Envie uma mensagem de teste e confirme o registro em tempo real no painel bf16.ai.
- curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"
Proteções de Produção e Limites de Gasto
- 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.