Dify
Visual platform for building LLM apps, RAG chatbots, agents and workflows.
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
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)
| License | Dify Open Source License (modified Apache-2.0) |
|---|---|
| Type | Custom / conditional: Apache- or BSD-based with extra conditions (branding, multi-tenant SaaS, derivatives). |
| Internal business use | Allowed under the license text |
| What to watch | 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 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. |
| 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?
| Minimum | 2 vCPU · 4 GB RAM |
|---|---|
| Recommended | Not 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 spec | 2 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
- AutoGPT Platform Visual builder for long-running AI agents and workflows, self-hostable as a single container. Compare AutoGPT Platform vs Dify
- Langflow Visual builder for AI agents and RAG flows that you can deploy as APIs or MCP servers. Compare Dify vs Langflow
- Mem0 Long-term memory layer for AI assistants and agents, with a self-hosted REST server and dashboard. Compare Dify vs Mem0
- OpenManus MIT-licensed general AI agent framework you run locally with your own model API keys. Compare Dify vs OpenManus
- Flowise Drag-and-drop builder for LLM agents and chatflows (archived August 2026).
- CowAgent Self-hosted AI agent (formerly chatgpt-on-wechat) that answers in WeChat, WeCom, Feishu, DingTalk, Slack and a web console. Compare CowAgent vs Dify
- AstrBot Multi-platform AI chatbot and agent framework for QQ, WeCom, Feishu, DingTalk, Official Accounts, Telegram and Slack. Compare AstrBot vs Dify
- Sim Visual builder for AI agent workflows, with knowledge bases, integrations and an API. Compare Dify vs Sim
- AgenticSeek Local Manus-style agent that browses, codes and plans, with a Docker web UI. Compare AgenticSeek vs Dify
- Archon MIT-licensed workflow harness that runs YAML AI coding factories on your machine or VPS. Compare Archon vs Dify
- Coze Studio Open-source edition of ByteDance's Coze agent-building platform. Compare Coze Studio vs Dify
- DB-GPT AI data assistant that connects to your databases, writes SQL and code, and turns analysis into reports. Compare DB-GPT vs Dify
- OWL CAMEL-based multi-agent task automation with browser and document tools. Compare Dify vs OWL
- Agent Zero General-purpose personal AI agent that uses its own Linux environment, browser, memory and tools. Compare Agent Zero vs Dify
- LangBot Platform for AI chatbots on WeChat, WeCom, QQ, Feishu, DingTalk, Slack, Discord and Telegram, run from one dashboard. Compare Dify vs LangBot
- BISHENG Open enterprise LLM app platform with agents, knowledge spaces, workflows, document parsing and RBAC. Compare BISHENG vs Dify
- Agenta Open-source team workspace for building AI coworkers by chatting, usable from Slack, Telegram or WhatsApp. Compare Agenta vs Dify
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
- GitHub repository: github.com/langgenius/dify
- Official documentation, Hardware requirements, Deploy instructions, Gotcha 1: docs.dify.ai/en/self-host/deploy/quick-start/docker-compose
- License text, Gotcha 2: github.com/langgenius/dify/blob/main/LICENSE
- Hetzner Cloud pricing (cost estimate): www.hetzner.com/cloud/regular-performance
- GitHub stars, commits and releases: GitHub REST API, fetched
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.