Dify review: building AI apps on your own servers

Dify lets your team build AI apps that answer from company documents, with hosted and self-hosted options. It suits a business with a technical lead who will maintain the apps; running the software yourself still requires a licence check and a clear account of where the chosen AI model sends data.

How this review was prepared. This review draws on the vendor’s published documentation, linked in the sources. It is not a controlled test of the tool. Check the sources for the account and features you plan to use.

What Dify is, and the three ways to run it

Picture a 40-person architecture practice. The IT lead has Dify running on a test server, loaded with the design standards and technical notes, and staff can ask a chatbot about them. The pitch to the partners: move everyone onto it, keep the documents on the practice's own server and avoid another subscription. Before they back it, they need to know which edition they'd be buying into and who keeps it working.

Dify is a visual builder for agents and workflows: software that follows a set of steps to answer a question or do a job. A knowledge base is the collection of files it searches. Here that's the approved design standards, each with someone who owns its revisions.

Enterprise runs in a private cloud, on your own servers or air-gapped. A private cloud is your own area of a provider such as AWS or Azure; air-gapped means cut off from outside networks altogether. Whichever route the partners pick, the IT lead still builds and tests the standards chatbot.

Read the Botpress review

What Dify does well

The IT lead gets useful building tools for the standards chatbot. Dify describes a visual editor, document knowledge bases and ways to publish an app or put it inside another site. It also provides logs and monitoring, so the lead has a record to investigate when an answer misses the relevant technical note.

  • Agents built in a visual editor
  • Answers from your own documents
  • Logs show what each app did

Dify's model-provider documentation explains another choice: use its Cloud credits or supply your own provider key. That key is like an account credential that lets software call an AI model. With your own key, usage is billed through your provider account. That bill sits outside Dify, so count it when the partners weigh up avoiding another subscription.

Read the StackAI review

What self-hosting adds in upkeep

It's 6pm on a Friday, a security patch is out and the design team needs the chatbot on Monday. Once staff depend on it, someone has to patch, back up and upgrade the server. Dify's Enterprise plan lists official updates and maintenance by Dify, so you'd agree with Dify which jobs it covers before assuming the IT lead does the lot.

Dify Cloud
  • Dify runs the servers
  • Plan limits on members, apps and documents
  • Support depends on your plan
Hosting Dify yourself
  • Assign patching, backups and upgrades
  • Business use points to the Enterprise licence
  • External model calls send data to that provider

Dify describes its Community Edition as open source, with licence conditions. You'll want to read the pricing page wording against how the practice plans to use it. Enterprise lists a commercial licence. A test installation that works doesn't settle whether you may use it for client work.

The privacy policy says that, with your own key, data goes to your chosen model provider under your agreement. So keeping the documents on your own server still leaves a second route out of the building to check. The National Cyber Security Centre's cloud security principles give whoever hosts the service a checklist, including protecting data in transit and separating customers' information.

Compare the upkeep of open-source and hosted tools

See the self-hosting questions for n8n

Who Dify suits

Dify suits the architecture practice if the IT lead has time, cover and a clear reason to control the hosting. The partners should be able to say that reason in a sentence, such as a client requirement about where files are held. The fit below is for Dify as a tool your team builds on.

A good fit if

  • A technical lead has time to own the setup
  • You must control where the software runs
  • You will assess Enterprise for commercial self-hosting
  • You want to build several apps over time

Probably not yet if

  • Nobody can patch and back up the server
  • You only want answers from your documents
  • Client work depends on an unchecked Community licence

Read the Dify and Flowise comparison

Where a managed service fits

For partners whose priority is getting useful answers from the design standards, Struan sets up and looks after AI for that job. We build one home for what the practice knows and set permissions around who sees it. These four questions help the partners decide which route fits.

  1. Explain why self-hosting appeals

    Is it data location, cost, control or curiosity?

  2. Check the edition you need

    Read Community, Cloud and Enterprise against the vendor plans.

  3. Name the maintenance owner

    Include patching, backups, upgrades and holiday cover.

  4. Compare a managed setup

    AI in your existing work tools, kept in step with your business.

Whether or not the apps run on your own servers, we recommend whichever AI suits the job and work with the Copilot or ChatGPT you already have. Staff use their AI in Teams or Google Workspace, with no new software to log into. We train the team and keep the setup in step with your business, so nobody at the practice is patching a server on a Friday night. Your data stays with you; we never sell, share or use it for anything you haven't approved.

Book a sense-check call with a design-standard question that keeps reaching the partners. We'll talk through the source documents, who should see them and what the practice needs from ongoing support.

Questions and answers

Is Dify free for business use?

Dify lists a free Cloud Sandbox and a free self-hosted Community Edition. Its plans page describes Community as intended for non-commercial projects and lists a commercial licence under Enterprise. Check that wording and the licence against your intended business use before treating a test installation as a staff service.

Does self-hosting Dify keep our data in the UK?

Self-hosting controls where your installation runs. If it calls an external AI model, data goes to that provider under the relevant agreement. Dify's privacy policy explains this for customers using their own keys. Dify's site does not say whether Dify Cloud offers a UK-only region.

What is the difference between Dify Cloud and Dify Enterprise?

Cloud is hosted by Dify and has plan limits on items such as members, apps and documents. Enterprise offers deployment arrangements including your own cloud account or servers, with additional controls and official maintenance listed. Ask the supplier to specify who runs each part of your proposed installation.

Will Dify train AI models on our documents?

Dify's privacy policy says it doesn't train AI models itself or use AI interaction data for training. It also says providers handling Dify-managed models are prohibited from training on that data. With your own provider key, the agreement you hold with that provider governs its use of the information.

Sources

AI agent builder: choose a tool for your first job

Choose an AI agent builder for recurring admin, document answers or customer chat.

Where a managed service fits

Want Dify working for your team? Bring a recent piece of work to a call. We’ll show you how we’d connect the right files, set the rules and help your people use it.

See how we look after your data and access