Dify

Visual platform for building LLM apps, RAG chatbots, agents and workflows.

Active AI app & agent builders Dify Open Source License (modified Apache-2.0)

Quick answer

Dify is a visual platform for building LLM apps, RAG chatbots, agents and workflows, listed under AI app & agent builders. A typical small-business use: customer-support bot answering from your product manuals and FAQ. Official hardware: minimum 2 vCPU · 4 GB RAM. That fits a Hetzner Cloud CPX22 server at about €16.99/month (server only, excl. VAT). License: Dify Open Source License (modified Apache-2.0), which allows internal business use.

Last updated · facts verified against official docs on · sources

GitHub stars163k
Forks25.7k
Latest release1.20.0Nov 18, 2026
Last commitDec 6, 2026
Est. server costfrom €16.99/mo

Activity data comes from GitHub and was last refreshed Dec 6, 2026.

What is Dify?

Dify is a web console where you design chatbots, knowledge-base Q&A apps, agents and multi-step AI workflows, then publish them for your team or call them through an API. It connects to hosted model providers or self-hosted models, so the AI itself can stay outside or inside your network.

Where it fits in a 10–200 person business

  • Customer-support bot answering from your product manuals and FAQ
  • Internal assistant that drafts quotes or emails from a template workflow
  • One central place where non-developers build and share small AI tools

These use cases are our editorial suggestions, not claims made by the project.

Can a business use Dify? (license)

LicenseDify Open Source License (modified Apache-2.0)
TypeCustom / conditional: Apache- or BSD-based with extra conditions (branding, multi-tenant SaaS, derivatives).
Internal business useAllowed under the license text
What to watchCommercial use is allowed, including as a backend for your own apps. Extra conditions: you may not run a multi-tenant service (one tenant = one workspace) without written permission, and you may not remove or modify the Dify logo or copyright in the frontend.

This is a plain-English summary of the license text, not legal advice. Third-party models you run with it have their own licenses.

Data & compliance: does Dify phone home?

Telemetry (usage data sent to the vendor) On by default

The bundled Weaviate service defaults WEAVIATE_DISABLE_TELEMETRY to false. Other optional integrations have their own configuration.

How to turn it off: Set WEAVIATE_DISABLE_TELEMETRY=true in docker/.env and recreate the service with docker compose up -d.

Source: github.com/langgenius/dify/blob/main/docker/envs/vectorstores/weaviate.defaults

Other calls home by default (updates, marketplaces, default cloud services) Yes, by default

Application defaults set CHECK_UPDATE_URL=https://updates.dify.ai and enable the plugin marketplace at marketplace.dify.ai.

How to turn it off: Clear CHECK_UPDATE_URL and set MARKETPLACE_ENABLED=false.

Source: github.com/langgenius/dify/blob/main/api/configs/feature/__init__.py

Single sign-on (OIDC / SAML / LDAP) Paid / enterprise only

The README lists SSO under Dify Enterprise (for organizations that need SSO, RBAC and support SLAs). Which protocols it covers is not documented in the open-source docs.

Source: github.com/langgenius/dify#using-dify

Audit log Not documented
Role-based access control (RBAC) Basic free, more in paid plan

Four built-in workspace roles (Owner, Admin, Editor, Normal). Custom roles and per-app access need Dify Enterprise.

Source: docs.dify.ai/en/self-host/use-dify/workspace/team-members-management

Data residency / GDPR notes from the project Not documented

Checked against the project's own docs and repository on . "Not documented" means we could not find the answer in official sources; it does not mean the feature is missing or that no data is sent. Third-party services you connect (model APIs, vector databases, search engines) have their own data policies. Compare all apps.

What hardware does Dify need?

Minimum2 vCPU · 4 GB RAM
RecommendedNot published

On macOS, Dify asks for a Docker VM with at least 2 vCPUs and 8 GiB of memory.

Source: docs.dify.ai/en/self-host/deploy/quick-start/docker-compose

How much does it cost to host Dify per month?

