Skip to content

Umami analytics: self-host or pay for Umami Cloud?

Nick Potts, who builds Ployz. Published , updated .

TL;DR: Umami Cloud is free up to 100,000 events a month for one website, then $20 a month for 1 million events (Umami pricing). Self-hosted Umami is free and MIT-licensed, and it runs on a $7 server next to Postgres. At 1 million page views a month that's $20 on Umami Cloud, $69 on Plausible and $60 on Fathom.

  • Pick Umami Cloud's free plan if you track one site under 100,000 events a month. A server can't beat free.
  • Pick Umami Cloud Pro if you're under a few million events, don't run a server, or want email reports.
  • Pick Plausible or Fathom if you want hosted analytics past about 5 million events (Plausible), or for many tiny sites on one $15 plan (Fathom).
  • Self-host Umami if you already rent a server, track several sites, or pass a million events. The bill doesn't grow with your traffic.
  • Pick Ployz if you want your coding agent to set up Umami and Postgres on that server. Every deploy, restart or delete your agent asks for waits for you to approve.

Umami is an open-source, cookieless web analytics tool: a script tag on your site sends page views and events to an Umami server, which stores them in Postgres and shows page views, referrers, countries, devices, campaigns, goals, funnels and retention.

How does Umami compare with Plausible, Fathom and Google Analytics?

Umami Cloud is the cheapest paid option from 100,000 to about 4 million events a month, because Pro's $20 covers a million events. Plausible gets cheaper from about 5 million. Google Analytics is free at any size.

Umami CloudPlausibleFathomGoogle Analytics 4
Free plan100K events, 1 siteNo, 30-day trialNo, 7-day trialYes
1M page views$20$69 (Starter)$60$0
Sites1 / 20 / unlimited1 / 3 / 1050 or more per tierMany
Custom events count toward limitYesYesYesNo limit to hit
Self-hostableYes, MITYes, Community EditionNoNo
SourcePricingPricing, what countsPricingGoogle

What each costs by traffic, page views only, no custom events:

Monthly page viewsUmami CloudPlausible (1 site)FathomOwn server + Ployz
50,000$0 (Hobby)$19$15$7
100,000$0 (Hobby)$19$15$7
500,000$20 (Pro)$49$45$7
1,000,000$20 (Pro)$69$60$7
5,000,000$140 (Pro)$129$140$7
10,000,000$200 (Business)$169$200$11

The own-server column is a Hetzner server with its IPv4 address; Ployz is free on it, custom domain included. Track three sites instead of one and Umami Cloud's free plan is gone ($20 from the first event), and Plausible moves to Growth: $29 at 50,000 page views, $104 at 1 million.

Plausible's Starter tiers go 10k, 100k, 200k, 500k, 1M, 2M, 5M and 10M page views, from $9 to $169 a month. Its docs say "your subscription tier is based on the total number of pageviews and custom events across all the sites in a team." An occasional spike costs nothing, but two months in a row over your tier and Plausible asks you to upgrade, then locks the dashboard (not the collection) if you don't (Plausible billing docs). Plausible can be self-hosted too, but its Community Edition needs ClickHouse next to Postgres, and the project recommends "at least 2 GB of RAM" for it (Plausible CE). Umami needs only Postgres, which is the main reason I'd pick it for a small server.

Fathom starts at $15 for 100,000 page views and $60 for a million, includes at least 50 sites on every tier, and says "each custom event counts towards your monthly pageview allowance" (Fathom pricing). There's no free plan.

Google Analytics is free and does far more for ad attribution, but in the EU and UK it needs a consent banner. Google's EU user consent policy requires consent for "the use of cookies or other local storage where legally required." When a visitor says no, consent mode sends cookieless pings and Analytics fills the gap with modeling, so your European numbers are partly estimates. In GA4's explorations and funnel reports, user-level data is kept for 2 or 14 months, and other event data for up to 14 months, or 50 months on Analytics 360 (GA data retention). Self-hosted Umami keeps whatever is in your Postgres for as long as you keep it.

What would your analytics cost?

Set your monthly page views, how many sites you track, and how many custom events (button clicks, signups, outbound links) you send per page view. Umami, Plausible and Fathom all count custom events toward your plan's limit, so they're in the total.

Billable events a month
1M
Umami Cloud plan
Pro
  • Umami Cloud$20/mo

    Hobby (1 site, 100K events), Pro ($20, 1M events, up to 20 sites) or Business ($200, 10M events), whichever is cheapest.

  • Plausible$69/mo

    Monthly billing. Starter for 1 site, Growth up to 3, Business up to 10. Yearly billing is 10x the monthly price.

  • Fathom$60/mo

    Monthly billing, at least 50 sites on every tier. Yearly gives 2 months free.

  • Google Analytics 4$0/mo

    Free. You pay with a consent banner in the EU and UK, and Google keeps the data.

  • Your own server + Ployz$7/mo

    Hetzner CX23 ($6.49) or CX33 ($9.99) past 5M events, $0.60 IPv4, when in stock. Any number of sites. $0 extra on a server you already have.

