Where do an agent's tokens go?
Every page an agent reads goes into the model's context, and you pay for each token of it. The Wikipedia article "Web browser" is 73,964 tokens as text; the passages that answer "when was the first browser made?" are 1,493. A research agent that reads ten such pages per question spends almost all of its budget on reading, before it writes a word.
Browser agents are worse, because they read the page again on every step. Over 3 real browser tasks, sending the page as HTML on every step came to 2,096,615 tokens.
1. Send passages, not pages
Split the page into passages, rank them against the question and send the best ones. A ranker such as BM25 does this in code, in under a millisecond, with no model. On 8 long pages this sent 10,325 tokens instead of 187,718 (94.5% fewer), and the model read a median of 12.1% of each page. On a test set of 28 questions with a known answer, the answer was in what the model received for all 28.
2. Send only what changed
Agents that check the same pages every day should not read them again. Keep the last copy, compare, and send the difference. The second check of 3 pricing pages sent 12 tokens instead of 9,071 (99.9% fewer), because nothing had changed but a line.
3. Give browser agents a view, not the HTML
A browser agent needs to know what is on the page and what it can click, not the markup. A ranked list of the interactive elements and headings, with only the changes on the next step, sent 107,850 tokens over the same 3 tasks (19× fewer). Against Playwright MCP on 10 tasks, it was 10.3× fewer tokens, and both finished all 10.
4. Use code for sites you know
When the site is a known kind (a job board, a store, a review page, a filings database), code can return the rows directly, and the model reads a table instead of a page. On 3 pricing pages, the rows were 1,229 tokens against 9,071 for the pages (86.5% fewer), and the extraction itself used 0 model tokens.
5. Search results as sentences
A search tool that returns ten full pages is the most expensive call an agent makes. Reduce the results to the sentences that answer, with their sources: one researched question came to 1,854 tokens instead of 13,573 (86.3% fewer).
6. Remember what you already read
Save what an agent reads once and search it later, instead of fetching the same pages again. A question answered from 3 saved pages sent 523 tokens instead of 9,071 (94.2% fewer).
Which technique saves the most?
| Technique | Measured saving | Best for |
|---|---|---|
| Passages, not pages | 94.5% on 8 long pages | Questions about a page or a PDF |
| Only what changed | 99.9% on a repeat check | Monitoring prices, docs, competitors |
| A view, not the HTML | 19× over 3 tasks | Agents that click and type |
| Code for known sites | 86.5% on 3 pricing pages | Jobs, stores, reviews, filings |
| Sentences from search | 86.3% for one question | Research across sources |
| Memory | 94.2% for one question | Questions about pages read before |
What should you not cut?
Reading less does not change what the model writes or how long it reasons. When a question needs the whole document (a summary of everything, a translation), ask for the full text as clean markdown: smaller than HTML, but not 94.5% smaller. Short pages have little to cut, so expect single-digit savings on them.
How do you measure your own saving?
Count the tokens of the full source and of what you sent, with the same tokenizer, on every call, and log both. CrawlGenie does this on every call and adds it up per day, per person and per connector; the calculator turns it into money at your model's price.