Minimum spec2 vCPU · 4 GB RAM → CPX22 (2 vCPU, 4 GB, 80 GB disk) €16.99/mo

How we got this: we took the cheapest Hetzner Cloud Regular Performance (shared AMD vCPU) plan with at least the RAM and vCPU the project lists, using prices read from www.hetzner.com/cloud/regular-performance on 2026-11-30. "From" monthly price cap shown by Hetzner, excluding VAT. Prices vary by location. Covers the server only; it excludes LLM API usage, backups, extra storage, GPUs and your time. Disk is not matched; add a volume if you need more than the plan includes.

How to deploy Dify

Method: Docker Compose

# Choose a release tag from https://github.com/langgenius/dify/releases first.
: "${DIFY_VERSION:?Set DIFY_VERSION to your chosen release tag before running}"
git clone --branch "$DIFY_VERSION" --depth 1 https://github.com/langgenius/dify.git
cd dify/docker
cp .env.example .env
openssl rand -hex 32
# In .env, set DIFY_AGENT_LOCAL_SANDBOX_AUTH_TOKEN to the generated value.
# Keep the default COMPOSE_PROFILES for the bundled services.
docker compose up -d
docker compose ps --all
# then open http://localhost/install

From the official instructions: docs.dify.ai/en/self-host/deploy/quick-start/docker-compose. Always check the source for the current version before you run it.

Known gotchas when self-hosting Dify

  • Needs Docker Compose v2.35.0 or later and OpenSSL. Set DIFY_AGENT_LOCAL_SANDBOX_AUTH_TOKEN before first start; preserve an existing deployment's configuration when upgrading. source
  • The license forbids operating a multi-tenant (multi-workspace) service or removing the Dify branding from the web console without a commercial license. source

Alternatives in AI app & agent builders

Plan your deployment

Use these guides to check the model, hardware and operating decisions alongside the app comparison.

Dify FAQ

How much RAM does Dify need?

The official minimum is 2 vCPU · 4 GB RAM. On macOS, Dify asks for a Docker VM with at least 2 vCPUs and 8 GiB of memory.

How much does it cost to self-host Dify?

The software is free to download. Based on the official minimum 2 vCPU · 4 GB RAM: That fits a Hetzner Cloud CPX22 server at about €16.99/month (server only, excl. VAT). That covers the server only, not LLM API usage, backups, extra storage or your time.

Is Dify free for commercial use?

Dify is licensed under Dify Open Source License (modified Apache-2.0) (Custom / conditional). Internal business use is allowed under the license text. Commercial use is allowed, including as a backend for your own apps. Extra conditions: you may not run a multi-tenant service (one tenant = one workspace) without written permission, and you may not remove or modify the Dify logo or copyright in the frontend. This is a summary, not legal advice.

What are common problems when self-hosting Dify?

Needs Docker Compose v2.35.0 or later and OpenSSL. Set DIFY_AGENT_LOCAL_SANDBOX_AUTH_TOKEN before first start; preserve an existing deployment's configuration when upgrading. The license forbids operating a multi-tenant (multi-workspace) service or removing the Dify branding from the web console without a commercial license.

Is Dify still maintained?

Yes, it is actively developed. Last commit: Dec 6, 2026. Latest release: 1.20.0 (Nov 18, 2026). Checked Dec 6, 2026.

How do I install Dify?

The official method is Docker Compose. The exact commands are in the "How to deploy" section above and in the official instructions: https://docs.dify.ai/en/self-host/deploy/quick-start/docker-compose

What are self-hosted alternatives to Dify?

Other apps in AI app & agent builders: AutoGPT Platform, Langflow, Mem0, OpenManus, Flowise, CowAgent, AstrBot, Sim, AgenticSeek, Archon, Coze Studio, DB-GPT, OWL, Agent Zero, LangBot, BISHENG, Agenta.

Sources

Facts on this page were checked against the project's own repository and docs on 2026-11-30. Spotted something out of date? Tell us.