Tools/langgenius/dify

dify

Production-ready platform for agentic workflow development.

162.2k ★+354/wkestablishedTypeScriptDify Open Source License (modified Apache 2.0)trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Oct 2026

Dify is a visual builder for AI apps: chatbots, RAG over your documents and agent workflows on a visual canvas, each exposed as an API. It works with hundreds of hosted and local models. Picture n8n rebuilt around LLMs. The Community Edition is free to self-host.

Self-hosting starts with docker compose up -d on a box with 2 cores and 4 GiB of RAM, but the default stack is about 15 containers: API, workers, web, Postgres, Redis, code sandboxes, a plugin daemon, SSRF proxies, Nginx and Weaviate. Read release notes before upgrading: 1.17.1 required a staged manual Weaviate upgrade or vector search could silently break.

Dify Cloud has a free Sandbox tier. Professional is $59 per workspace a month for 3 members; Team is $159 a month for 50. Self-hosted Community is one workspace, and SSO is Enterprise only, custom priced. Solo: self-host free. Small teams: self-host, or Professional to skip the ops. Larger orgs: Enterprise once you need SSO.

The catch is the license: Apache 2.0 plus conditions. No multi-tenant hosting and no removing the Dify logo from the frontend without a commercial license. Security has been rough too, with a run of cross-tenant bugs through 2026. Patch fast.

Free vs Self-Hosted vs Paid

open core

Free: Self-hosted Community Edition: all core features in the public repo (workflow canvas, RAG pipeline, agents, prompt IDE, model management, APIs), limited to a single workspace and bound by the Dify Open Source License. Dify Cloud Sandbox is also free: 200 message credits, 1 member, 5 apps, 50 knowledge documents, 50MB storage, 30 days of logs, 5,000 API calls a month.

Self-hosted: Docker Compose on at least 2 CPU cores and 4 GiB RAM. The default profile starts about 15 services (api, api_websocket, worker, worker_beat, web, Postgres, Redis, two sandboxes, plugin_daemon, agent_backend, two Squid SSRF proxies, Nginx, Weaviate); MySQL and about 15 other vector stores are optional profiles. You bring your own model API keys. Upgrades can need manual steps: 1.17.1 required a staged Weaviate upgrade from 1.27.0 to 1.39.2. The license forbids running it as a multi-tenant service (one tenant = one workspace) or removing the logo and copyright from the web frontend without a commercial license. The pricing page frames Community as for "non-commercial projects", but the LICENSE itself allows commercial use outside those two conditions.

Paid: Dify Cloud Professional: $59 per workspace per month or $590 per workspace per year (annual saves 17%), 5,000 message credits a month, 3 members, 50 apps, 500 knowledge documents, 5GB storage. Team: $159 per workspace per month or $1,590 per year, 10,000 message credits a month, 50 members, 200 apps, 1,000 documents, 20GB storage. Prices exclude tax. Enterprise (self-hosted or cloud): custom pricing, adds a commercial license, multiple workspaces, SSO, negotiated SLAs and official support.

Self-hosting is free for a single workspace if you keep the logo and don't resell it as multi-tenant SaaS. Cloud runs $59 or $159 per workspace a month ($590 or $1,590 a year), and SSO or multiple workspaces means an Enterprise contract.

What to do by team size

Solo
free self-hosted Community Edition, or the free Cloud Sandbox to try it
Small team
free self-hosted, or Cloud Professional at $59 per workspace a month for 3 members
Medium team
Cloud Team at $159 per workspace a month for up to 50 members, or self-host if one workspace and no SSO is fine
Large team
Enterprise, custom pricing, for SSO, multiple workspaces and a commercial license
Self-hosting ops:significant
View pricing page →

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
79/100 · B+
Adoption30/30
Maintenance25/25
Community9/20
License5/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

High adoption: 138,010 starsActive community: 21,633 forks

License: Dify Open Source License (modified Apache 2.0)

Commercial use allowed, but you may not run it as a multi-tenant service without written permission, and the LOGO and copyright must stay.

Commercial use: ✗ Restricted

About

Owner
LangGenius (Organization)
Stars
162,233
Forks
25,625

Explore Further

More tools in the directory

Featured in The Open Source Drop #17