A two-track benchmark comparing browser-infrastructure and browser-agent providers: Track 1 measures raw infrastructure performance (connection, navigation, and full round-trip latency, concurrent-session behavior, and cost) across nine providers, each tested at a baseline tier (stealth off, or the plain browser where a provider has no stealth-off setting) and a full-stealth tier; Track 2 measures agentic task completion across six harnesses, each an autonomous-hosted product (the vendor's own model reasons internally).
The public methodology, scoring rules, and interpretation guidance live in METHODOLOGY.md.
This README is the operator reference for setup, commands, output, and scheduled execution.
Published results follow a one-file-per-month/per-region policy, described in
../official_results/README.md.
Track 1's stealth binary is measured against two versioned target sets in targets/: protected (real
pages behind seven named bot-defense products) and baseline (unprotected pages, for load metrics). none
pairs with baseline and full with protected by default; --targets overrides that so you can run the
control cell. Every target has a required containsText assertion, because a soft block returns HTTP 200
with a challenge page — so the headline number is bypassRate (reached real content), reported alongside
blockedRate and failureRate. See BUDGET.md before a full protected run: proxy bandwidth is
metered and not captured in the reported cost.
Navigation timing is measured client-side for every current provider. Browserless's full-stealth flow
navigates through BQL, but the benchmark times its BAP goto/solve calls from the client, including network
round trips, and reports navigationModel: 'client'. The 'provider' value marks a navigation time the provider reported
itself, which excludes the client's network path; no current adapter reports one, and analyze.ts flags files
that mix the two models. fullRoundTripMs (Mean RTT) is a wall-clock total measured independently
start-to-finish in both models, so it stays comparable across every provider.
Track 1's latency figures are client-to-provider round trips, so where a run measured from is part of the
result, not ambient context — two runs from different origins are not comparable and must not be pooled.
Set BENCHMARK_REGION (e.g. us-east) and it is recorded in the run's run_metadata and on every Track 1
row, so a downstream reader concatenating rows can't average two origins into one ranking by accident.
It's declared, never inferred: unset yields unknown rather than a geo-IP guess, run-infrastructure.ts
says so in its pre-flight, and analyze.ts prints a warning when a file spans origins.
The maintainers' scheduled Track 1 workflow (not included in the public repository) matrixes over region,
pairing each runner with its label so a row can't claim an origin different from where it ran. Note that GitHub-hosted runners cannot select a
region — ubuntu-latest lands somewhere in Azure that GitHub doesn't publish. Real multi-region measurement
therefore uses dedicated US West (us-west), US East (us-east), and EU West (eu-west)
self-hosted runners, each placed in and labeled for its declared origin.
The monthly workflow runs baseline measurements from all three origins, but runs the protected/full-stealth
matrix only from US West. This keeps the recurring regional comparison focused on client-to-provider speed
without tripling metered proxy and CAPTCHA usage. Use the workflow's manual coverage: full option for an
occasional three-region stealth validation.
Runner origin is not provider location. BROWSERBASE_REGION, HYPERBROWSER_REGION, KERNEL_REGION, and
STEEL_REGION optionally select provider-side browser compute regions supported by the pinned SDKs and
APIs; selected values are recorded as providerRegion on every applicable Track 1 row and in run metadata.
BROWSERLESS_WS_ENDPOINT selects a Browserless fleet and is recorded separately as an endpoint identity.
These controls do not change residential proxy geography, which is an independent dimension.
Every Track 2 run is projected against each provider's published monthly allocation before it starts, and
refuses to run on a projected breach (--allow-overage to override). See BUDGET.md for what a
run consumes, which plans it fits, and the provider concurrency ceilings that bound how wide a scheduled run
can shard.
Benchmark source is contained in this directory. Everything track-specific lives inside providers/
(Track 1) or harnesses/ (Track 2), and versioned inputs live in tasks/. The repository root owns the
single package and lockfile, ignored results/, canonical committed official_results/, and the website.
All commands run from the repository root.
browser-benchmark/
├── benchmark/ # runner source, inputs, pricing, docs, and unit tests
│ ├── providers/ # Track 1 adapters and utilities
│ ├── harnesses/ # Track 2 harnesses and utilities
│ ├── tasks/ # versioned input data for both tracks
│ ├── tests/ # benchmark unit tests
│ └── pricing.json # versioned benchmark pricing data
├── website/ # public static leaderboard
├── results/ # run output (gitignored)
├── official_results/ # canonical published snapshots (committed)
├── package.json # all benchmark and website commands
└── package-lock.json # the only lockfile
Every .ts source file has a one-line comment at the top stating what it does. Tests live under tests/,
mirroring the layout of the code they cover (tests/harnesses/judge.test.ts covers harnesses/judge.ts), and
run via npm test — Node's built-in test runner through tsx, no separate framework or config. They are unit
tests only: no test makes a live provider or LLM call, so npm test is safe to run without any API key and
costs nothing.
Both tracks are wired together the same way: a CLI entry point (run-infrastructure.ts / run-agentic.ts) reads
flags, loops over a fixed list assembled in providers/index.ts / harnesses/index.ts, calls a single shared
function per item (runSingleIteration / harness.runTask), and prints one JSON row per result — no shared
runtime state between providers or harnesses, so any one failing doesn't affect the others in the same run.
Track 2's task set (what's tested, source, ground truth) is documented in tasks/README.md.
Every Track 2 harness is autonomous-hosted: the vendor's own model reasons internally. Browserless
runs through its hosted agent (browserless-agent.ts, driven through Browserless's documented Agent Run API,
which is in beta; see METHODOLOGY.md's known limitations). Kernel has no autonomous-hosted product, so it
isn't part of Track 2.
A few Task/TaskResult fields (harnesses/types.ts) follow conventions that aren't obvious from the types
alone:
undefinedmeans "not measured", never a substitute0—stepsTakenand the token fields (llmInputTokens,llmOutputTokens, and their cache counterparts) are all optional for this reason. Several vendor APIs (Browserbase's Agents API, most autonomous-hosted SDKs) never expose a step count or token usage at all; reporting0there would misrepresent "we don't know" as "it took zero steps".llmCacheCreationInputTokens/llmCacheReadInputTokensare billed at different rates thanllmInputTokens(harnesses/llm-pricing.ts) — kept as separate fields rather than folded in, or a cache read would get costed as a full-price input token.errorType: 'bot-blocked'is part of the taxonomy but not yet emitted by any harness — no vendor's bot-detection signal has been mapped to it yet. Wire it up per-harness once a real bot-block response is confirmed, not guessed at.Task.groundTruthas an array means any one of several standard-correct variants counts (transliterated names, unit/format differences) — an agent isn't wrong for giving an equally valid rendering of the same fact that differs from the specific string a human happened to write down.Task.antibotrecords the actual vendor identified via response headers (server: AkamaiGHost, adatadomecookie, etc.), never guessed from a bare curl/fetch failure —undefinedmeans "not evaluated", not "confirmed unprotected".- Timeouts are fail-safe — Browserless, Browserbase, Notte, and Browser Use invoke their provider stop/close operation on abort; Firecrawl aborts its request. Anchor currently has no cancellation hook, so a timed-out Anchor shard stops immediately and does not start another paid task while the first may still run.
- A track2 results file is self-contained —
run_metadata'stasksfield embeds the resolved, filtered task set (Task[], respecting--task) the run actually used, so a trial row's baretask: "<id>"is resolvable without separately fetchingtasks/agentic-tasks.jsonat a matchingschema_version. totalTaskCostUsdcoverage — 3 of 6 harnesses, from each provider's own billing. A trial's total is the provider's whole charge for the task (providerTotalCostUsd) when one is known; otherwiserun-agentic.tsneeds a full pair, browser-session cost plus LLM token cost or plusagentStepCostUsd, and never reports half of one.- Reported by the provider — Browser Use Cloud returns each session's
totalCostUsd(model, browser time and proxy). Firecrawl returns thecreditsUsedby each agent job (kept asproviderCreditsUsed), priced atpricing.json'strack2_credit_pricing(Hobby's per-credit rate); its agent is in preview, and the five free runs a day report 0 credits. - Computed from published rates — Browserless bills its hosted agent for browser time only, so session cost
is its whole charge. It is timed from acceptance to the terminal poll, plus one 30-second unit for browser
startup and teardown, which Browserless bills beyond the run's own timestamps. The run's own
unitsfield comes from model tokens and is informational, not billed. - Browser time only, total unknown — Anchor Browser, Browserbase and Notte report no per-run charge.
browserSessionCostUsdis estimated from the task's elapsed time (Anchor), the run'staskDuration(Browserbase) or the closed session'sduration(Notte) at each published rate. Anchor's tiered AI-step fee, Browserbase's plan-bundled agent runs and Notte's pass-through model tokens aren't reported per run, so these harnesses' totals stay undefined.
- Reported by the provider — Browser Use Cloud returns each session's
Harness aggregates expose costCoverageRate; total-cost averages, cost per successful task, and cost efficiency
remain absent unless every trial has complete cost. Task.shape and the 15-task default-core policy are documented
in tasks/README.md.
git clone https://github.com/browserless/browser-benchmark.git
cd browser-benchmarkRequires Node.js 26 and npm 12.0.2. Root .nvmrc selects the Node major for local use, CI, and Netlify; package.json#packageManager pins npm. The project tests Node 26 only, not a consumer compatibility matrix.
nvm install "$(cat .nvmrc)"
nvm use "$(cat .nvmrc)"
npm install --global "$(node -p "require('./package.json').packageManager")"
npm cicp .env.example .envThen open .env and fill in keys for whichever providers you want to test — you don't need all of them.
Both entry points check each provider/harness's required keys before running it and print a SKIP line
for anything missing, rather than failing the whole run.
| Env var | Needed for | Sign up at |
|---|---|---|
HYPERBROWSER_API_KEY |
Track 1 (Hyperbrowser) only | hyperbrowser.ai |
HYPERBROWSER_REGION |
Optional Hyperbrowser browser compute region; defaults to provider selection | — |
BROWSERLESS_API_KEY |
Track 1 (Browserless) + Track 2 (its own hosted agent) | browserless.io |
BROWSERLESS_WS_ENDPOINT |
Optional base endpoint for Browserless in both tracks; defaults to SFO | — |
ANCHORBROWSER_API_KEY |
Track 1 (Anchor Browser) + Track 2 (its own Agent SDK) | anchorbrowser.io |
BROWSERBASE_API_KEY, BROWSERBASE_PROJECT_ID |
Track 1 (Browserbase) + Track 2 (Agents API) | browserbase.com |
BROWSERBASE_REGION |
Optional Browserbase browser compute region; defaults to provider selection | — |
STEEL_API_KEY |
Track 1 (Steel) only — no Track 2 product | steel.dev |
STEEL_REGION |
Optional Steel browser datacenter; defaults to nearest-to-caller selection | — |
KERNEL_API_KEY |
Track 1 (Kernel) only | kernel.sh |
KERNEL_REGION |
Optional Kernel browser compute region (plan-gated); API defaults to us-east | — |
NOTTE_API_KEY |
Track 1 (Notte) + Track 2 (its own Agent SDK) | notte.cc |
BROWSER_USE_API_KEY |
Track 1 (Browser Use Cloud) + Track 2 (its own agent) | cloud.browser-use.com |
DRIVER_API_KEY |
Track 1 (Driver) only — no Track 2 product | driver.dev |
FIRECRAWL_API_KEY |
Track 2 only (Firecrawl Agent) | firecrawl.dev |
BROWSERLESS_WS_ENDPOINT is a base URL: the benchmark appends its CDP, BrowserQL, or CLI-agent path.
For Browserless's Amsterdam shared fleet, set it in .env to
wss://production-ams.browserless.io. A trailing slash is accepted. Leaving it unset, empty, or
whitespace-only preserves the current wss://production-sfo.browserless.io default. BENCHMARK_REGION is
separate: it labels the benchmark runner's actual origin and does not select a Browserless fleet. Only
encrypted wss: endpoints are accepted. A base path and query parameters are preserved; base query values
take precedence over benchmark-added values with the same name.
BROWSERBASE_REGION accepts us-west-2, us-east-1, eu-central-1, or ap-southeast-1.
HYPERBROWSER_REGION accepts us-central, asia-south, us-dev, europe-west, us-west, or us-east.
KERNEL_REGION accepts us-east, eu-west, or ap-southeast — Kernel gates region selection behind its
Start-Up and Enterprise plans and defaults to us-east when unset. STEEL_REGION accepts iad
(US only); unset lets Steel pick the datacenter nearest the caller, so an unpinned Steel destination
silently follows the runner origin. All are validated before any paid session opens. Unset or blank
preserves the provider's default selection. Driver has no compute-region setting: DRIVER_COUNTRY takes a
two-letter country code, and Driver places the session's machine and ISP egress in that country. The
scheduled workflow sets us from US West and US East and nl from EU West; unset keeps Driver's default (US).
# Full matrix: 9 providers x both stealth tiers x both concurrency levels
npm run benchmark:infrastructure
# One Browserless smoke session
npm run benchmark:infrastructure -- --provider browserless --stealth none --concurrency 1 --target wikipedia-web-browser --n 1
# Browserless only, using BROWSERLESS_WS_ENDPOINT
npm run benchmark:infrastructure -- --provider browserless
# Only the simultaneous-session condition
npm run benchmark:infrastructure -- --concurrency 5Add --target-health-preflight to check selected targets before provider sessions start. This optional,
provider-neutral check makes one direct HTTP fetch per distinct target (10-second timeout, including the
body; reads at most 2 MiB of decompressed body data). It uses the existing case-insensitive content assertion
without JavaScript or provider credentials. Text beyond the body limit remains unverified.
Missing text warns of possible assertion drift, a block page, or client-rendered content; HTTP errors and
fetch failures are inconclusive. Even an HTTP 200 does not prove the page is unblocked. No warning removes
a target or changes scoring. Inspect questionable targets manually before interpreting provider results.
The run_metadata.targetHealth array records outcomes, HTTP status when available, and whether a redirect
occurred; response bodies and redirect URLs are not saved. Omit the flag to preserve the existing run path.
npm run benchmark:agentic # all 7 harnesses, 15 core tasks, 1 trial each
npm run benchmark:agentic -- --harness browserless-agent # Browserless only
npm run benchmark:agentic -- --harness notte-agent # a single harness
npm run benchmark:agentic -- --trials 2 # only after checking plan allocations
RUN_ID="local-smoke-$(date -u +%Y%m%dT%H%M%SZ)"
npm run benchmark:agentic -- --task-shard 0/2 --run-id "$RUN_ID"Each run writes every row to a file under results/, and also prints one JSON row per result to stdout when stdout is redirected or piped (on a terminal the rows are left out, so they don't bury the progress bars)
(gitignored — this is run output, not source) — the path is printed to stderr when the run starts. The
first line of that file is always a run_metadata header: timestamp, git commit, Node version, and
whichever config-version fields are relevant to that track (pricingSchemaVersion/targetUrl for Track 1,
taskSetSchemaVersion/trialsPerTask for Track 2) — so a stored run can always answer "what produced this
number," not just "what the number was." Browserless runs also record the normalized fleet endpoint without
credentials, query parameters, or fragments. A sharded Track 2 run records its runId, shard index/count,
and the full pre-shard task-id list; --run-id is therefore required whenever --task-shard is used. The
caller must generate one unique ID per logical run and share it only among that run's sibling shards. The
scheduled workflow uses GitHub's stable run_id, including when failed jobs are retried.
npm run benchmark:analyze -- results/track1-2026-07-28T12-00-00-000Z.jsonlReads a results file and renders a comparison table — never calls a provider or harness, so re-analyzing costs nothing and never re-spends API budget.
npm run typecheck # no provider keys needed
npm test # no provider keys needed — unit tests only, no live API callsThe maintainers run the monthly paid Track 1 and Track 2 benchmarks, and a manual one-task-per-provider Track 2
smoke test, from scheduled workflows that hold the provider credentials and self-hosted runners. Those workflows
are not included in the public repository. Scheduled paid runs stay disabled until the maintainers enable them,
manual runs are started deliberately by a maintainer, and results reach official_results/ only through a reviewed
publication step.
The Track 2 matrix is 6 harnesses × 2 task-batches = 12 jobs. Same-provider shards share a workflow concurrency group, so they cannot overlap; separate providers can still run independently. The 15-task core and default one trial consumes exactly Browserbase Developer's 15 included runs. A higher trial count is rejected by the budget preflight unless the operator upgrades the plan or deliberately allows overage.
Because each shard only runs part of the task set, no single shard's own aggregate: 'harness'/'shape'
row reflects that harness's whole task set. A final merge-and-publish job therefore downloads every shard
and runs merge-and-publish-track2.ts. For every harness represented by an input, the merger first requires
one run id, schema version, commit, region, trial count, task definition, and complete shard/task/trial grid;
the workflow matrix detects a wholly absent harness. It then recomputes task, harness, and shape rows from
trial rows alone (track2-merge.ts). Supplied shard aggregates are never trusted. The clean merger checkout
must match the validated producer commit before it writes one combined track2-*.jsonl and publishes it via
publish-results.ts, so official_results/manifest.json and latest.json get exactly one entry per monthly
run (latest.json.track2 points at "the August run", not at whichever shard published last).
The benchmark methodology and interpretation guidance live in METHODOLOGY.md. Exact task
provenance and ground truth remain in tasks/README.md.