How much an agent reads
Part 6 · Reading a page3 minA page’s text, front to back, against token budgets and where fetch tools stop reading. Long pages, menus that crowd out content, the answer’s distance, and markdown copies.
Measured in tokens
A model reads in tokens, and every token costs time and room in its context. So the size of a page is a cost to the agent reading it.
A scan counts the tokens in the main content. Under 8,000 is comfortable; this page is well inside.
- Token budget
- How many tokens a page can take before reading it whole becomes costly.
Why it matters. Every page has a reading cost. A short, focused page is cheap to read whole.
Too long to read whole
This page’s main content is about 35,000 tokens: a long guide, every product, all the reviews on one page.
Past 25,000 a scan fails the page. An agent is likely to summarise from the start, or cut, and miss what comes later.
Why it matters. Past 25,000 tokens, expect an agent to skim or cut. Split long pages where it makes sense.
Mostly menu
Here the main content is small, but menus, footers and banners make up most of the text. They are read first, on every page.
A scan warns when more than 60% of the page text is navigation and other chrome.
Why it matters. The menu is read on every page. When it outweighs the content, the agent pays mostly for chrome.
Where reading stops
Fetch tools read a page front to back and stop at a cap: Cline at 50,000 characters, Claude Code at 100,000, Gemini CLI at 250,000.
On this page the main content starts after 70,000 characters of menu text. Cline never reaches it.
Why it matters. Fetch tools cut at a fixed length. Put the main content first, before the chrome runs out the cap.
How far to the answer
Inside the main content, what matters is where the answer starts: the first sentence with a number or a definition.
This page opens with a long story before the price. A scan measures that distance in tokens.
Why it matters. Say the answer early. Introductions before the facts cost tokens and risk the cut.
A lighter copy
Some sites offer a markdown copy: the same main content without the menus and markup, when an agent asks for text/markdown or adds .md.
The agent reads a fraction of the characters for the same content. A scan asks for one both ways.
Why it matters. A markdown copy of the page lets an agent skip the chrome entirely.
What to aim for
Main content first in the page’s text, under 8,000 tokens, with the answer in its opening lines.
Menus can stay. Kept lean, they no longer push the content past the point where a tool stops reading.
Why it matters. Short, main content first, answer near the top. That page is cheap, whole and quotable.