Stop Sending Raw HTML to LLMs
This story is from 2026-09-16. It is preserved in the archive; the latest stories are on the live feed.
A scraper gives you a page as one HTML string: markup, inline styles, scripts, and somewhere inside it the text you wanted. Many pipelines send that string directly to an LLM. That works, so the cost rarely gets measured. But on the 10 pages I measured, the HTML used 3 to 24 times more tokens than…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-09-16 12:31 · DEV Community — AI
Stop Sending Raw HTML to LLMs