# Self-hosting an agent desktop: what a server really costs

*Kubi, cloud desktops for AI agents. https://trykubi.com/cost/vs-your-own-server, last changed 2026-11-12. The page as Markdown; the same facts as the page itself.*

**The short answer.** The machine is the cheap part. A 4 vCPU, 8 GB server is about EUR 30.49 a month at Hetzner or $48 at DigitalOcean, against $20 for a persistent Kubi screen of the same size. The cost that does not appear on the invoice is everything between a bare Linux box and a desktop an agent can actually drive, and then keeping it running.

Providers' prices read 2026-11-12, for a 4 vCPU and 8 GB machine, in US dollars before tax.

## The arithmetic

- **The machine.** Hetzner's CPX32 is EUR 30.49 a month excluding VAT with 160 GB of disk; DigitalOcean's 4 vCPU, 8 GiB Basic Droplet is $48. A persistent screen is $20 with 50 GB. Read on 2026-11-12.
- **What you build on top.** A desktop environment, a virtual display or VNC server, Chromium and Firefox with profiles that survive, a screenshot and input API, an accessibility-tree reader if you want elements rather than pixels, sign-in for whoever watches, snapshots to undo a bad step, and a way to start the tenth machine like the first.
- **What you keep doing.** Patching the desktop and the browsers, watching the disk, keeping the automation layer working across browser updates, and being the person who is paged when the agent's machine stops answering at 3 a.m.
- **Where it stays cheaper.** For short runs a server you create and delete from a script is cheap: about EUR 2.45 for 100 half-hour runs, against $1.75 on a disposable screen. If your scripts already do that, the gap is small enough that the build is the only real question.

## What the machine itself costs

Plain servers of about a screen's size, read 2026-11-12. None includes a desktop, a computer-use API or a live view.

| Server | Machine | A month | What it does not include |
|---|---|---|---|
| A Kubi screen | 4 vCPU, 8 GB, 50 GB | $20 | Nothing: the desktop, the API, the SDK, the MCP server and Take control are in it |
| Contabo Cloud VPS 4 | 4 vCPU, 8 GB, NVMe | EUR 5.50 (EUR 4.40 for the first 24 months) | A desktop, a display, the browsers, a screenshot and input API, sign-in, and the patching |
| Hetzner CX33 | 4 vCPU, 8 GB, 80 GB | EUR 8.49 (about $9.99) | A desktop, a display, the browsers, a screenshot and input API, sign-in, and the patching |
| Hetzner CPX32 | 4 AMD vCPU, 8 GB, 160 GB | EUR 30.49 (excluding VAT, Helsinki; EUR 35.99 in Nuremberg) | A desktop, a display, the browsers, a screenshot and input API, sign-in, and the patching |
| DigitalOcean Basic | 4 vCPU, 8 GiB, 160 GiB | $48 ($0.07143 an hour) | A desktop, a display, the browsers, a screenshot and input API, sign-in, and the patching |

## What moves the number

- Disk. Both servers checked carry 160 GB against a screen's 50 GB, which matters if your agent downloads for a living.
- Public ports. A server has its own address and open ports; a screen takes no inbound connections, so a public service belongs on a server.
- Your time. The only honest way to compare is to put a price on the hours, and nobody else can set that number for you.
- VAT and region. Hetzner's price excludes VAT and varies by location, and availability of a given size is not guaranteed.
- Scale. Ten servers is ten of everything to maintain; ten screens is one more line on an invoice.

## Questions people ask

### Is a cloud server cheaper than a managed agent desktop?

For the hardware, slightly: about EUR 30.49 at Hetzner or $48 at DigitalOcean against $20 for a persistent screen, and the server has more disk. For the whole job it depends entirely on what your time is worth, because the desktop, the computer-use API and the live view are yours to build.

### Can I just install a desktop and VNC myself?

Yes, and people do. Expect to add a window manager, a virtual display, browser profiles that persist, an input and screenshot layer, authentication in front of the VNC port, and updates for all of it. That is the part we sell.

### Does Kubi give me SSH?

No. A screen takes no inbound connections; commands, files and the desktop go through the API, and you have root inside it to install what you like. If you need SSH and open ports, a server is the right answer.

### Which is cheaper for a thousand short runs?

A script that creates and deletes servers is cheapest on the machine alone. On a disposable screen a thousand five-minute runs are $2.92, with nothing to build, which is usually the number that decides it.

## Read next

- [Pricing](https://trykubi.com/pricing)
- [Kubi compared](https://trykubi.com/compare)
- [Alternatives](https://trykubi.com/alternatives)
- [The cost of an agent that never stops](https://trykubi.com/cost/always-on-agent)
- [What a run costs, by the minute](https://trykubi.com/cost/computer-use-runs)
