Skip to main content

Home › All stories

What is a cloud browser, and how is one priced?

The short answerA cloud browser is a web browser that runs on a remote server, controlled over the network by a person or a program. For AI agents it is usually headless Chromium in an isolated session, driven over the Chrome DevTools Protocol and billed by session time or by the compute it uses.

By · Published · Updated · 7 min read

A cloud browser is a web browser that runs on a server somewhere else and is controlled over the network. Nothing renders on your own machine. A person sees a stream of the page, or a program sends commands and reads results back.

What are the two kinds of cloud browser?

There are two kinds of cloud browser, and they solve different problems.

  1. Remote browser isolation. A security product. Staff browse normally, but each page runs on a remote machine and only safe output, such as pixels or a cleaned page, reaches the laptop. The goal is to keep malicious pages away from company devices.
  2. Programmable remote browsers. A developer product. Code or an AI agent starts a browser session on a server, connects to it and drives it. The goal is to run many real browsers without managing them yourself.

This article is about the second kind, the one AI agents use.

How does a cloud browser work for an AI agent?

A cloud browser for an AI agent works by exposing a remote browser's control protocol over the network.

  1. The agent asks for a new session.
  2. A server starts a fresh, isolated browser, usually headless Chromium, and returns a connection address.
  3. The agent's code connects with a normal automation library.
  4. The agent drives the browser for the task, then ends the session, and the environment is deleted.

The connection uses one of two protocols:

  • The Chrome DevTools Protocol (CDP). Chromium exposes it with the --remote-debugging-port switch, which "Enables remote debug over HTTP on the specified port" (Chromium content switches, read 2026-11-24). Playwright's connectOverCDP "attaches Playwright to an existing browser instance using the Chrome DevTools Protocol", and Puppeteer's connect "attaches Puppeteer to an existing browser instance" (Playwright BrowserType, Puppeteer connect, read 2026-11-24).
  • The Playwright protocol. A server started with launchServer is reached with browserType.connect. Playwright notes that a CDP connection "is significantly lower fidelity than the Playwright protocol connection via browserType.connect()" (Playwright BrowserType, read 2026-11-24).

A third option is in progress: WebDriver BiDi, "a mechanism for remote control of user agents" published by the W3C Browser Testing and Tools Working Group, still a Working Draft (WebDriver BiDi, read 2026-11-24).

What does a cloud browser session include?

A cloud browser session usually includes the browser plus the services around it that an agent needs:

Table: Common parts of a cloud browser session

PartWhat it does
Isolated browserA fresh profile in its own container or virtual machine
Connection endpointA CDP or Playwright address, protected by a token
Live viewA stream a person can watch, and sometimes take over
RecordingA trace, video or DOM replay of the session
Saved login stateCookies and storage loaded at start so the agent is already signed in
Network settingsA proxy, an allow-list of sites, or both
File transferUploads into the session and downloads out of it
TimeoutsAn idle limit and a maximum session length

Should I use a cloud browser or run Chromium myself?

Use a cloud browser when you want many isolated sessions without running the machines; run Chromium yourself when your load is steady and you can operate the containers.

Table: Self-hosted browsers compared with a cloud browser

Self-hosted ChromiumCloud browser
SetupYou build images, handle shared memory, the sandbox and updatesConnect to an endpoint
IsolationYou design it: one container or virtual machine per sessionProvided per session
Cost shapeMachines cost money whether busy or idlePay per session time or per resource used
ScalingYou add and remove machinesThe service starts sessions on demand
Data locationStays in your networkPages and credentials pass through the provider

The last row matters for agents that log in to private systems. If the session must stay inside your network, self-host, or choose a service that can run in your environment.

If you self-host, start with our guide to running Chromium in Docker for an AI agent.

How is a cloud browser priced?

