Worked example: Dify team VPS sizing
The default Dify team app starts from the official Dify minimum of 2 CPU cores and 4 GiB RAM, then adds the standard workload headroom of 1 vCPU and 2 GiB RAM. With 8 users and 500 daily actions, the planning requirement is 3 vCPU and 6 GiB RAM.
Storage starts with the 50 GB Dify planning base, adds 10 GB of documents, and adds 500 actions x 30 days x 64 KB = 960,000 KB, or about 0.9 GB of retained execution data. With 20% headroom, that rounds up to 74 GB.
The smallest DigitalOcean Basic tier in the reference table that clears 3 vCPU, 6 GiB RAM, and 74 GB storage is the 8 GB / 4 vCPU / 160 GB tier at $48 per month.
Weekly backups at 20% add $9.60, so the default monthly estimate is $57.60 and the 12-month run rate is $691.20 before taxes, managed databases, GPU hosts, monitoring, email, domains, or engineering time.
How we size the VPS
The calculator starts from an app resource floor, adds workload headroom, then adds user and daily-volume pressure. It estimates retained execution storage from daily actions, retention days, and average retained data per action, then adds documents, local model files, and 20% storage headroom.
The final VPS recommendation is the smallest reference tier that clears the estimated CPU, RAM, and storage requirement. Monthly cost is VPS price plus backup percentage plus optional database and GPU host costs.
What size VPS do I need for Dify?
Dify has a higher floor than a simple web app because the Docker Compose stack includes multiple services and dependent components. The calculator starts with the official minimum, then moves the default team preset to a larger tier for practical headroom.
What size VPS do I need for n8n?
Small n8n installations can start lean, but production workloads should plan for execution data growth, backups, and Postgres. Queue mode and workers are a different scaling step, so use the database-cost input when you move beyond one simple container.
What size VPS do I need for Open WebUI?
Open WebUI as a front end can run separately from inference. If it only connects to external APIs or a remote model server, the VPS can stay modest. If you bundle local inference or use a GPU host, model storage, VRAM, and GPU cost dominate the decision.
When do I need a GPU server?
You need a GPU server when the model must run on your own infrastructure with acceptable latency and concurrency. If a hosted API or separate inference endpoint is acceptable, keep the web app VPS separate and size GPU hardware with a local model fit checker.