Prices checked 2026-12-03. Move the sliders to match your app.

How much does Umami Cloud cost?

Four plans, from the Umami pricing page:

PlanPriceEvents includedExtra eventsWebsitesData retention
Hobby$0100KNot available16 months
Pro$20/month1 million$0.00003 eachUp to 202 years
Business$200/month10 million$0.00002 eachUnlimited5 years
EnterpriseCustomCustomCustomUnlimitedCustom

Pro's extra events work out to $30 per million. Pro adds up to 10 team members, API and MCP access and email reports. Business adds session replays (5,000 included, then $0.005 each), heatmaps, white-labeling and a streaming API. Pro is billed monthly, with a 14-day free trial, and per the FAQ "your data collection will not be interrupted" if you go over.

Watch what counts as an event. The pricing FAQ says "each website pageview counts as one event", and so does every custom event, and "if you save event properties, each data property stored counts as one event." A signup event with three properties is four events.

Umami's FAQ also lists what Cloud has that self-hosting doesn't: "email reports and the streaming API". Everything else works the same on your own server.

Is Umami a good Google Analytics alternative?

For most indie sites, yes. Umami says you "can use Umami without needing to display a cookie consent banner," and it covers which pages people read and where they came from with one script tag.

What you give up by leaving GA:

  • Google Ads attribution and audiences. If you buy Google ads, GA is part of that stack. Umami isn't.
  • Large-scale exploration. GA's exploration reports go deeper than Umami's.
  • Zero hosting. GA and Umami Cloud run themselves. Self-hosted Umami is a service you keep updated.

Is Umami free to self-host?

Yes. Umami is open source under the MIT license (GitHub), with no paid tier for the self-hosted version. You pay for the server, and on a server that already runs your app it costs nothing extra.

ServerSpecsMonthly priceSource
Netcup VPS 5002 vCPU, 4 GB RAM, 64 GB SSD, traffic included€8.26 incl. VAT (12-month term)netcup VPS plans
Hetzner CX23 (Germany, Finland)2 vCPU, 4 GB RAM, 40 GB NVMe, 20 TB traffic$6.49 + $0.60 IPv4Cost-Optimized plans, IPv4 pricing
Hetzner CX33 (Germany, Finland)4 vCPU, 8 GB RAM, 80 GB NVMe, 20 TB traffic$9.99 + $0.60 IPv4Same

On 3 December 2026 Hetzner's Cost-Optimized page listed every CX size as "not available", so check stock before you plan on one. In the US, Netcup's Manassas datacenter costs about €1 more a month. My Hetzner pricing breakdown covers both of Hetzner's 2026 price rises, and the cheapest VPS compares more providers.

Umami doesn't publish hardware requirements. My estimate, not a benchmark: a 4 GB server is plenty for Umami plus Postgres at a few million events a month, because collecting a page view is one small write. I priced a CX33 past 5 million events to leave the database room to grow. The analytics script's traffic is also free on a server with 20 TB included.

What do you need to self-host Umami?

Two services: the Umami Docker image and Postgres 12.14 or newer. From Umami's own docs and repo:

  • Database: "PostgreSQL (minimum v12.14)" (install docs). The v3 release post says "Umami v3 no longer supports MySQL as a database option, only PostgreSQL," and links a migration guide for MySQL users. Older guides that show a MySQL image are out of date.
  • Image: the official docker-compose.yml uses ghcr.io/umami-software/umami:latest, and the install docs list docker.umami.is/umami-software/umami:latest. I'd pin a version, such as ghcr.io/umami-software/umami:3.5.1, the latest release as of 2 December 2026, so updates happen when you choose.
  • Variables: the environment variables page marks DATABASE_URL and APP_SECRET as required. APP_SECRET is "a random string used to secure authentication tokens," unique per install. Since v3.5.0 it must be set; older versions fell back to DATABASE_URL. TWO_FACTOR_ENCRYPTION_KEY is optional and turns on two-factor login.
  • Port and health: the app listens on 3000, and the compose file health-checks /api/heartbeat.
  • First login: the first start creates the tables and a user admin with password umami. Since v3.5.0, Umami makes you replace that password before you can continue.

How do I run Umami on my own server with Ployz?

