For AI agents: the index of this site is https://dejo.run/llms.txt, and every page is also served as markdown (add .md to its address, or send Accept: text/markdown).

dejo

Browser agent token statistics (2026, measured)

BlogBy Rohit Kashyap

I build Dejo, so these are a tool maker's measurements, including of our own tool. Every number below links to the raw file it comes from, in the open-source dejo-mcp repo. Quote them with a link, and say who measured them.

Short version: in fresh Claude Code sessions on 19 real-website tasks, a browser task cost 409K tokens with Playwright MCP, 559K with Playwright CLI and 251K with Dejo the first time. Every turn re-sent about 39,700 tokens before any page was read. Once a task was learned, Dejo repeated it for 89K tokens, in a single tool call on 17 of 19 tasks.

Tokens per task

Claude Sonnet 5, medium effort, one brand-new Claude Code session per task and tool, October 2026. Source: benchmark-real-2026-10-21.json and the Dejo reruns beside it.

per task, 19 taskstokensbrowser callscostsecondsright answers
Playwright MCP409K6.5$0.2334017 of 19
Playwright CLI559K8.4$0.2763818 of 19
Dejo, first run251K4.7$0.1733119 of 19
Dejo, every run after89K1.2$0.0241619 of 19

Where the tokens go

From the same 19 Playwright MCP sessions:

So the cost follows the number of turns, not page size. The full breakdown is in why Playwright MCP uses so many tokens.

Ten runs of the same task

10 runs of one task, averaged over 19 taskstotal tokens
Playwright CLI5.6M
Playwright MCP4.1M
Dejo (learn once, then replay)1.1M

Runs 1 and 2 were measured; runs 3 to 10 repeat run 2's cost, because nothing changes for the tools without memory. Chart and method: the benchmark.

A new task on a site the agent already knows

Source: benchmark-site-memory-2026-11-10.json. Write-up: site memory.

Finding the right element, no model involved

Source: the reliability-*.json files and reliability.py in the benchmarks folder.

To turn these into money for your own model and volume, use the AI token cost calculator or the Claude Code cost calculator.

What these numbers are not

Related reading: why Playwright MCP uses so many tokens, site memory on a website the agent already knows and Playwright MCP vs Playwright CLI.

FAQ

How many tokens does a browser agent use per task?

In our test of 19 tasks on 11 real websites with Claude Code (Claude Sonnet 5), Playwright MCP averaged 409K tokens per task, Playwright CLI 559K and Dejo 251K on the first run. Once Dejo had learned a task, each repeat averaged 89K.

How much does a browser agent task cost?

The same runs reported an average of $0.233 per task with Playwright MCP, $0.276 with Playwright CLI and $0.173 for Dejo's first run. Dejo's repeat runs averaged $0.024.

Can I quote these numbers?

Yes. Please link this page or the raw data file named next to each number. They are our own measurements of our own tool and its alternatives, and the method is public, so say that when you quote them.