Zum Hauptinhalt springen
Alle Clients
LLM App & Workflow Studio · 160k★1M Context · ZDR

Dify

Open-Source Plattform für visuelle AI-Workflows, RAG und Multi-Agent-Apps.

Basis-URL
https://api.bf16.ai/v1
Protokoll
openai-completions

Für wen gedacht
Produktteams auf Dify Cloud oder Self-Hosted Docker mit Bedarf an 1M-Kontext-Modellen.

Architektur & Zusammenspiel mit 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.

In den Befehlen steht $BF16_API_KEY. Melden Sie sich an, um Ihren eigenen Schlüssel automatisch einzusetzen.

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

    bf16.ai API-Schlüssel konfigurieren

    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

    bf16.ai Endpunkt & 1M unzensierte Modelle verbinden

    Trage die angezeigte Base URL und deinen API-Schlüssel ein, um sofort 1M-Kontext-Modelle mit Zero Data Retention (ZDR) zu nutzen.

    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
KONFIGURATIONS-INSPEKTOR
Workspace Settings / Model Providers / Add Model

Feld-für-Feld-Referenz

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.

Empfohlene Modell-Aufteilung

Planung über Flagship-Modelle, schnelle Subtasks und Screenshots über Flash-Modelle.

RolleModell-IDEinsatzgrundUSD / 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

So prüfen Sie, ob es funktioniert

  • Nach dem ersten Test erscheint der Aufruf sofort im bf16.ai Request-Log.
  • curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY"

Produktions-Guardrails & Budget-Limits

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

Häufige Fehler

Symptom
Verbindungstest liefert HTTP 404 oder Auth-Fehler.
Ursache
An die Base URL wurde ein überflüssiges oder fehlendes /v1 angehängt.
Lösung
Kopiere exakt die oben angezeigte Base URL für diesen Client.