The hosting comparison put Browser Run in the "already on Workers, or only need one-shot output" box. This post takes it apart. In April 2026 it was renamed from Browser Rendering and gained a CDP endpoint, Live View, human handoff, and recordings, with the concurrency limit raised from 30 to 120 (200 on the Paid plan today).
This post answers: when one REST call is enough and when you need a browser session; what running it inside Workers buys you, and where the limits are.
Two ways to use it
Quick Actions bill browser hours only; Browser Sessions add a fee by concurrent browsers. Guardrails, outboundByHost, Live View, and recording exist only on sessions.
Quick Actions: one request, one output
Quick Actions are a set of REST endpoints: Browser Run opens a browser, loads the page, runs its JavaScript, and returns one kind of result:
| Endpoint | Returns |
|---|---|
/content | The full HTML after JavaScript runs |
/screenshot, /pdf | A screenshot, a PDF |
/markdown | The page as Markdown |
/snapshot | Several formats at once (at least two) |
/accessibilityTree | The accessibility tree |
/scrape, /links | Content of chosen elements, every link on the page |
/json | Structured data extracted by a model from a prompt or JSON schema |
/crawl | A crawl of a whole site from one URL, asynchronously |
curl -X POST "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/browser-run/markdown" \
-H "Authorization: Bearer $API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'
Inside a Worker you skip the API token and call the binding: await env.BROWSER.quickAction("content", { url }) (the Worker's compatibility date, which pins the Workers runtime version, must be 2026-03-24 or later; /crawl is REST only).
Details worth knowing:
/jsondefaults to Llama 3.3 70B on Workers AI, billed separately as Workers AI usage; you can list your own models and keys incustom_ai, with several models as fallbacks./crawlis an asynchronous job. You get a job id back and then query results or subscribe to events; it crawls up to 100,000 pages over up to 7 days, and results are kept for 14 days. It honors robots.txt andcrawl-delay, its User-Agent is fixed atCloudflareBrowserRenderingCrawler/1.0, and if a site's Content Signals (its declared allowed uses, such as search or AI training) reject your declared purposes, the request gets a 400.render: false(no JavaScript) isn't billed during the beta.- You can pass login details. Cookies, HTTP Basic auth, and custom headers all work, but only to load a page; there's no clicking or multi-step interaction.
- Billing is browser hours only, requests that fail with
waitForTimeoutaren't charged, and results are cached for 5 seconds by default.
If you just need some representation of a page, or a crawl of a site that allows crawling, Quick Actions are enough.
Browser Sessions: interaction and kept state
To click, fill forms, or keep a login across requests, you open a session. Three ways to connect:
- Cloudflare's forks inside a Worker.
@cloudflare/puppeteer(2.0, based on Puppeteer 25.10) and@cloudflare/playwright(1.4, based on Playwright 1.62) are modified to connect to Browser Run. The Puppeteer fork's docs say XPath selectors aren't supported inside a Worker andpage.evaluate()returns only primitive types; the Playwright fork doesn't support Firefox, Playwright Test (beyond assertions), or video recording, and the docs say that list isn't exhaustive. - The binding directly inside a Worker. Since September 2026 the binding has methods like
acquire(),connectSession(), andgetLiveView(), so you can send CDP without any fork. - CDP from anywhere. Since April 2026 there's an external CDP endpoint reachable from your laptop, your own servers, or CI; with Playwright, plain
playwright-coreplusconnectOverCDPand an Authorization header is all it takes, no fork needed. CDP scripts already running against self-hosted Chrome move over by changing one connection URL.
Sessions get closed
By default a session closes after 60 seconds idle, extendable with keep_alive to at most 20 minutes. That's idle time: as long as something keeps happening there's no total lifetime cap, but sessions also close when Browser Run ships a new release. A new browser has none of the previous run's cookies.
The common pattern is reusing sessions: several requests connect to the same browser, each in its own browser context; or a Durable Object (a long-lived, stateful object in Workers) holds the session, keeps it alive with an alarm, and stores login state in KV, Workers' key-value store. Reuse skips the cold start: in a third-party test on example.com, a new browser had a median of 997 ms and a reused one 242 ms (by Gologin, which sells a competing product).
Features that exist only on sessions
- Live View and human handoff. Open a URL to see the browser and step in if needed; a script can send
Cloudflare.handoffto ask a person for help and wait forCloudflare.handoffCompletebefore continuing. A Live View URL carries a signature, so anyone with the full URL can connect (you can also generate read-only links); don't leak it. - Recording.
recording: truecaptures DOM changes and input events for replay with rrweb. - Guardrails. Restrict a session's HTTP and HTTPS requests to allowed hostnames (up to 50 listed directly, plus predefined domain sets); the policy is fixed for the session's lifetime, and neither Quick Actions nor Kitesurf supports it.
- outboundByHost. Route the browser's requests for chosen hostnames to your own Worker, to reach an internal service or add authentication. It works for
http://only; HTTPS requests don't go through it.
Why only Stagehand v2.5 works inside a Worker
This closes a thread the series opened in the Stagehand v4 post. From the official docs:
Browser Run currently supports
@browserbasehq/stagehandv2.5.xonly. Stagehandv3and later are not supported because they are not Playwright-based.
Using Stagehand inside a Worker relies on swapping playwright for the @cloudflare/playwright fork, which handles how Workers connect. Stagehand v2 was built on Playwright, so that worked; from v3, Stagehand writes its own CDP layer (why is in the driver post), and swapping Playwright no longer helps. Stagehand's issues pin down the specifics: v3 connects to CDP with Node's ws package, which Workers doesn't support (#1381); after 3.2 it also uses AsyncLocalStorage.enterWith(), which Workers deliberately doesn't implement (#2055). The Stagehand maintainers replied that they'd rather Workers support ws than change the library; as of November 2026, the PR fixing #2055 hasn't been merged and Cloudflare's docs mention no v3 support.
The docs' restriction is about integration inside a Worker. Whether running v3 or later in Node outside a Worker and connecting through the CDP endpoint is supported, the docs don't say.
For coding agents, Cloudflare has a fork of Playwright MCP, currently synced to upstream 0.0.30 and far behind upstream; you can also point Google's chrome-devtools-mcp at the CDP endpoint with --wsEndpoint (setup).
Always a bot
Browser Run doesn't hide. Every request carries identifying headers that can't be removed, including Web Bot Auth signatures (Signature-agent, Signature); the FAQ states "Browser Run requests are always identified as bot traffic by Cloudflare", and the /crawl docs state it doesn't bypass CAPTCHA or Turnstile (Cloudflare's own human check). Requests come from Cloudflare's IP ranges with no IP rotation, and in a third-party test setting a proxy on a browser context was rejected.
That directly decides where it's usable: your own sites, partner sites, and sites that already allow bots. A common criticism on Hacker News is that in practice it only crawls sites that already let you crawl; that's accurate, and it's simply the design. Even allowlisting Browser Run on your own site, the FAQ says, requires an Enterprise plan to write rules against the Bot Management fields.
Pricing and limits
From the limits page and pricing page as of November 2026:
| Workers Free | Workers Paid | |
|---|---|---|
| Browser hours | 10 minutes a day | 10 hours a month, then $0.09 an hour |
| Concurrent browsers (sessions only) | 3 | 200; $2 per browser above an average of 10 |
| New browsers | 1 every 20 seconds | 3 per second |
| Quick Actions requests | 1 every 10 seconds | 30 per second |
/crawl | 5 jobs a day, up to 100 pages each | — |
The concurrency fee is based on the monthly average of your daily peak concurrency. The Kitesurf engine is currently in beta and free, with per-account limits; details are in the Kitesurf post.
Local development differs too: under wrangler dev, /json returns placeholder data shaped like your schema because Workers AI isn't available locally; test in a remote environment before going live.
Which to use when
- You need a page's HTML, screenshot, PDF, Markdown, or JSON extraction: Quick Actions, one request.
- You need to crawl a whole site that allows crawling:
/crawl. It only follows links and has no click or scroll parameters, so sites that load content behind a "show more" button need a session. - You need logins, multi-step work, or a person to step in: Browser Sessions, reusing the session through a Durable Object and keeping login state in KV.
- You already have Puppeteer or Playwright scripts running elsewhere: the external CDP endpoint, changing one connection URL.
- You need Stagehand v3 or v4, or Firefox: not inside a Worker.
- You need to get into protected sites, use proxies, or change IPs: Browser Run isn't a fit; see the hosting comparison.
Going deeper
Besides the default Chromium, Browser Run has an engine Cloudflare wrote itself, Kitesurf: not Chromium, far lighter on resources, but able to do less. Its architecture and trade-offs are the subject of the series' final post, Kitesurf.
References
- Cloudflare blog: Browser Run for AI agents
- Cloudflare Browser Run documentation
- Browser Run: Quick Actions
- Browser Run: /json endpoint
- Browser Run: /crawl endpoint
- Browser Run: Puppeteer
- Browser Run: Playwright
- Browser Run: CDP
- Browser Run: Reuse sessions
- Browser Run: Browser Run with Durable Objects
- Browser Run: Live View
- Browser Run: Human in the Loop
- Browser Run: Guardrails
- Browser Run: Outbound Workers
- Browser Run: Stagehand
- Browser Run: Playwright MCP
- Browser Run: FAQ
- Browser Run: Limits
- Browser Run: Pricing
- browserbase/stagehand issue #1381
- browserbase/stagehand issue #2055
- Gologin: Cloudflare Browser Rendering review
- Browser Run: Browser binding API
- Browser Run: MCP clients
- Hacker News: Cloudflare crawl endpoint discussion