Skip to main content

Posts

Featured

New ask Hacker News story: One Wikipedia page costs your AI agent 68,000 tokens

One Wikipedia page costs your AI agent 68,000 tokens 6 by arhamislam5766 | 1 comments on Hacker News. i use claude code daily and measured what pages cost it while doing research. an average wikipedia article, for instance, is 68,240 tokens of raw html (tiktoken); nike's homepage is 353,000. claude code's built-in webfetch handles the easy case well. it summarizes wikipedia to about 950 tokens and clears cloudflare on some sites like indeed and ticketmaster. but, and there's always a but, on js-rendered and some anti-bot pages it returns nothing. quotes.toscrape.com/js gives "no quotes found"; nike.com gives a 403. your agent then dumps the raw html back into context and still fails. (note: i have also had cases where i read through the chat at the end and saw that it failed and just pulled from either training data or stale caches from other sources) so i worked on building an open-source stealth browser (recompiled chromium) that runs as an mcp for claude cod...

Latest Posts

New ask Hacker News story: Ask HN: What data have the frontier AI companies not ingested yet?

New ask Hacker News story: Request for Senior Developer and Senior Cybersecurity

New ask Hacker News story: Ask HN: What was the last task where only a frontier model could do it?

New ask Hacker News story: Reality of Commercial AI World from a 16 Year Old's Perspective

New ask Hacker News story: Fable July 12th disclaimer disappears from Claude Code

New ask Hacker News story: Who has been caught out by this anti-pattern from Google?

New ask Hacker News story: Ask HN: Opinionated Agent Setup?

New ask Hacker News story: Nginx Vulnerabilities

New ask Hacker News story: Ask HN: What is your AI harness that lets you switch LLM models easily?

New ask Hacker News story: Tell HN: Fable 5 promotion extended through July 12, 2026 at 11:59:59 PM PT