Skip to main content
All clients
LLM App & Workflow Studio · 160k★1M Context · ZDR

Dify

Open-source visual AI workflow, RAG, and agent platform with built-in OpenAI-API-compatible provider and bf16.ai plugin support.

Base URL
https://api.bf16.ai/v1
Protocol
openai-completions

Who this is for
Product teams building production AI workflows, knowledge bases, and multi-agent apps in Dify Cloud or self-hosted Docker.

Architecture & Why Pair with bf16.ai

Dify AI workflow studio connected to https://api.bf16.ai/v1 via OpenAI-API-compatible provider and official bf16 plugin
Wire bf16.ai into Dify via Settings → Model Provider → OpenAI-API-compatible (or the open-source bf16.ai Dify plugin).

Dify powers production RAG pipelines, chatflows, and visual multi-step agent apps across both Dify Cloud and self-hosted Docker deployments.

Connecting bf16.ai inside Dify’s Model Providers gives every LLM, Question Classifier, and Agent node instant 1M-context uncensored models — with native Vision on DeepSeek V4.1 Flash, GLM-5.3 Flash, and 2.8T Kimi K3.1 Pro, plus zero prompt retention.

Commands show $BF16_API_KEY. Sign in to fill in your own key automatically.

ONE-COMMAND SETUP

Verify Your bf16.ai Key Before Adding to Dify

Tests authentication and prints all live model IDs you can register in Dify.

export BF16_API_KEY="sk-bf16-v1-..."
curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"
  1. 1

    Install OpenAI-API-compatible (or bf16.ai Plugin) in Dify

    Open Dify Settings → Model Providers → locate OpenAI-API-compatible (or install the open-source bf16.ai plugin from https://github.com/BF16-AI/bf16-dify-plugin).

  2. 2

    Register Your bf16.ai Models with 1M Context

    Enter https://api.bf16.ai/v1 as API Endpoint URL, paste your API key, set Model Context Size to 1048576, and enable Vision + Function Calling.

    API Endpoint URL: https://api.bf16.ai/v1
    API Key:          $BF16_API_KEY
    Model Name:       deepseek/deepseek-v4.1-flash-uncensored-fast
    Context Size:     1048576
Dify — Settings → Model Provider → OpenAI-API-compatible
SETTINGS & CONFIG INSPECTOR
Workspace Settings / Model Providers / Add Model

Exact Field-by-Field Reference

Model Type
LLM (Chat · Function Call + Vision)
Model Name
deepseek/deepseek-v4.1-flash-uncensored-fast
API Key
sk-bf16-v1-••••••••••••
API Endpoint URL
https://api.bf16.ai/v1
Set Model Context Size to 1048576 and Upper Bound for Max Tokens to 130000 for full 1M-context Dify workflows.

Recommended Uncensored Model Tiering

Route complex planning to Flagship models and high-frequency subagents or screenshots to Flash.

Workflow RoleModel IDWhy This ModelUSD / 1M Tokens
Fast Chatflows & Agent Routingdeepseek/deepseek-v4.1-flash-uncensored-fastSnappy streaming, native vision, and low cost across high-traffic Dify apps.$0.28 in / $0.055 cached / $1.12 out
2.8T Flagship Research & Synthesis Nodesmoonshotai/kimi-k3.1-pro-uncensoredIdeal for final report generation, complex analysis, and long-context RAG nodes.$1.95 in / $0.28 cached / $6.90 out

How to know it worked

  • Dify validates and saves the model card with a green Active indicator.
  • Run a test chatflow node and confirm streaming tokens appear in your bf16.ai usage dashboard.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

Production Guardrails & Budget Isolation

  • Isolate production vs staging Dify apps with separate scoped API keys and daily USD spend caps.

Common errors

Symptom
Dify returns validation error on save.
Cause
API Endpoint URL missed /v1 or included /chat/completions.
Fix
Set API Endpoint URL strictly to https://api.bf16.ai/v1.