The same two services work with plain Docker and Caddy; how to set up a VPS covers the server itself, and Docker hosting covers the plain-Docker route.

  1. Install Ployz on the server. Point it at a fresh Linux server you can SSH into as root. This installs Ployz and connects the server to Ployz Cloud, where the dashboard lives.

    ployz up --server root@your-server
  2. Add Postgres. In the dashboard, add the one-click Postgres preset. It runs Postgres 18, creates a database called ployz with the user postgres, and exports a DATABASE_URL that points at its private DNS name.

  3. Add Umami from its image. Add a service from the Docker image ghcr.io/umami-software/umami:3.5.1, listening on port 3000, and give it an HTTPS address. Add your own domain, like stats.example.com, if you want the script served from your domain. Umami keeps everything in Postgres, so it needs no volume.

  4. Set the variables. DATABASE_URL is a reference to the Postgres service's. Untick Sealed for it, since a sealed value can't hold a reference; the password inside stays hidden anyway. Seal APP_SECRET.

    DATABASE_URL=${{ postgres.DATABASE_URL }}
    APP_SECRET=<output of: openssl rand -hex 32>         # secret
  5. Add a health check on /api/heartbeat and deploy. Open the address, log in as admin / umami, set a new password when Umami asks, and add your website to get its tracking code.

Because Umami has no volume, its updates are zero-downtime deploys: the new version has to pass the health check before the old one stops. Postgres has a volume, so Ployz restarts it on deploy instead, and page views sent in those few seconds may not be recorded.

How do I add the Umami tracking script?

Paste one script tag into your site's <head>. You'll find it in Umami under your website's settings, in the Tracking code section. Add data-domains so page views from localhost and preview builds stay out of your numbers.

<script
  defer
  src="https://stats.example.com/script.js"
  data-website-id="your-website-id"
  data-domains="example.com"
></script>

The attributes are from Umami's tracker configuration docs. data-domains matches against window.location.hostname, so check whether your site uses www. data-do-not-track makes the script respect the browser's Do Not Track setting.

Some ad blockers block analytics scripts by name and path. TRACKER_SCRIPT_NAME renames script.js, and COLLECT_API_ENDPOINT moves the default /api/send endpoint (environment variables). Serving Umami from a subdomain of your own site also helps. No tool can promise every visitor is counted.

How do I back up a self-hosted Umami?

Everything Umami knows lives in Postgres, so backing up Postgres backs up Umami. With Ployz, Postgres gets a restore point, and you can move the database to a bigger server with seconds of downtime. More on running Postgres yourself in Postgres hosting.

Which should you pick?

Pick Umami Cloud if you track one site under 100,000 events a month, because Hobby is free. Pro at $20 is a fair price up to a few million events if you don't already run a server, or if you want email reports and someone else doing the updates.

Pick Plausible if you want a hosted tool and you're past about 5 million events, where its tiers undercut Umami Pro's per-event rate.

Pick Fathom if you have several small sites that add up to under 100,000 page views: $15 covers up to 50 of them, where Umami Cloud would need Pro at $20.

Pick your own server if you already rent one for your app, you track several sites, or you're past a million events. The cost is the server you already pay for, and it doesn't grow with your traffic. My PaaS pricing overview runs the same sums for hosting itself.

Where Ployz fits

I build Ployz, and one €80 dedicated server runs everything I have, analytics included. Analytics is one of the easiest things to move onto a server you already pay for. With Ployz it's the five steps above. Or paste Read ployz.dev/agents.md and deploy this repo to my server. into Claude Code, Codex or Cursor and let the agent do them.

Postgres is one click and comes with a restore point. Umami gets https on your own domain, like stats.example.com. Every deploy, restart or delete your agent asks for waits for you to approve. One Umami install tracks all your sites, and adding more doesn't change the bill. Ployz is free on any number of servers. Deploy to your own server.

FAQ

Is Umami really free?

Self-hosted Umami is free under the MIT license with no paid tier. Umami Cloud's Hobby plan is free for one site and 100,000 events a month.

Umami says you "can use Umami without needing to display a cookie consent banner," because it doesn't use cookies. Check your own legal situation for anything else on the page.

Does Umami still support MySQL?

No. Umami v3 supports only PostgreSQL, version 12.14 or newer. Umami links a migration guide for MySQL users.

How much RAM does self-hosted Umami need?

Umami doesn't publish requirements. My estimate is that a 4 GB server is plenty for Umami plus Postgres at a few million events a month.

What does self-hosted Umami not have?

Email reports and the streaming API, which Umami lists as Cloud-only. Everything else works the same.

How I checked

I checked every price on 3 December 2026 on each vendor's own pricing page, linked next to each number. Prices are in USD before tax unless marked. The Umami setup comes from Umami's install docs, environment variables page, v3 release post, GitHub releases and repo. I haven't load-tested Umami, so the RAM figure is an estimate.

Let your coding agent run Umami next to your apps on your own server with Ployz. Get started.

Run your apps and databases on your own servers with Ployz.

Deploy your app