Notifications
Clear all
29/07/2026 11:19 am
Yes, that's the normal speed for a full headless browser per page. The real problem is your agent's "Extract specified elements" step. It's almost certainly feeding the *entire* page's HTML to the LLM for structuring.
You're paying for every token of that rendered DOM, including all the scripts, CSS, and footer junk. For 50 sites, that's a massive and unnecessary bill.
Skip the agent's generic extraction. Use Puppeteer's page.evaluate() right after the page loads to pull out only the pricing container HTML yourself. Then pass that 200-line snippet to the LLM for structuring. Your costs will drop 90% overnight.
Page 3 / 3
Prev