Dify is a platform to "develop, deploy, and manage autonomous agents, RAG pipelines, and more": build AI chatbots, agents and workflows visually, on Dify Cloud or self-hosted for free. Cloud Professional $59 a month.
Facts checked Nov 26, 2026 against LangGenius, Inc.'s own pages·How we review tools
Overview
What is Dify? Overview and who it is for
Dify says it helps you "develop, deploy, and manage autonomous agents, RAG pipelines, and more for teams at any scale." It is made by LangGenius, Inc. and comes as Dify Cloud, a free open-source Community edition you host yourself, and an Enterprise edition.
In the Studio you build five kinds of apps: chatbots, text generators, agents, chatflows and workflows. The visual workflow builder joins steps such as model calls, knowledge lookups, code and tools, and workflows can start from a schedule, a webhook or a plugin trigger. The Knowledge pipeline turns your documents, Notion pages or websites into a searchable base for RAG.
Dify works with many model providers, including OpenAI, Anthropic, Gemini and xAI, through your own API keys or Dify's message credits, and the Marketplace adds tools, models and integrations. You publish apps as a web app or an API, watch logs, and can connect LangSmith or Langfuse for tracing. Dify shows SOC 2, ISO 27001 and GDPR badges.
Who should use Dify?
Developers and AI engineers
People who want a visual builder for agents and RAG without writing all the plumbing.
Companies building internal assistants
Teams making HR, IT or support assistants on their own documents.
Organizations that must self-host
Companies that need data to stay on their own servers with the Community or Enterprise edition.
Product teams
Teams that want to prototype an AI feature and publish it as an API.
Our verdict
Dify is a practical way to build your own AI apps without starting from code: drag together a workflow or agent, connect your documents and models, and publish it as a web app or API. Self-host it free, or use Dify Cloud from $59 a month if you would rather not run servers.
A good fit for
Teams building internal AI assistants
Developers who want a visual agent builder
Companies that need to self-host
People building chatbots on their own documents
Look elsewhere if
You just want a ready-made chatbot to use
You need simple app-to-app automations (use Zapier or Make)
You cannot manage model API keys and costs
How does Dify work?
Start on Dify Cloud or self-host
Sign up for the free Sandbox on Dify Cloud, which includes 200 message credits, or install the open-source Community edition on your own server from GitHub. Add your model provider API keys if you want to use your own.
Create an app in the Studio
Choose a chatbot, agent, chatflow, workflow or text generator. In the visual builder, connect steps such as a model call, a knowledge lookup, a code block or a tool, and write the prompts for each.
Add your knowledge
Upload documents or sync Notion pages and websites into a knowledge base. Dify splits and indexes them so your app can find the right passages and answer from your own content.
Test, publish and monitor
Test in the preview, then publish as a web app with your branding or as an API. Watch logs and usage, add annotations to improve answers, and connect LangSmith or Langfuse for detailed tracing.
Dify key terms, explained simply
Workflow
A chain of steps that runs from start to finish.
Chatflow
A workflow designed for conversations.
Agent
An app that decides which tools to use to reach a goal.
RAG
Answering from your own documents, found by search.
Message credits
Dify Cloud's allowance for model calls.
Self-hosting
Running Dify on your own servers.
Small business fit
Is Dify right for a small business?
Best for small business
For specific needs
Useful for the jobs below, but not one of our first picks for a small business.
Best for beginners
Better with some experience
Expect a learning curve, or ask someone technical to help with the first setup.
Free plan
Yes
Enough to test the main job before you pay. Limits are in the pricing section.
Real monthly cost
$59 / workspace / month
Professional, billed annually. On top: AI model usage is billed separately by the model provider.
Free plan and prices come from the vendor's own pricing page. Real monthly cost is the plan a small business usually needs, for 3 people when it is priced per user. Small business fit, beginners, setup and use cases are our assessment, not a hands-on test. How we review tools
Features
Dify features: what you can do with it
Dify covers building, connecting and running AI apps. Here is what it does and which plan you need.
Visual workflow builder
Drag together agentic workflows.
Model, knowledge, code and tool steps
Schedule, webhook and plugin triggers
Chatflows for conversations
Free
Agents and chatbots
Five app types in the Studio.
Chatbot, text generator, agent
Chatflow and workflow
5 apps on Sandbox, 50 on Professional
Free
Knowledge pipeline (RAG)
Answer from your own content.
Upload files, Notion and website sync
External knowledge API
Choice of vector database on Enterprise
Free
Models and Marketplace
Use the models and tools you want.
OpenAI, Anthropic, Gemini, xAI and more
Your own API keys and load balancing
Marketplace tools and plugins
Free
Publish as web app or API
Put your app in front of users.
Web app with your logo
API for your product
No API rate limit on paid Cloud plans
Free, more on paid
Enterprise
Private deployment and governance.
SSO with SAML, OIDC or OAuth2
Audit logs and high availability
Local models
Enterprise
Pricing
Dify pricing: plans and prices
Dify Cloud plans are priced per workspace, excluding tax. The Community edition is free to self-host.
Sandbox
$0/ month
Free on Dify Cloud
200 message credits
1 team member, 5 apps
50 knowledge documents, 50MB
30 days of logs
Our pick for most people
Professional
$59/ workspace / month
$590 a year
5,000 message credits a month
3 members, 50 apps
500 documents, 5GB
Unlimited logs, no API rate limit
Team
$159/ workspace / month
$1,590 a year
10,000 message credits a month
50 members, 200 apps
1,000 documents, 20GB
Unlimited trigger events
Community
$0self-hosted
Open source
Run on your own servers
Single workspace
All core features
Enterprise edition by quote
Prices checked Nov 26, 2026 on the official pricing page. Prices in US dollars from dify.ai/pricing on November 26, 2026, excluding tax. Message credits per response depend on the model (for example 1 for gpt-4o-mini and 10 for Claude Sonnet 4.6); when they run out you can switch to your own API key. Enterprise is priced by sales. Cancellations take effect at the end of the billing cycle. See current prices (opens in a new tab)
Platforms
Where you can use Dify: apps and platforms
Dify Cloud (web)
Self-hosted Community edition
Enterprise private deployment
Publish as web app
Publish as API
Privacy and security
Is Dify safe? What happens to your data
Certifications
Dify's site shows GDPR, SOC 2 and ISO 27001 badges.
Cloud
Dify says Dify Cloud encrypts data in transit and at rest, stored in its managed cloud region.
Self-hosted
With the Community or Enterprise edition your data stays on your own infrastructure.
Pros and cons
Dify pros and cons: strengths and weak spots
What it does well
Free and open source to self-host
Visual builder for agents and RAG
Works with many model providers
Publish as a web app or API
Where it falls short
Cloud limits are per workspace and add up
Message credits vary by model
Self-hosting needs technical skills
App version control still marked coming soon
How to use it
How people use Dify, step by step
Practical ways people use Dify. Each guide lists the steps, something to try, and the plan you need.
Get started in minutes
Sign up for the free Sandbox at dify.ai.
Create a chatbot from a template.
Add a knowledge base with a few of your documents.
Build a chatbot on your documents
Free
Answer staff questions from your policies.
Create a knowledge base and upload your PDFs.
Create a chatbot and link the knowledge.
Publish it as a web app.
Try this
Answer only from the HR handbook. If the answer is not there, say so and suggest who to ask.
Automate a content workflow
Professional
Turn input into a finished draft.
Create a workflow.
Add steps for research, outline and draft.
Run it from a schedule or webhook.
Try this
Take a product name, find its key features in our docs, and write a 150-word description.
Build an agent with tools
Professional
Let the agent choose what to do.
Create an agent app.
Add tools from the Marketplace.
Test with real questions.
Try this
Check the order status with the orders tool, then draft a reply to the customer.
Self-host for private data
Free
Keep everything on your servers.
Install the Community edition.
Connect your own models.
Invite your team.
Try this
Set up Dify on our server with our own model API keys.
Yes. The Sandbox plan on Dify Cloud is free with 200 message credits, and the Community edition is free to self-host.
How much is Dify Cloud?
Professional is $59 a month per workspace ($590 a year) and Team is $159 a month ($1,590 a year), excluding tax.
Is Dify open source?
The Community edition is open source under the Dify Open Source License, on GitHub.
Which models can I use in Dify?
Many, including OpenAI, Anthropic, Gemini, xAI and Tongyi models, with your own keys or Dify's message credits.
Can I run Dify on my own servers?
Yes, with the free Community edition or the Enterprise edition.
Sources and how we checked
We have not run a hands-on test of Dify. Every fact on this page comes from the vendor's own pages below, checked on Nov 26, 2026. Plans and models change often, so confirm prices on the official page before you buy. How we review tools