Jump to the pages
VMForAI.com

Desktops and virtual machines for computer-use agents: Linux displays, VNC viewing, Windows VMs, screen size and DPI, input, recording and sizing.

Resource sizing for a desktop agent: memory, processors, disk and screenshots

The gist

Size a desktop agent's machine from the operating system's published minimum, then add its applications, a browser and capture. The table lists minimums for Windows 11 VMs, Ubuntu Desktop and Debian; two worked grids give an example hourly cost per size and a screenshot's raw size.

Words: / Out / Fixed up / 2 min

Data as of

Published minimum memory and disk for desktop operating systems an agent may use
Operating system and settingMemory (GB)Disk (GB)Processor, as statedWhere fromSeen
Windows 11, virtual machine464Two or more virtual processorslearn.microsoft.com/en-us/windows/whats-new/windows-11-requirements
Ubuntu Desktop 26.04.1 LTS6252 GHz dual-core processor or betterubuntu.com/download/desktop
Debian with desktop, minimum110Not given in the requirements tablewww.debian.org/releases/stable/amd64/ch03s04.en.html
Debian with desktop, recommended210Not given in the requirements tablewww.debian.org/releases/stable/amd64/ch03s04.en.html
Example: running cost per hour of a desktop's size at 0.0504 USD per vCPU-hour and 0.0162 USD per GiB-hour, the list rates of Promigence, Daytona and E2B (Cost per hour, USD)
Memory (GiB)
vCPUs4681632
20.16560.19800.23040.36000.6192
40.26640.29880.33120.46080.7200
80.46800.50040.53280.66240.9216

The sum: vcpus * vcpu_rate + gib * gib_rate, where vcpu_rate = 0.0504; gib_rate = 0.0162.

Uncompressed size of one 24-bit screenshot (worked out, an example) (Raw screenshot size, MiB)
Screen width (px)
Screen height (px)1,2801,3661,920
7202.642.813.96
7682.813.004.22
1,0243.754.005.63
1,0803.964.225.93

The sum: width * height * bytes_per_pixel / mib, where bytes_per_pixel = 3; mib = 1,048,576.

How do I size a desktop agent's machine?

Start from the operating system's published minimum, then add what the agent runs on it. The table above lists those minimums as their publishers state them, read on 2026-11-26. They cover the operating system only.

  1. Memory. Take the minimum from the table, then add the task's applications. A browser on the desktop usually needs the most.
  2. Shared memory. In a container, raise /dev/shm. Docker uses 64 MB when --shm-size is left out (Docker run reference, read 2026-11-26).
  3. Processors. Windows 11 VMs need "Two or more virtual processors" (Windows 11 requirements, read 2026-11-26). Add processors for screen recording and for applications that compile, render or run a browser.
  4. Disk. The table's figures are for the system. Add the task files, the browser's cache, recordings and screenshots kept for debugging.
  5. Limits. Set a memory and processor limit per desktop, so one runaway task cannot starve its neighbours. Docker's --memory sets the memory limit (its stated minimum is 6M) and --cpus the number of CPUs (Docker run reference).

Then check the size by running real tasks and reading peak memory and processor use, not by trusting the minimum.

How much memory do screenshots and recordings take?

A screenshot takes width times height times 3 bytes uncompressed at 24-bit colour, which the second grid works out per screen size. It is an example calculation, not a measurement: the stored PNG is far smaller, but the agent's harness holds the raw image in memory while it resizes and encodes it, and keeps several when it sends a history of screens to the model.

Recording adds an encoder process. Plan a processor for it at high frame rates; recording an agent's desktop session covers frame rates and file sizes.

What does a size cost per hour of running time?

A size's running cost is its vCPUs times the vCPU rate plus its memory times the memory rate. Promigence, used here as a worked example, lists $0.0504 per vCPU-hour plus $0.0162 per GiB-hour, metered per second (Promigence FAQ, read 2026-11-26), and Daytona and E2B list the same two rates, billed per second (Daytona and E2B pricing pages, read 2026-11-26), so the first grid's sums are the same at all three. With those rates, the Ubuntu Desktop minimum of 2 vCPUs and 6 GB, counted as 6 GiB, comes to $0.198 per hour, and the first grid does the same sum for other sizes.

Two cautions before you use the grid. Providers sell sizes in steps of their own, so round your desktop up to the nearest size your provider offers and price that size. And providers bill processors in different units, some per vCPU, some per physical core, some on the processor time actually used, so redo the sum with your own provider's published rates and unit.

Sources

Method

Each row was read on the checked date from the operating system's own requirements page, with memory and disk in GB and the processor wording as published; these are minimums for the operating system alone.

Grab the data: CSV + JSON

Asked

How much memory does a Windows 11 agent VM need?

Microsoft lists 4 GB or more for a Windows 11 virtual machine, with two or more virtual processors and 64 GB or more of disk. That is the floor for Windows alone; the agent's applications come on top.

How much memory does a Linux desktop for an agent need?

It depends on the desktop. Ubuntu Desktop 26.04.1 LTS lists 6 GB, while Debian's installation guide gives 1 GB minimum and 2 GB recommended with a desktop. A bare Xvfb display with a light window manager is lighter than a full desktop environment, but a browser on it is not.

Why does a browser crash in my agent's desktop container?

Often because /dev/shm is too small. Docker gives a container 64 MB of shared memory when --shm-size is left out, and browsers use shared memory between their processes. Raise it, for example to 1 GB.

How big is one screenshot?

Uncompressed, width times height times 3 bytes at 24-bit colour. A 1920x1080 screen is about 5.93 MiB raw. PNG compression makes the stored file much smaller, but the raw size is what sits in memory while the image is processed.