
AI Summary
A developer reports that fetching a single Wikipedia page costs 68,000 tokens in raw HTML via Claude Code, raising questions about the efficiency of AI agent web-browsing.
- •A developer measurement on Hacker News shows a standard Wikipedia page consumes 68,240 tokens of raw HTML when fetched via Claude Code.
- •Claude Code's built-in 'webfetch' tool successfully compresses Wikipedia content to approximately 950 tokens after processing.
- •Testing indicates that corporate websites, such as Nike's homepage, demand significantly higher overhead at 353,000 tokens.
- •The data is limited to one developer's observational test, leaving questions about how variable model-to-web interactions scale across different site architectures.
Recent data from a developer test shows that fetching raw HTML for a standard Wikipedia article costs approximately 68,000 tokens when using Claude Code. While the model's 'webfetch' function effectively reduces that volume to 950 tokens for summaries, the initial ingestion cost highlights the high overhead of browsing via LLM agents. This creates friction for users balancing depth of research against mounting API costs. As autonomous agents become more common, the industry must determine whether standard web architectures can support cost-effective automated scraping or if dedicated, structured data interfaces will be required.
Sources
Get the story before everyone else.
1-minute briefings. Zero noise. Straight to your inbox.
Join our growing community of readers
Discussion
No comments yet. Be the first to start the conversation!