The dify free plan is one of the most generous starting points among AI app builders — and also one of the easiest to misunderstand. On paper, you get a free cloud workspace, message credits, and room to build real apps. In practice, the free tier is a trial-sized Sandbox with a hard credit cap, and the real long-term free route is self-hosting the open-source Community edition on your own server.
That distinction matters. If you sign up expecting unlimited free usage, you will hit the wall fast. If you understand exactly what the Sandbox gives you — and when it makes sense to switch to self-hosting — you can build and ship working AI apps without paying anything at all. This guide covers what the free plan includes, its real limits, what the paid plans cost, and how to choose between cloud and self-hosting, using figures checked on Dify’s official pricing page on 12 November 2026.

Table of Contents
What Is Dify?
Dify is an open-source platform for building applications powered by large language models. Instead of writing code to wire up a model, a database, and a user interface, you assemble your app visually: pick a model, connect your documents, design a workflow, and publish the result as a web app or an API.
The platform covers four main kinds of app. Chatbots answer questions from your own documents, a setup known as retrieval-augmented generation (RAG). Agents use tools, call APIs, and carry out multi-step tasks. Workflows chain model calls, conditions, and integrations into automated processes. And text generation apps produce structured output, such as summaries or reports, from a prompt and a set of inputs.
If you are comparing the dify free plan with other free AI builders, the question that matters is what you can build before you pay anything — and Dify’s answer is unusually generous.
Dify’s name comes from “Do It For You”, and the product has grown into one of the most widely used open-source projects in this space, with more than 161,000 stars on GitHub. Dify is unusual among AI app builders: the same core software is available both as a hosted cloud service and as free software you can run yourself. The official Dify homepage presents these as two equal ways to deploy the platform, not as a free demo and a paid product.
What You Get on the Dify Free Plan
Dify’s free cloud tier is called the Sandbox plan. It costs nothing — start it from Dify Cloud with an email sign-up, no card required. Here is what the official pricing page lists for it.
The headline allowance is 200 message credits. Credits let you try models from OpenAI, Anthropic, Gemini, xAI, and Tongyi without connecting your own API key. Each message consumes credits based on the model type, so a reply from a large model costs more than one from a small model. The key detail: the 200 credits are a one-time allowance, not a monthly refill. The pricing page lists the paid plans’ credits as “per month” and the Sandbox’s as a flat 200 — once they are gone, they are gone.
Alongside the credits, the Sandbox gives you one team workspace, a single team member, and room for up to 5 apps. You can import up to 50 knowledge documents, with 50 MB of knowledge data storage for the high-quality indexing mode — enough for a small helpdesk bot trained on a product manual, a personal research assistant built on a handful of PDFs, or a couple of workflow experiments.
There are also usage caps that shape what you can run day to day. The API rate limit is 5,000 calls per month, trigger events — the events that start workflows automatically through a plugin, schedule, or webhook — are capped at 3,000, and each workflow can have at most 2 triggers. Log history is kept for 30 days, and the annotation quota for manually improving chat answers is 10.
Put together, the dify free plan Sandbox is a genuine trial: enough to build a working app, test it with real users, and decide whether Dify fits your project. It is not a free tier you can run a production app on indefinitely, because the 200 credits will run out. When they do, switch to your own API key and keep using the platform, paying the model provider directly instead of spending Dify credits.
How to Use the Dify Free Plan: Step by Step
Getting started with the dify free plan takes minutes. The steps below assume you are starting from scratch, with no API keys and no documents prepared.