Cloud browsers are priced in one of three ways: per browser-hour, per unit of compute, or per request.

  1. Per browser-hour. You pay for the time a session is open, whatever it does. Metering is usually per minute or per second, and some plans have a minimum charge per session. This is simple to predict for agents whose sessions have a known length.
  2. Per compute used. You pay for the CPU and memory the session holds, by the second, the same way many sandbox and serverless platforms bill. A light page costs less than a heavy one if you size sessions to match. As one published example of this model, Promigence, a sandbox platform in which you run the browser yourself, meters per second at $0.0504 per vCPU-hour plus $0.0162 per GiB-hour (its FAQ, read 2026-11-26). The same FAQ says a run is priced before it starts "as if every sandbox ran for its whole timeout", that a run quoted over the --cap you set "is refused before anything starts", and that paused time is not invoiced; its errors page adds that an environment failure "is not billed before the sandbox reaches you". Other providers publish rates of the same kind, read 2026-11-26: AWS lists the Amazon Bedrock AgentCore Browser at $0.0895 per vCPU-hour and $0.00945 per GB-hour, billed per second on the CPU actually used and on peak memory (AgentCore pricing); Google Cloud bills its Gemini Enterprise Agent Platform Computer Use sandboxes, isolated browser environments an agent can drive over CDP, at $0.085 per vCPU-hour and $0.009 per GiB-hour (Agent Platform pricing, Computer Use); and Daytona ($0.0504/h per vCPU and $0.0162/h per GiB), E2B ($0.000014/s per vCPU and $0.0000045/s per GiB) and Modal ($0.00003942 per physical core per second and $0.00000667 per GiB per second) list per-second rates for general sandboxes, in which you run the browser yourself (Daytona pricing, E2B pricing, Modal pricing).
  3. Per request or per task. You pay a fixed amount per page fetched or task run. This suits simple fetches more than long agent sessions.

Many plans add charges or limits for concurrency (how many sessions can be open at once), proxy bandwidth, stored recordings and captcha handling.

How do I estimate what my agent will cost?

You estimate cost from four numbers: sessions per day, minutes per session, the size of each session, and the billing unit.

  1. Measure the median and the slowest 5% of session lengths from real runs. Agent sessions vary widely because each step waits for a model.
  2. Note whether the agent leaves sessions open while it thinks. Under browser-hour pricing, idle time costs the same as busy time.
  3. For per-second compute pricing, multiply vCPUs by hours by the vCPU rate, and memory in GiB by hours by the memory rate, then add the two.
  4. Add a margin for retries. A session that times out and is restarted is paid for twice.
  5. Check for a per-session minimum. With very short sessions, a one-minute minimum can double the bill.

For example, at $0.0504 per vCPU-hour and $0.0162 per GiB-hour, a 2 vCPU, 4 GiB session open for 6 minutes (0.1 hours) comes to 2 × 0.1 × $0.0504 plus 4 × 0.1 × $0.0162, which is about $0.0166. One thousand such sessions are about $16.56 of compute, before any other charges.

What should I check before giving an agent a cloud browser?

Check five things before an agent uses a cloud browser in production.

  1. Isolation. Each session gets a new profile and its own environment, separate from every other customer's sessions.
  2. Credentials. Logins are injected by code, not typed by the model, and are not kept in recordings or logs.
  3. Network control. You can restrict which sites the browser can reach.
  4. Recording and retention. You can see what the agent did, and you know how long recordings are kept.
  5. Endpoint security. The connection address is protected by a token that expires. Chrome's team reports "an increase in attackers using Chrome Remote Debugging to extract cookies" (Chrome remote debugging changes, read 2026-11-24), so treat the address like a password.

What we read for this article

Frequently asked

What is a cloud browser used for?

Two things share the name. Security teams use remote browser isolation so risky pages never run on staff laptops. Developers and AI agents use remote, programmable browsers for automation, testing and browsing tasks that need a real browser.

How does an agent connect to a cloud browser?

Usually over a WebSocket to the browser's Chrome DevTools Protocol endpoint, or to a Playwright browser server. Puppeteer uses puppeteer.connect and Playwright uses connectOverCDP or browserType.connect.

Is a cloud browser cheaper than running Chromium myself?

It depends on how busy your browsers are. Self-hosting is cheapest when machines stay full; a metered service is cheaper when use is spiky, because you stop paying when sessions end.

What is browser-hour pricing?

A price per hour of open browser session, usually metered per minute or per second, sometimes with a minimum per session. It does not depend on how much CPU or memory the session used.