BASE

Dify

Dify

Self-hosted development platform · Free + paid

An AI application platform with a workflow editor, retrieval, and APIs: it helps connect models, knowledge, and tools into your product.

Also known as: langgenius/dify; dify; agentic-workflow-platform

Resource illustration: Dify

Open resource ↗

What you can use for free

Self-hosted backend and AI workflows within the modified license; models are licensed separately.

Paid features and costs

Exceptions for multi-tenancy and branding changes require a separate commercial license. Dify Cloud offers a limited free Sandbox and paid plans; external model APIs and self-hosting may require a separate budget depending on the selected provider and infrastructure.

Access and limitations

Self-hosted backend and AI workflows within the modified license; models are licensed separately. Exceptions for multi-tenancy and branding changes require a separate commercial license. Dify Cloud offers a limited free Sandbox and paid plans; external model APIs and self-hosting may require a separate budget depending on the selected provider and infrastructure.

Use cases

  • Create an AI workflow with retrieval and tools
  • Connect retrieval, a model, and required tools in the editor and test the resulting API call

Example workflow

A possible workflow; this is not a report of hands-on testing.

Create an AI workflow with retrieval and tools.

Before you start

  • One working workflow and test data.
  • The project's server environment and integrations.

Steps

  1. Choose a model provider and prepare workflow knowledge and inputs.
  2. Connect retrieval, a model, and required tools in the editor and test the resulting API call.
  3. Configure permissions, backups, and monitoring before production use.

Check your result

  • The workflow works with minimal permissions and error handling.
  • Compare the chosen hosting method's terms with the task; account for infrastructure and external service costs.

Choosing Dify

Create an AI workflow with retrieval and tools

Choose this when

  • Create an AI workflow with retrieval and tools
  • Connect retrieval, a model, and required tools in the editor and test the resulting API call

Requirements

  • The documented self-hosted quick start requires at least 2 CPU cores, 4 GiB RAM, Docker, and Docker Compose v2.24.0 or later.

Things to consider

  • Costs and limits of free use: Exceptions for multi-tenancy and branding changes require a separate commercial license. Dify Cloud offers a limited free Sandbox and paid plans; external model APIs and self-hosting may require a separate budget depending on the selected provider and infrastructure.
  • Terms of use: Modified Apache-2.0: multi-tenant/workspace hosting requires written permission; frontend logos/copyright cannot be changed without a commercial license. The frontend restriction does not apply to backend-only use.

Frequently asked questions

What can you use for free in Dify?

Self-hosted backend and AI workflows within the modified license; models are licensed separately.

What additional costs might arise with Dify?

Exceptions for multi-tenancy and branding changes require a separate commercial license. Dify Cloud offers a limited free Sandbox and paid plans; external model APIs and self-hosting may require a separate budget depending on the selected provider and infrastructure.

What terms of use matter for Dify?

Modified Apache-2.0: multi-tenant/workspace hosting requires written permission; frontend logos/copyright cannot be changed without a commercial license. The frontend restriction does not apply to backend-only use.

How do you get started with Dify?

Choose a model provider and prepare workflow knowledge and inputs. Connect retrieval, a model, and required tools in the editor and test the resulting API call. Configure permissions, backups, and monitoring before production use.

How can I start Dify and connect knowledge to an application?

Quick start uses Docker Compose, a copy of .env.example, and subsequent initialization through /install. The RAG pipeline extracts text, including from PDF and PPT; workflows, models, and applications have APIs for connecting to your logic.

License

Modified Apache-2.0: multi-tenant/workspace hosting requires written permission; frontend logos/copyright cannot be changed without a commercial license. The frontend restriction does not apply to backend-only use.

Custom license — this product's terms apply

The license name does not imply standard MIT or GPL rights. Its own text determines permission to modify, work commercially, distribute, and use outputs. Follow the use case stated for the product above and the primary source for its terms.

Technologies and topics

  • Dify
  • service
  • Development

Sources

Other resources