Step 1: Create your free Dify Cloud account
Go to cloud.dify.ai and sign up with your email. You land in your workspace with the Sandbox plan active — nothing to install, no payment method to add.
Step 2: Choose the kind of app to build
From the studio, pick Chatbot for an assistant that answers from documents, Agent if the app needs to use tools and take actions, Workflow for an automated multi-step process, or Text Generator for structured output. For a first project, a chatbot is the simplest choice, because it shows off Dify’s knowledge features with the least setup.
Step 3: Connect a model
Your 200 message credits work with models from several providers, so you can start without an API key. Try a smaller, cheaper model first while testing, and save larger models for replies that need their reasoning. If you already have an OpenAI or Anthropic key, add it to bypass the credit limit entirely.
Step 4: Add your knowledge documents
Upload the documents your app should answer from — product guides, policy PDFs, FAQs, or notes. The Sandbox allows 50 documents and 50 MB of high-quality indexed storage. Split long documents into clear sections before uploading, because clean source material produces noticeably better answers than a single dense file.
Step 5: Design the workflow or prompt
Write the system prompt that tells the model how to behave: its role, its tone, and what to do when it does not know an answer. In a workflow app, drag blocks onto the canvas — retrieve knowledge, call the model, apply a condition, format the output. Keep the first version simple and add steps only after the basic flow works.
Step 6: Test, then publish
Use the built-in preview to run real questions through the app and read the answers carefully. Fix the prompt or the source documents when answers go wrong, rather than adding more steps. When the app behaves well, publish it as a web app you can share with a link, or expose it through Dify’s API.
Dify Free Plan Limits You Should Know About
The Sandbox is free, but the dify free plan’s limits are real and they arrive sooner than most people expect. Knowing them in advance saves you from building something the plan cannot support.
The 200 credits are one-time. This is the limit that catches almost everyone. Two hundred credits sounds like plenty until you start testing, because every test message spends credits, and heavier models spend them faster. A few afternoons of serious testing can use up the whole allowance — so test with a cheap model, batch your test questions, and add your own API key before you invite real users.
One member, one workspace. The Sandbox is a solo workspace — you cannot invite a teammate, so collaborative building is off the table until you upgrade.
Five apps and 50 documents. Five apps is enough for experiments, but a small business quickly wants more — a support bot, an internal search tool, a content helper, a workflow or two. The 50-document cap is the same shape: fine for one product’s documentation, tight for a whole company’s knowledge base.
Logs disappear after 30 days. On the Sandbox, conversation logs older than 30 days are deleted, and upgrading later does not bring them back. Export anything important before the window closes.
API and trigger caps. The 5,000 API calls per month and 3,000 trigger events are generous for testing but can bind a small public app, so keep an eye on the usage counters in your workspace.
Other platforms follow the same pattern: a free tier built for evaluation, with real work on paid plans. Our guide to the LangSmith free plan shows a similar shape, and the Groq free plan does the same with rate limits rather than a fixed credit pool.
Dify Pricing: What the Paid Plans Cost
When the dify free plan’s Sandbox runs out, Dify Cloud offers two paid tiers, both priced per workspace. All prices below were read from Dify’s official pricing page on 12 November 2026, and prices exclude applicable taxes. Check the live page before buying, because plan details can change.

