Browser Layer benchmarks: what we measured, and what we did not prove.
On ten fixture scenarios with Claude Code as the agent, Browser Layer used about a third fewer tokens and steps than agent-browser, and both passed all 30 runs.
Ten scenarios, two tools
Ten fixture sites: sign-in, a shop filter, to-dos, scrolling, load-more, waiting for a value, polling a status, a multi-step form, paginated search and a modal trap. Three runs each, 30 per tool, with Claude Code (Sonnet) as the agent, the same prompt and task for each tool, and a guard on every command. Only the browser CLI changed. Every answer was checked, and no run broke its guard.
- Runs passed: 30 of 30 for Browser Layer 0.1.4 and for agent-browser 0.41.0.
- Tokens: 5.80M against 8.80M.
- Steps: 127 against 196.
- Time: 7.3 minutes against 9.3.
- Cost: $2.51 against $3.28.
Against Browser Use
Browser Use writes Python against the browser; Browser Layer takes commands only. On 30 November 2026 we ran Claude Code (Haiku) on 14 tasks, five runs each, with Browser Layer 0.1.6 and Browser Use’s current CLI (harness 0.1.15), under the same checks and a command guard for each. Browser Layer passed 69 of 70 runs and Browser Use 70 of 70. Browser Layer used 4.06M tokens against 7.78M, 328 steps against 521, 21.3 minutes against 29.0 and $0.19 against $0.32. The guard refused 92 of Browser Use’s calls and 21 of ours, and a refused call counts as a step; without them the steps are 307 and 429.
On the ten scenarios above with Browser Use 1.0.0 and Claude Code on Sonnet, the two were level: 5.92M tokens against 5.80M, 121 steps against 127, $2.91 against $2.51.
On two long open-web tasks, a much smaller test on Browser Layer 0.1.5, the Browser Use CLI used fewer steps and tokens. Its script fetched many pages in one call, where our agent opened them one at a time. We have not repeated that run on the current versions.
Where it did not win
agent-browser was about even on the sign-in and status-polling scenarios. Browser Layer’s lead is biggest where a page has to be paged or scrolled: it took 5 steps on load-more against 9, and 8 on paginated search against 13. Each Claude Code step carries about 45k tokens, so the per-step prompt weighs more than in agents with lighter prompts.
What this does not show
The sites are small fixtures, not the open web, and the agent is one agent. Numbers are medians of three runs.
Other agents and models may give a different gap.
Method and raw data
Tasks, runner, raw data and method are in the repository under bench/, and the README holds the tables above. Rerun them with your own agent.
Questions
Who ran the benchmark?
The Browser Layer author, with the tasks, runner and raw data published in the repository so anyone can check or rerun it.
Why three runs per scenario?
Cost. It keeps individual numbers noisy, which is why we report medians and say where the two tools are about even.