Professional costs $590 per workspace per year on annual billing, or $59 per workspace per month on monthly billing. It raises monthly message credits to 5,000, allows 3 team members, 50 apps, and 500 knowledge documents, with 5 GB of knowledge storage and unlimited log history. Trigger events rise to 20,000 per month, the annotation quota to 2,000, and the Dify API rate limit is removed. Dify marks this as its most popular plan, fitting an independent developer or small team running a production app.
Team costs $1,590 per workspace per year on annual billing, or $159 per workspace per month on monthly billing. It raises monthly credits to 10,000, members to 50, apps to 200, and knowledge documents to 1,000, with 20 GB of storage, unlimited trigger events, and a 5,000 annotation quota — the tier for a medium-sized team that needs real collaboration and higher throughput.
Enterprise is a custom-priced tier for organisations that need advanced security, compliance, and dedicated support, adding single sign-on, multiple workspaces with enterprise management, commercial licence authorisation, and negotiated service levels.
| Plan | Price | Message credits | Members | Apps | Knowledge documents |
|---|---|---|---|---|---|
| Sandbox | Free | 200 (one-time) | 1 | 5 | 50 |
| Professional | $590/year or $59/month | 5,000/month | 3 | 50 | 500 |
| Team | $1,590/year or $159/month | 10,000/month | 50 | 200 | 1,000 |
| Community (self-hosted) | Free | None — use your own keys | — | — | — |
| Enterprise | Custom | Custom | Custom | Custom | Custom |
One cost sits outside every plan: the model bill. Dify’s credits cover model use only up to the plan’s allowance; beyond that, you connect your own provider key and pay the provider directly. A heavy app’s model bill can easily exceed the plan price, so factor it in when comparing Professional with self-hosting.
Dify Free Plan vs Self-Hosting: When to Switch
Dify’s second free route is the Community edition: the same core platform, free to run on your own infrastructure, under the Dify Open Source License. The pricing page lists it as free with a single workspace and all core features released under the public repository, and the Dify documentation explains how to deploy it with Docker Compose in minutes.
Self-hosting removes the credit problem entirely — no 200-credit cap, no 5-app limit, no 30-day log window. What replaces those limits is a different set of costs: a server, storage for your documents and vector data, and the model API bill for every call. Dify prices none of those, so Community is free software, not a free service.
So when should you switch? Stay on the dify free plan Sandbox while you are learning Dify, testing an idea, or building a first app to show someone — 200 credits is enough to find out whether the platform fits. Move to self-hosting when the credit cap becomes the obstacle: a working app with real users and a steady stream of model calls that would cost more on a paid cloud plan than on your own server plus API keys.
There are two other moments when self-hosting wins. The first is privacy: if your documents cannot leave your own infrastructure, a hosted workspace is not an option. The second is scale on a budget: a personal project with heavy use is often cheaper on a small virtual server with your own keys than on a $590-a-year cloud plan, provided you are comfortable keeping a Docker deployment running and updated.
Stay on Dify Cloud instead if you do not want to operate infrastructure. Server updates, backups, uptime, and troubleshooting become your job with self-hosting, and for a business app that trade is often a bad one. The paid plans also buy team members, higher limits, priority processing, and support. A useful middle path: prototype on the Sandbox, then self-host only once the app has proven its value and you know your real usage.
One licensing detail deserves a careful read before you build a commercial product on the Community edition. Dify’s open-source licence is a modified Apache 2.0 licence, and the pricing page lists “Commercial License Authorization” as an Enterprise-only feature — a signal that running Dify as a multi-tenant commercial service needs Dify’s written permission. For personal and internal projects this is not an issue, but if you plan to sell access to Dify itself, read the licence terms first.
Dify Free Plan: Pros and Cons
| Pros | Cons |
|---|---|
| Genuinely free to start — no card, no trial clock | 200 message credits are one-time, not monthly |
| Full core platform to test: chatbots, agents, workflows, RAG | Single member and single workspace on the Sandbox |
| Use your own API key to keep going after credits run out | Logs deleted after 30 days |
| Open-source Community edition offers a real free path long-term | Only 5 apps, 50 knowledge documents, 50 MB storage |
| Publish as a web app or API with no code | Self-hosting shifts server and model costs to you |
| Try models from several providers through one interface | API and trigger caps can bind a busy public app |
For comparison, the Cursor free plan works the same way in spirit — a small free allowance, with real daily use behind a paid tier — but Cursor’s allowance refreshes while Dify’s Sandbox credits do not, which makes Dify’s free tier the tighter of the two for ongoing use.
Dify Free Plan FAQs
Is Dify really free?
Yes, in two ways. The dify free plan on Dify Cloud is a free Sandbox plan with 200 one-time message credits, 5 apps, and 1 team member. Separately, the Community edition is free open-source software you can self-host on your own server, with no Dify subscription — though you pay for the server and model API usage yourself.
How many free messages do you get on Dify?
The Sandbox plan includes 200 message credits, a one-time allowance, not a monthly refill. Credits are consumed based on the model type, so how many messages you get depends on which models you use. Once they are used up, switch to your own API key and keep using Dify, paying the model provider directly.
What happens when the 200 free credits run out?
Your apps stop being able to use Dify’s included credits, but nothing is deleted. You have three options: connect your own model provider API key and continue on the Sandbox, upgrade to Professional for 5,000 credits a month, or self-host the Community edition on your own keys. Most people testing a serious project take the first option, because it costs nothing extra beyond the model bill.
Is Dify better than building with the OpenAI API directly?
It depends on what you are building. Dify gives you a visual builder, knowledge management, workflow tools, publishing, and logging without writing that plumbing yourself, which saves a large amount of time for chatbots and RAG apps. If you need full control over every detail, working with the API directly gives you that freedom at the cost of building everything yourself.
Should I self-host Dify or use Dify Cloud?
Use Dify Cloud while learning, prototyping, or building with a team that does not want to manage servers. Self-host when you have steady usage that would cost more on a paid cloud plan, when your documents cannot leave your own infrastructure, or when you want unlimited apps and logs without a subscription. The Community edition deploys with Docker Compose, but updates, backups, and uptime become your responsibility.
The takeaway:
The dify free plan is two separate offers. The Sandbox is a free trial with a hard edge: 200 one-time message credits, 5 apps, 50 knowledge documents, and 30 days of logs. It is genuinely useful — you can build a real app, test it with real questions, and publish it — but it is not a free tier you can live on. The second offer, the self-hosted Community edition, is the one that lasts: free software with no credit cap, in exchange for running a server and paying your own model bills.
The practical path is simple. Start on the dify free plan Sandbox and build your first app there. Add your own API key the moment the 200 credits start to feel tight. Then, when the app has real users and you know your usage, choose between the Professional plan and self-hosting based on whether you would rather pay Dify to run things or run them yourself.